/* =========================================================
   GLOBAL.CSS
   Grundlayout und wiederverwendbare Styles für die gesamte Webseite
   ========================================================= */

/* ----------------- Body & Grundlayout ----------------- */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f0e1; /* heller Hintergrund */
  color: #111;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------- Links ----------------- */
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ----------------- Container ----------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ----------------- Überschriften ----------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ----------------- Listen ----------------- */
ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

/* ----------------- Buttons ----------------- */
.button, .detail-zurueck a {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  background: #fff176;
  color: #111;
  font-weight: bold;
  transition: all 0.3s ease;
}

.button:hover, .detail-zurueck a:hover {
  background: #fdd835;
  transform: scale(1.05);
}

/* ----------------- Responsive Basis ----------------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  .container {
    padding: 0 0.5rem;
  }
}

/* ----------------- Besucherzähler ----------------- */
#counter-box {
  position: fixed;
  bottom: 10px;
  left: 15px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #111;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* ----------------- Park-Link unten auf Safari-Seiten ----------------- */
.park-link {
  text-align: center;
  margin: 2rem 0;
}

.park-link .btn-link {
  display: inline-block;
  background-color: #fff176; /* gleiche Farbwelt wie Buttons */
  color: #111;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.park-link .btn-link:hover {
  background-color: #fdd835;
  transform: scale(1.05);
}
