/* Technik & Camping Grid */
.technik-grid,
.camping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .technik-grid,
  .camping-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .technik-grid,
  .camping-grid {
    grid-template-columns: 1fr;
  }
}

/* Fahrzeug- und Bildreihen */
.fahrzeug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 30px;
  padding: 0 20px;
  background-color: #f8f8f8; /* Optional: dezenter Hintergrund */
  border-radius: 6px;
}

.fahrzeug-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.bildreihe-wrapper {
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

/* 📸 Bildreihe Desktop */
.bildreihe {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* zwei gleich breite Spalten */
  max-width: 850px;                      /* Gesamtbreite begrenzen */
  gap: 16px;                             /* Abstand zwischen den Bildern */
  margin: 0 auto;                        /* Grid zentrieren */
  box-sizing: border-box;
  padding: 0 20px;
}

/* 📱 Mobilansicht */
@media (max-width: 600px) {
  .bildreihe {
    grid-template-columns: 1fr;          /* nur eine Spalte → Bilder untereinander */
    gap: 12px;                           /* etwas kleinerer Abstand */
    padding: 0 8px;
  }

  .bildreihe figure {
    width: 100%;                         /* volle Breite nutzen */
    margin: 0;                           /* keine zusätzlichen Abstände */
  }

  .bildreihe img {
    width: 100%;                         /* Bild passt sich an */
    height: auto;                        /* Seitenverhältnis bleibt erhalten */
    object-fit: contain;
    display: block;
  }
}


/* Galerie */
.gallery {
  padding: 20px;
  background-color: #f9f9f9;
}

.gallery h2 {
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

/* Fahrzeugkarten */
.fahrzeug-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.fahrzeug-card:hover {
  transform: translateY(-5px);
}

.fahrzeug-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.fahrzeug-card h4 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  color: #2d6a4f;
  font-family: 'Segoe UI', sans-serif;
}

.fahrzeug-card a {
  display: block;
  margin-bottom: 16px;
  color: #0077cc;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}

.fahrzeug-card a:hover {
  text-decoration: underline;
}


/* Reiseübersicht – Grid */
.reise-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* Einzelne Reise-Kachel */
.kachel {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 16px;
}

.kachel:hover {
  transform: translateY(-5px);
}

/* Reisebild */
.kachel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 10px 10px 0 0;
  margin-bottom: 12px;
}

/* Reise-Titel */
.kachel span {
  display: block;
  font-size: 1rem;
  color: #020202;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 0 14px;
  line-height: 1.4;
}

