* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #a7c7e7; /* Pastelliges Blau */
  color: #2b5d9f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1,
header .logo img {
  height: 50px;
}

.logo img {
  height: 50px;
}

.auth-links a {
  color: #2b5d9f;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Allgemeine Layout-Anpassungen */
main {
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Fahrrad-Liste */
.bike-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

/* Fahrrad-Karten */
.bike-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.bike-card img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.bike-info {
  margin-top: 20px;
}

.bike-info h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2b5d9f;
}

.bike-info .price {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0;
}

.status {
  font-weight: bold;
  font-size: 1rem;
}

.status.available {
  color: #28a745;
}

.status.unavailable {
  color: #dc3545;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f4f7fa;
}

footer a {
  color: #2b5d9f;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  main {
    padding: 20px;
  }

  .bike-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Bestseller-Sektion */
.bestseller-section {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.bestseller-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.bestsellers {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bike-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.bike-card:hover {
  transform: scale(1.03);
}

.bike-card img {
  max-width: 100%;
  border-radius: 8px;
}

.bike-info span {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

/* Buchungsbox (Allgemein) */
.booking-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}

/* Buchungsformular speziell */
.bike-form {
  max-width: 400px;
}

.booking-box input,
.booking-box select,
.booking-box textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.booking-box button {
  background-color: #a7c7e7;
  color: #2b5d9f;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.booking-box button:hover {
  background-color: #8bb6dd;
}

/* Tabellen-Stil in Buchungsboxen */
.booking-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.booking-box th,
.booking-box td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.booking-box th {
  background-color: #f0f4f8;
  color: #2b5d9f;
  font-weight: 600;
}

.booking-box tr:hover {
  background-color: #f9fbfc;
}

/* Bildgrößen */
.intro-right .bike-image img,
.product-left .bike-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Bereich für Aktuelle Buchungen und Aktionen */
.booking-management {
  display: flex;
  flex-direction: row;
  gap: 40px; /* Abstand zwischen den Boxen */
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px; /* Sicherstellen, dass der Bereich nach oben hin genug Abstand hat */
}

/* Einzelne Boxen nebeneinander */
.booking-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px; /* Abstand nach unten */
  margin-top: 40px; /* Sicherstellen, dass es einen Abstand von oben gibt */
}

/* Allgemein für das Layout */
main {
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.booking-box h2 {
  color: #2b5d9f;
  margin-bottom: 15px;
}

.booking-box p {
  color: #555;
  font-size: 1rem;
}
main h2 {
  font-size: 1.6rem;
  color: #2b5d9f;
  margin: 40px 0 20px;
  text-align: center;
  width: 100%;
}

