/* Optimierte CSS-Datei mit Safari-Unterstützung */
:root {
  --primary-color: #007bff;
  --primary-light: #e6f0ff;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
}

/* Allgemeine Optimierungen */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  padding-top: 70px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* === Responsive Typography === */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.25rem; }
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar .container {
  padding: 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

.navbar-collapse {
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
}

.navbar-nav {
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.nav-item {
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 0;
  }
}

/* === Hero-Bereich === */
.hero {
  position: relative;
  height: 600px;
  background: -webkit-linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/webp/hero.webp') center/cover no-repeat;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/webp/hero.webp') center/cover no-repeat;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 0;
}

/* Hero-Section für Bootsseiten */
.hero-section {
  position: relative;
  height: 250px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* Spezifische Hero-Bilder für Bootsseiten */
.hero-section.four-winns {
  background: url('../img/webp/four-winns.webp') center/cover no-repeat;
}

.hero-section.mastercraft-surfboot {
  background: url('../img/webp/mastercraft.webp') center/cover no-repeat !important;
}

.hero-section.bavaria-28-sport {
  background: url('../img/webp/bavaria28_2.webp') center/cover no-repeat;
}

.hero-section.tenderboot {
  background: url('../img/webp/tenderboot8ps.webp') center/cover no-repeat !important;
}

.hero-section.pg-v175 {
  background: url('../img/webp/pgv175.webp') center/cover no-repeat !important;
}

.hero-section.lifestyle-780-tender {
  background: url('../img/webp/lifestyle780.webp') center/cover no-repeat;
}

.hero-section.kontakt {
  background: url('../img/webp/bojenbild.webp') center/cover no-repeat;
}

.hero-section.lifestyle-650 {
  background: url('../img/webp/lifestyle650.webp') center/cover no-repeat;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero-section {
    height: 200px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 30px;
  max-height: 120px;
  will-change: transform;
}

.hero-content {
  text-align: center;
  padding-top: 2rem;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 150px;
  }
  
  .hero-content {
    padding-top: 100px;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
}

/* === Über uns === */
#ueberuns {
  background-color: #f8f9fa;
}

#ueberuns img {
  max-width: 100%;
  height: auto;
}

#ueberuns ul li {
  margin-bottom: 0.5rem;
}

/* === Footer === */
footer {
  background: #1a1a1a;
}

footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* === Karten (Cards) Styling === */
/* Allgemeine Einstellungen für Karten (Boote und Angebote) */
.offer-card {
  border-radius: 1rem;
  -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.boat-card {
  border-radius: 1rem;
  -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  -webkit-box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.offer-card:hover {
  -webkit-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  transform: translateY(-8px);
  -webkit-box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.boat-card:hover {
  -webkit-transform: translateY(-12px);
  -ms-transform: translateY(-12px);
  transform: translateY(-12px);
  -webkit-box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.offer-card .card-img-top,
.boat-card .card-img-top {
  height: 280px;
  -webkit-object-fit: cover;
  object-fit: cover;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.offer-card:hover .card-img-top,
.boat-card:hover .card-img-top {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.offer-card .card-body,
.boat-card .card-body {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.offer-card .card-title,
.boat-card .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
}

.offer-card .card-title::after,
.boat-card .card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.offer-card:hover .card-title::after,
.boat-card:hover .card-title::after {
  width: 60px;
}

.offer-card .card-text,
.boat-card .card-text {
  color: var(--secondary-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.offer-card .btn-outline-primary,
.boat-card .btn-outline-primary {
  border-width: 2px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.offer-card:hover .btn-outline-primary,
.boat-card:hover .btn-outline-primary {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.offer-card .btn-outline-primary:hover,
.boat-card .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive Anpassungen für die Karten */
@media (max-width: 768px) {
  .offer-card,
  .boat-card {
    margin-bottom: 2rem;
  }
  
  .offer-card .card-img-top,
  .boat-card .card-img-top {
    height: 220px;
  }
  
  .offer-card .card-title,
  .boat-card .card-title {
    font-size: 1.2rem;
  }
  
  .offer-card .card-text,
  .boat-card .card-text {
    font-size: 0.9rem;
  }
}

/* === Preistabelle === */
.price-table {
  margin-bottom: 2rem;
}

.price-table th,
.price-table td {
  padding: 1rem;
  vertical-align: middle;
}

.price-table .price {
  font-weight: 600;
  color: #007bff;
}

@media (max-width: 768px) {
  .price-table th,
  .price-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .price-table small {
    font-size: 0.75rem;
  }
}

/* === Buchungsformular === */
.booking-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.form-section {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.invalid-feedback {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* === Modal === */
.modal-content {
  border: none;
  border-radius: 0.5rem;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Scroll-to-Top Button */
#scrollToTop {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  will-change: transform;
  opacity: 0.8;
}

#scrollToTop:hover {
  opacity: 1;
  transform: translateY(-5px);
}

/* Cookie Banner */
#cookieBanner {
  z-index: 1000;
  transition: opacity 0.3s ease;
  background: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(5px);
}

/* Performance Optimierungen */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Druckoptimierungen */
@media print {
  .hero, .navbar, footer, #scrollToTop, #cookieBanner {
    display: none !important;
  }
  
  body {
    color: black;
  }
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons i {
  font-size: 1.2rem;
}

/* === Überschriften mit Unterstreichung === */
h1.position-relative {
  display: inline-block;
  text-align: center;
  width: auto;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--primary-light);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Logo in der Navigation */
.navbar-logo {
  height: 50px;
  width: auto;
  margin-right: 6rem;
  margin-left: -2rem;
}

/* Card Hover Effekt für Boote - Entfernt, da bereits oben definiert */

/* === Four Winns Seite === */
.text-primary {
  color: #1a56db !important;
}

/* === Features Section === */
.features-section {
  padding: 5rem 0;
  background-color: white;
}

/* Feature Card Styles sind bereits oben definiert */

/* Kalender Styles */
.fc {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px !important;
}

.fc .fc-toolbar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.fc .fc-button {
    background: #3498db;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fc .fc-button:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background: #2c3e50;
}

.fc .fc-daygrid-day {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fc .fc-daygrid-day:hover {
    background: #f8f9fa;
}

.fc .fc-day-today {
    background: #e3f2fd !important;
}

.fc .fc-daygrid-day-number {
    padding: 8px;
    font-weight: 500;
}

.fc .fc-event {
    border-radius: 6px;
    padding: 4px 8px;
    margin: 2px 0;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fc .fc-event.booked {
    background: #3498db;
    color: white;
}

.fc .fc-event.maintenance {
    background: #e74c3c;
    color: white;
}

.fc .fc-event.blocked {
    background: #2ecc71;
    color: white;
}

/* Mobile Optimierungen */
@media screen and (max-width: 768px) {
    .fc {
        padding: 10px;
    }

    .fc .fc-toolbar {
        padding: 10px;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2rem;
    }

    .fc .fc-daygrid-event {
        margin: 1px 2px;
        padding: 4px;
        min-height: 24px;
        font-size: 12px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .fc .fc-daygrid-day-events {
        min-height: 24px;
    }

    .fc .fc-event-title {
        font-weight: bold !important;
        overflow: visible !important;
        white-space: normal !important;
        display: block !important;
    }

    .fc .fc-daygrid-event-harness {
        margin: 2px 0;
    }

    .fc .fc-daygrid-more-link {
        font-size: 12px;
        font-weight: bold;
        color: #3498db;
        background: rgba(52, 152, 219, 0.1);
        padding: 2px 4px;
        border-radius: 4px;
        margin-top: 2px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 60px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 14px;
        padding: 4px;
    }
}

/* Admin Panel Styling */
.admin-panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-panel h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.booking-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.booking-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-form button:hover {
    background: #2980b9;
}

.booking-form button:last-child {
    background: #e74c3c;
}

.booking-form button:last-child:hover {
    background: #c0392b;
}

/* Modal Styling */
.modal-dialog {
    max-width: 400px;
    margin: 1.75rem auto;
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}

/* Spezifische Regel für blaue Modal-Header */
.modal-header.bg-primary {
    background-color: #007bff !important;
    color: white !important;
    border-bottom: none !important;
}

.modal-header.bg-primary .modal-title {
    color: white !important;
}

.modal-header.bg-primary .btn-close {
    filter: invert(1) brightness(100);
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.modal-body {
    padding: 1.5rem;
    background-color: white;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: flex-start;
}

.modal-body strong {
    flex: 0 0 80px;
    color: #6c757d;
    font-weight: 500;
}

.modal-body span {
    flex: 1;
    padding-left: 10px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.modal-footer .btn {
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    border-radius: 6px;
    flex: 1;
}

.modal-footer .btn-secondary {
    background-color: #e9ecef;
    border: none;
    color: #2c3e50;
}

.modal-footer .btn-danger {
    background-color: #dc3545;
    border: none;
}

.modal-footer .btn-secondary:hover {
    background-color: #dee2e6;
}

.modal-footer .btn-danger:hover {
    background-color: #c82333;
}

/* Verbesserte Modal-Sichtbarkeit */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show .modal-dialog {
    transform: none;
    opacity: 1;
}

/* === Lightbox Styles === */
.cursor-pointer {
    cursor: pointer;
}

.object-fit-cover {
    object-fit: cover;
}

.modal-dialog.lightbox {
    max-width: 100vw;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content.lightbox {
    background: transparent;
    border: none;
    width: 100%;
    height: 100%;
}

.modal-body.lightbox {
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
}

#lightboxImage {
    max-height: 100vh;
    max-width: 100vw;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.lightbox .carousel-control-prev,
.lightbox .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox .carousel-control-prev {
    left: 20px;
}

.lightbox .carousel-control-next {
    right: 20px;
}

.lightbox .carousel-control-prev-icon,
.lightbox .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.lightbox .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: white;
    border-radius: 50%;
    padding: 8px;
    opacity: 0.8;
}

.lightbox .btn-close:hover {
    opacity: 1;
}

/* Hero Sections für Bootsseiten */
.hero-section.mastercraft-surfboot {
    background-image: url('../img/webp/mastercraft.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-section.tenderboot {
    background-image: url('../img/webp/tenderboot8ps.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-section.pg-v175 {
    background-image: url('../img/webp/pgv175.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

/* Boot Details Styles */
.boat-details-list,
.boat-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boat-details-list li,
.boat-features-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.boat-details-list i,
.boat-features-list i {
    width: 25px;
    margin-right: 10px;
    color: #0d6efd;
}

/* Gallery Styles */
.gallery-section img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card Image Container */
.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
  
  
  
  