.features {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #2c3e50;
}

.feature {
  background: #ecf0f1;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.platz {
  background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #2ecc71;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.platz img {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Optional: Styling für Textbereich */
.platz > div {
    flex: 1;
    min-width: 200px;
}

.karte-overlay {
  border: 1px solid #ccc;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 1rem;
}

body { font-family: Arial, sans-serif; padding: 2rem; background: #f4f4f4; }
h1 { color: #2c3e50; }
#suchfeld, #bundesland-filter {
  padding: 0.5rem; margin: 0.5rem 0 1rem 0; width: 100%; max-width: 400px;
}

.platz {
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #2ecc71;
  border-radius: 5px;
}

.platz a { color: #2980b9; text-decoration: none; }

.platz a:hover { text-decoration: underline; }

.header-container {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 0 0 10px 10px; /* nur unten abgerundet */
  overflow: hidden;
}

.headerbild {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  background: rgba(255, 99, 71, 0.8);
  padding: 1rem 2rem;
  border-radius: 8px;
}

.header-text h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

.header-titel {
    margin: 0;
    font-size: 2rem;
    color: white;
}

.header-text p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.seitenfuss {
  margin-top: 3rem;
  padding: 1.5rem 1rem;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #ccc;
}

.seitenfuss p {
  font-size: 0.9rem;
  color: #555;
}

.footer-nav {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  margin: 0 0.8rem;
  color: #444;
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* Top-Navigation */
.top-nav {
  background: #2a2a2a;
  color: white;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: white; /* Immer weiß */
  text-decoration: none; /* Verhindert Unterstreichung */
}

.nav-logo:hover {
  color: #cccccc; /* Beim Drüberfahren vielleicht leichtes Hellgrau */
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
#menu-toggle {
  display: none;
}

#platzanzahl-gefiltert {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#platzanzahl-gefiltert.visible {
  opacity: 1;
}

.content-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.kontakt-daten {
  margin-bottom: 2rem;
}

.kontakt-formular {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-gruppe {
  display: flex;
  flex-direction: column;
}

.form-gruppe label {
  margin-bottom: 0.3rem; /* Kleiner Abstand zwischen Label und Eingabefeld */
  font-weight: bold;
}

.kontakt-formular label {
  font-weight: bold;
}

.kontakt-formular input,
.kontakt-formular textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.kontakt-formular textarea {
  resize: vertical; /* Benutzer kann das Textfeld größer ziehen */
}

.kontakt-formular button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #45a049;
}

.galerie-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.galerie-container img {
  transition: transform 0.3s ease;
}
.galerie-container img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.lightbox-button {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

#prev-button {
  left: 20px;
}

#next-button {
  right: 20px;
}

.lightbox-button:hover {
  color: #ccc;
}

#karten-buttons {
  display: none; /* standardmäßig versteckt */
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

#karten-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  background-color: #4CAF50;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

#karten-buttons button:hover {
  background-color: #45a049;
}

.info-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f7f7f7;
  border-radius: 10px;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.info-block h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #2a2a2a;
}

.info-block a {
  color: #0077cc;
  text-decoration: none;
}

.info-block a:hover {
  text-decoration: underline;
}

.info-block strong {
  color: #006400; /* Dunkelgrün oder eine passende Akzentfarbe */
}

.beliebte-suchen {
  margin-top: 3rem;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.beliebte-suchen h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.beliebte-suchen p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.such-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.such-link {
  display: block;
  padding: 1rem;
  background-color: #f3f3f3;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid #ddd;
}

.such-link:hover {
  background-color: #e0f7fa;
  color: #00796b;
}

.wappen-icon {
  width: 1em;
  height: auto;
  vertical-align: text-bottom; /* Passt das Wappen zur Textlinie an */
}
  
/* 1. Standard: Eingeklappter Zustand */
.bundesland-text-collapsed {
    /* Die sichtbare Höhe des Texts */
    max-height: 180px; 
    overflow: hidden;
    position: relative; /* Wichtig für den Masken-Effekt */
    
    /* Optionale Animation (smoother Übergang) */
    transition: max-height 0.4s ease-out;
}

/* 2. Maske: Macht den Übergang weicher und signalisiert, dass mehr kommt */
.bundesland-text-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Erstellt einen transparenten Verlauf, der den Text unten "ausblendet" */
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* 3. Ausgeklappter Zustand */
.bundesland-text-expanded {
    max-height: 5000px; /* Sehr große Höhe, damit der Text immer passt */
    transition: max-height 0.6s ease-in;
}

/* 4. Maske entfernen, wenn der Text ausgeklappt ist */
.bundesland-text-expanded::after {
    display: none;
}

/* Button-Styling (optional) */
#read-more-button {
    display: block;
    margin: 10px 0 20px 0;
    padding: 8px 15px;
    background-color: #3f681a; /* Beispiel: Ihre Markenfarbe */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
  .platz {
	flex-direction: column;
	align-items: center;
	text-align: center;
  }

  .platz img {
	width: 100%;
	max-width: 100%;
	height: auto;
  }

	  .platz > div {
	width: 100%;
  }

  .headerbild {
	height: 200px;
  }

  .header-text {
	padding: 0.5rem 1rem;
  }

  .header-text h1 {
	font-size: 1.4rem;
  }

  .header-text p {
	font-size: 1rem;
  }

  .nav-links {
	display: none;
	flex-direction: column;
	background: #2a2a2a;
	position: absolute;
	top: 3.5rem;
	left: 0;
	right: 0;
	text-align: center;
	padding: 1rem 0;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
	display: flex;
  }

  .hamburger {
	display: block;
  }

  .seitenfuss p {
    font-size: 1.125rem; /* etwas größer für bessere Lesbarkeit */
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-nav a {
    display: block;
    padding: 0.4rem 0;
    font-size: 1.125rem; /* auch die Links vergrößern, falls nötig */
    line-height: 1.6;
  }

  .info-block {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .info-block h2 {
    font-size: 1.3rem;
  }
}
