*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gruen:  #3a6b35;
  --braun:  #5c3d1e;
  --beige:  #f5f0e8;
  --weiss:  #ffffff;
  --text:   #2d2d2d;
  --muted:  #555;
  --border: #ddd;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, serif;
  background: var(--beige);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.75;
}

/* ── Header / Nav ── */
header {
  background: var(--gruen);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}
.logo-icon { font-size: 1.8rem; line-height: 1; }
.logo strong { display: block; font-size: 0.96rem; }
.logo small  { font-size: 0.72rem; opacity: 0.82; }

nav { display: flex; gap: 3px; flex-wrap: wrap; margin-left: auto; }
nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.28rem 0.62rem;
  border-radius: 4px;
  font-size: 0.83rem;
  font-family: Arial, sans-serif;
  transition: background 0.15s;
}
nav a:hover { background: rgba(255,255,255,0.2); }

/* ── Sections ── */
section {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

/* Scroll-Offset für sticky header */
section::before {
  content: "";
  display: block;
  height: 70px;
  margin-top: -70px;
  pointer-events: none;
}

h1 { font-size: 1.9rem; color: var(--gruen); margin-bottom: 0.25rem; }
h2 { font-size: 1.1rem; color: var(--braun); margin: 1.7rem 0 0.4rem; }
p  { color: var(--muted); margin-bottom: 0.85rem; }
hr { border: none; border-top: 1px solid var(--border); margin: 1.8rem 0; }
a  { color: var(--gruen); }

/* Kacheln */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin: 1.2rem 0;
}
.tile {
  background: var(--weiss);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
}
.tile .lbl { font-size: 0.72rem; color: #999; font-family: Arial, sans-serif; margin-bottom: 3px; }
.tile .val { font-size: 0.92rem; font-weight: bold; }

/* Download-Buttons */
.dl-list { list-style: none; margin: 0.5rem 0 1rem; }
.dl-list li { margin-bottom: 0.45rem; }
.dl-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gruen);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--gruen);
  border-radius: 4px;
  transition: all 0.15s;
}
.dl-list a::before { content: "↓"; }
.dl-list a:hover { background: var(--gruen); color: #fff; }

/* Link-Liste */
.lnk-list { list-style: none; margin: 0.5rem 0; }
.lnk-list li { margin-bottom: 0.4rem; }
.lnk-list a { font-family: Arial, sans-serif; font-size: 0.88rem; }

/* Karte */
.map-wrap {
  margin-top: 1rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Footer ── */
footer {
  background: var(--braun);
  padding: 0.85rem 2rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
footer span { font-size: 0.8rem; color: rgba(255,255,255,0.75); font-family: Arial, sans-serif; }
footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
}
footer a:hover { color: #fff; text-decoration: underline; }

/* Legal-Block (impressum.html) */
.legal { font-family: Arial, sans-serif; font-size: 0.84rem; color: var(--muted); }
.legal h3 { font-size: 0.88rem; color: var(--text); margin: 1.1rem 0 0.3rem; }
.legal p   { font-size: 0.84rem; }

/* Responsive */
@media (max-width: 600px) {
  header { padding: 0.7rem 1rem; }
  section { padding: 2.5rem 1rem 1.5rem; }
  nav a { font-size: 0.78rem; padding: 0.25rem 0.5rem; }
}

/* Foto sections */
section.foto {
  padding: 1rem 2rem;
  border-bottom: none;
}
section.foto img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (max-width: 600px) {
  section.foto { padding: 0.75rem 1rem; }
  section.foto img { max-height: 220px; }
}
