@font-face { font-family: "Andika"; src: url("/fonts/andika-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Andika"; src: url("/fonts/andika-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --oliv: #6f7a35;
  --oliv-dunkel: #4f5725;
  --gelb: #ffd166;
  --creme: #f6f4e8;
  --text: #2b2d22;
  --grau: #5d6050;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Andika", system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--creme);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oliv-dunkel); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

/* Kopf */
.kopf { background: var(--oliv); color: #fff; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }
.kopf.start .marke { visibility: hidden; }
.marke { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1.15rem; }
.kopf nav a { color: #fff; text-decoration: none; margin-left: 1.25rem; font-size: 1rem; }
.kopf nav a:hover { color: var(--gelb); }

/* Einstieg */
.hero { background: var(--oliv); color: #fff; padding: 2.5rem 0 0; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; margin: 0 0 .5rem; letter-spacing: .04em; text-transform: uppercase; }
.hero .unterzeile { color: var(--gelb); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 0 0 .75rem; }
.hero p { max-width: 38rem; margin: 0 0 1.5rem; }
.knopf {
  display: inline-block; background: var(--gelb); color: var(--text); font-weight: 700;
  padding: .75rem 1.3rem; border-radius: 999px; text-decoration: none;
}
.knopf:hover { background: #fff; }
.knopf.zweit { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); margin-left: .5rem; }
.knopf.zweit:hover { background: rgba(255,255,255,.12); }
.tierreihe { background: var(--creme); margin-top: 2.5rem; }
.tierreihe img { margin: 0 auto; max-width: 900px; width: 100%; }

/* Abschnitte */
section { padding: 3rem 0; }
h2 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 .5rem; color: var(--oliv-dunkel); }
.einleitung { color: var(--grau); margin: 0 0 2rem; max-width: 40rem; }

.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.5rem; }
.karte {
  background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.karte:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.karte img { aspect-ratio: 1240 / 1754; object-fit: cover; width: 100%; border-bottom: 1px solid #eee; }
.karte .inhalt { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.karte h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.karte p { font-size: .95rem; margin: 0; color: var(--grau); }
.karte .klasse { font-size: .85rem; font-weight: 700; color: var(--oliv); }
.karte .mehr { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--oliv-dunkel); font-size: .95rem; }
.marker { display: inline-block; background: var(--gelb); font-size: .8rem; font-weight: 700; padding: .05rem .5rem; border-radius: 4px; }

.ueber { background: #fff; }
.ueber .wrap { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; align-items: center; }
.ueber p { max-width: 38rem; }
@media (max-width: 560px) {
  .kopf nav { display: none; }
  .kopf.start { display: none; }
}
@media (max-width: 760px) {
  .ueber .wrap { grid-template-columns: 1fr; }
  .ueber img { max-width: 220px; }
  .knopf.zweit { margin: .75rem 0 0; }
}

/* Fuß */
footer { background: var(--oliv-dunkel); color: #e8e6da; padding: 2rem 0; font-size: .95rem; }
footer a { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }

/* Rechtstexte */
.recht { padding: 2.5rem 0 3.5rem; }
.recht .wrap { max-width: 760px; }
.recht h1 { color: var(--oliv-dunkel); font-size: 2.2rem; margin: 0 0 1.5rem; }
.recht h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
