﻿/* CSS fÃ¼r das Dropdown */
.custom-btn {
  background-color: #0d83fd; 
  color: #fff; 
  border-color: #1a7be4;
  }
.custom-btn:hover {
  background-color: #0b5ed7; 
  color: #fff; 
  border-color: #0a58ca;
}

@media (max-width: 768px) {
  .footer-top .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Desktop: bleibt wie es ist (Dropdown klappt links auf) */
#loginWrapper {
  position: relative;
}

/* Mobile: Button links â†’ Dropdown nach rechts aufklappen */
@media (max-width: 575.98px) {
  #loginBox {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
}

#searchDropdown,
#locationDropdown {
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.accent-text {
  color: white;
  font-size: 2.5rem;
  font-weight: 400;
  text-shadow: 1px 1px 5px rgba(9, 18, 143, 0.7); /* Schattierung fÃ¼r bessere Lesbarkeit */
  border-radius: 5px;
  padding: 0.2em 0.4em;
  display: inline-block;
}

.accent-text strong {
  font-weight: 700; /* macht "uns" fett */
}

#resultsRow .card,
#partnersRow .card  {
  height: 100%; /* alle Karten gleich hoch */
}

.card-img-top {
  width: 100%;
  aspect-ratio: 3 / 2; /* immer gleiches SeitenverhÃ¤ltnis (wie 500x333) */
  object-fit: cover;   /* Bilder fÃ¼llen den Rahmen aus */
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;

  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  font-size: 0.95rem;
  color: #333;
  z-index: 9999;

  display: none; /* JS entfernt diese Regel */
}

.cookie-banner.show {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #0d6efd;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner .btn {
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 6px;
}

/* Buttons nebeneinander */
.cookie-banner .actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Kleiner Fade-In Effekt */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* --- Dashboard Navbar Styles --- */
.navbar.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.navbar.navbar-dark .navbar-nav .nav-link:hover,
.navbar.navbar-dark .navbar-nav .nav-link:focus {
  color: #4e4e4e;
}

.navbar-primary {
  background-color: #0d83fd !important;
}

/* Stronger blue on the left side of the hero background (overrides main.css) */
.hero {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent-color), transparent 70%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 82%) 40%,
    transparent 80%
  ) !important;
}
.hero::before {
  background: radial-gradient(
    circle at 85% 15%,
    color-mix(in srgb, var(--accent-color), transparent 88%),
    transparent 40%
  ) !important;
}

/* Partner/Kontakt Sektionen ohne Standard-Section-Background */
#partnersSection.section,
#contactSection.section,
#partnerSection.section {
  background-color: transparent;
}


#partnersSection > .container,
#contactSection > .container,
#partnerSection > .container {
  background-color: var(--bs-body-bg, #fff);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem 2.5rem;
}

@media (max-width: 767.98px) {
  #partnersSection > .container,
  #contactSection > .container,
  #partnerSection > .container {
    padding: 1.5rem 1.5rem;
  }
}



.availability-row .btn {
  white-space: nowrap;
}



/* Dashboard reservation notifications */
.notification-bell {
  position: relative;
  color: #fff;
  padding: 0;
}

.notification-bell .bi {
  pointer-events: none;
}

.notification-bell .badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(45%, -35%);
  font-size: 0.7rem;
  padding: 0.25rem 0.4rem;
}

.notification-dropdown {
  width: min(22rem, 90vw);
  max-height: 24rem;
  overflow-y: auto;
}

.notification-dropdown .notification-item {
  font-size: 0.9rem;
}

.notification-dropdown .notification-item .btn {
  font-size: 0.8rem;
}
