
.top-nav {
  background-color: #2d6a4f;
  padding: 10px;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.shrink {
  padding: 6px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

.logo {
  width: clamp(60px, 20vw, 100px);
  height: auto;
  display: block;
  margin: 10px auto;
  border: none;
  box-shadow: none;
}

.top-nav.shrink .logo {
  width: clamp(50px, 10vw, 80px);
}

/* Menü */
.menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

.menu li {
  position: relative;
}

.menu li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.menu li a {
  color: #f5f5f5;
  text-decoration: none;
  padding: 8px 16px;
  display: block;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu li a:hover {
  background-color: #40916c;
  color: #fff;
}

/* Hamburger-Menü */
.menu-button-container {
  display: none;
  cursor: pointer;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #f5f5f5;
  height: 4px;
  width: 25px;
  border-radius: 2px;
  position: relative;
}

.menu-button::before,
.menu-button::after {
  content: '';
  position: absolute;
}

.menu-button::before {
  top: -8px;
}

.menu-button::after {
  top: 8px;
}

#menu-toggle {
  display: none;
}

/* Mobilmenü */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #2d6a4f;
    width: 100%;
  }

  .menu li a {
    padding: 12px 16px;
    font-size: 1rem;
    border-top: 1px solid #95d5b2;
  }

  .menu-button-container {
    display: block;
    z-index: 10;
  }

  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .nav-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.lightbox-img {
  width: auto;
  max-width: 400px;   /* Desktop: kompakt */
  height: auto;
  object-fit: contain;
  display: block;
}

/* 📱 Mobilansicht */
@media screen and (max-width: 700px) {
  .lightbox-img {
    max-width: 95vw;  /* fast volle Breite am Handy */
    height: auto;     /* Höhe proportional */
  }
}

#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
  transition: opacity 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #f5f5f5;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #f5f5f5;
  cursor: pointer;
  padding: 10px;
  z-index: 10000;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}


/* Modulare Boxen */
.content-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.content-box:hover {
  transform: translateY(-5px);
}

.content-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.content-box h3 {
  margin: 0;
  font-size: 1.4em;
  color: #222;
}

.content-box h4 {
  margin: 5px 0 10px;
  font-size: 1em;
  color: #777;
  font-weight: normal;
}

.content-box p {
  font-size: 0.95em;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.content-box a {
  display: inline-block;
  margin-top: 10px;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
}

.content-box a:hover {
  text-decoration: underline;
}

/* Spruch der Woche */
.funfact-box {
  background-color: #2d6a4f;
  border-left: 6px solid #2d6a4f;
  padding: 20px;
  margin: 0 auto 20px auto;
  max-width: 600px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  animation: slideUp 0.8s ease-out;
}

.funfact-box h3 {
  margin-top: 0;
  color: #FF8C00;
}

.funfact-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #f5f5f5;
}

/* Animation */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Footer */
footer {
  background-color: #f5f5f5;
  color: #777;
  font-size: 0.85rem;
  text-align: center;
  padding: 40px 20px;
  line-height: 1.6;
  border-top: 4px solid #2d6a4f;
}

footer a {
  color: #777;
  text-decoration: underline;
  font-weight: normal;
}

footer a:hover {
  color: #40916c;
}

.affiliate-hinweis {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #999;
}


/* grüne Linkbutton zurück usw */
ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

ul > a.zurueck-button {
  display: block;
  background-color: #2d6a4f;
  color: #fff;
  padding: 10px 16px;
  margin: 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  transition: background-color 0.2s ease;
}

ul > a.zurueck-button:hover {
  background-color: #40916c;
}

/* Abenteuerkarte für die Reisen */
.abenteuerpanel {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr; /* mehr Platz links/rechts */
  gap: 1rem;
  align-items: center;
  padding: 1rem 2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fdfdfd;
  margin-bottom: 2rem;
  font-family: sans-serif;
}

.bild-wrapper {
  width: 160px;
  margin-inline: 1.5rem; /* mehr Abstand zum Rand */
}
.read-more {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;             /* weiße Schrift */
  background-color: #007f5f;  /* Grün aus der Navigation */
  text-decoration: none;
  border-radius: 6px;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
  background-color: #00664c;  /* etwas dunkleres Grün beim Hover */
  transform: scale(1.05);     /* Button wird leicht größer */
  color: #ffffff;             /* bleibt weiß */
}



.reisebild,
.routenbild {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.panel-mitte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.trip-info {
  text-align: center;
  margin-bottom: 1rem;
}

.trip-info h3 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}

.trip-info p {
  margin: 0.2rem 0;
  font-size: 1.05rem;
}


.bar-wrapper {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
  text-align: center;
}

.bar {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 1.8rem;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.85rem;
  color: #fff;
  text-align: center;
}

.segment {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.faehre { background: #0077cc; width: 10.5%; }
.asphalt { background: #666; width: 52.6%; }
.offroad { background: #8B4513; width: 36.8%; }

.zimmer { background: #2e8b57; width: 0%; }
.camping { background: #3cb371; width: 33.3%; }
.wildcamp { background: #228B22; width: 66.7%; }

.bar-labels {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0.4rem auto 0;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.bar-labels div {
  flex: 1;
  text-align: center;
}


/* 📱 Mobilansicht: Bilder klein links/rechts vom Textblock */
@media screen and (max-width: 700px) {
  .abenteuerpanel {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    gap: 0.5rem;
    padding: 0.6rem;
  }

  .bild-wrapper {
    width: 100%;
    max-width: 60px;
    height: auto;
    margin-inline: 0;
    padding: 0;
  }


  .reisebild,
  .routenbild {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .panel-mitte {
    padding: 0.5rem;
  }

  .trip-info h3 {
    font-size: 1rem;
  }

  .trip-info p,
  .read-more {
    font-size: 0.75rem;
  }

  .bar {
    font-size: 0.68rem;
    height: 1.2rem;
  }

  .bar-labels {
    flex-direction: column;
    font-size: 0.68rem;
    gap: 0.2rem;
  }
}



/* Kontaktseite für Newsletter, Echo & Co */


/* Newsletter-Formular */

.newsletter form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  max-width: 500px;
  margin: 0 auto 1em auto;
}

.newsletter input[type="email"] {
  flex: 1 1 60%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
   width: 60%;
  min-width: 200px;
  white-space: nowrap;

}

.newsletter button {
  background-color: #3a7d44;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.newsletter button:hover {
  background-color: #2f6b39;
}



/* Reise-Echo Formular */
.reise-echo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reise-echo form {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.reise-echo input,
.reise-echo textarea {
  padding: 0.6em 0.8em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.reise-echo textarea {
  min-height: 120px;
  resize: vertical;
}

.reise-echo button {
  background-color: #3a7d44;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  align-self: center;
}

.reise-echo button:hover {
  background-color: #2f6b39;
}

/* Datenschutz-Hinweis */
.datenschutz-hinweis {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5em;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* Campingplätze Style */

.camping-teaser {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin: 0 auto 2rem;
  border-radius: 6px;
  max-width: 800px;
}

.camping-teaser img {
  width: 100px;
  height: auto;
  border-radius: 4px;
  margin-right: 1rem;
  object-fit: cover;
}
.camping-text {
  flex: 1;
  padding-right: 1rem;
}
.camping-text h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}
.camping-text p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.camping-button {
  display: inline-block;
  margin-top: 0.5rem;
  background: #006400;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.camping-button:hover {
  background: #004d00;
}

/* mobilfreundliches CSS für interaktive Unterkunftskarte */


#map {
  width: 100%;
  height: 400px;
  margin: 1em 0;
  border-radius: 8px;
}
@media (max-width: 600px) {
  #map {
    height: 250px;
  }
}
.campingplatz-box {
  margin: 2em 0;
  padding: 1em;
  border-bottom: 1px solid #ccc;
}

/* Wildcampenseite */
/* Tabelle schöner und mobilfreundlich */

:root {
  --wildcampen-card: #ffffff;
  --wildcampen-border: #cccccc;
  --wildcampen-heading: #333333;
  --wildcampen-accent: #006400;
  --wildcampen-muted: #666666;
}

.wildcampen-table-wrap {
  overflow-x: auto;
  background-color: var(--wildcampen-card);
  border: 1px solid var(--wildcampen-border);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Kopfzeile */
.wildcampen-country-table thead th {
  background-color: #abf1c2; 
  color: var(--wildcampen-heading);
  font-weight: 600;
  border: 1px solid var(--wildcampen-border);
  padding: 8px;
}

/* Erste Spalte */
.wildcampen-country-table td:first-child {
  font-weight: 600;
  color: var(--wildcampen-accent);
  background-color: #abf1c2; 
}

/* Abwechselnde Zeilenfarben */
.wildcampen-country-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.wildcampen-country-table tbody tr:nth-child(even) {
  background-color: #f9fbfd;
}

/* Hover */
.wildcampen-country-table tbody tr:hover {
  background-color: #eaf3ff;
}

/* Rahmen für alle Zellen */
.wildcampen-country-table td,
.wildcampen-country-table th {
  border: 1px solid var(--wildcampen-border);
  padding: 8px;
  text-align: left;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .wildcampen-country-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
  }

  /* Kopfzeile ausblenden */
  .wildcampen-country-table thead {
    display: none;
  }

  /* Jede Tabellenzeile als Block/Karte */
  .wildcampen-country-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--wildcampen-border);
    border-radius: 6px;
    background-color: var(--wildcampen-card);
    padding: 8px;
  }

  /* Jede Zelle untereinander */
  .wildcampen-country-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px;
    border: none; /* Rahmen innerhalb der Karte vermeiden */
    border-bottom: 1px solid var(--wildcampen-border);
  }

  /* Letzte Zelle ohne unteren Rahmen */
  .wildcampen-country-table td:last-child {
    border-bottom: none;
  }

  /* Label vor jedem Wert */
  .wildcampen-country-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--wildcampen-muted);
    display: block;
    margin-bottom: 4px;
  }
}

  /* Motorradapps */
.motorrad-apps-article {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.motorrad-apps-article h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #222;
}

.intro-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-left: 6px solid #f8f6f5; /* dezentes Orange */
  margin-bottom: 30px;
  border-radius: 6px;
}

.app-block {
  display: block;          /* sorgt für volle Breite */
  width: 100%;             /* alle gleich breit */
  min-height: 200px;       /* gleiche Grundhöhe */
  padding: 25px;           /* einheitlicher Innenabstand */
  margin-bottom: 30px;     /* Abstand nach unten */
  border-radius: 8px;
}


.app-block h2 {
  background-color: #b1a3a3;       /* dezenter grauer Hintergrund */
  padding: 10px 15px;           /* etwas Innenabstand */
  border-radius: 6px;           /* abgerundete Ecken */
  margin-top: 0;                /* kein zusätzlicher Abstand oben */
  margin-bottom: 15px;          /* Abstand zum Text darunter */
  color: #222;                  /* dunkle Schrift für Kontrast */
}



.wetter {
  background-color: #b3cde7; 
}

.navigation {
  background-color: #c6e9c6; 
}

.camping {
  background-color: #dac4a7; 
}

.community {
  background-color: #abdbd5; 
}

.fazit {
  background-color: #e6d2d4; 
}
