/* Jagdzeiten – Website. Design: Jagdgrün + warmes Papier, Fraunces/Inter. */
:root {
  --green: #2E6B3D;
  --green-700: #245730;
  --green-900: #17361F;
  --green-300: #5C9A5C;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F1EA;
  --ink: #1C271F;
  --muted: #5C6B5E;
  --line: #E6E1D6;
  --open: #2E6B3D;
  --closed: #A96B12;
  --year: #4E8A54;
  --prot: #74807A;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(23,54,31,.06), 0 8px 24px rgba(23,54,31,.05);
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1712; --surface: #16211A; --surface-2: #1D2A22;
    --ink: #E8EFE8; --muted: #9BAE9F; --line: #26362B;
    --green-300: #7BB47F; --closed: #D69A45; --prot: #8A968F;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #0F1712; --surface: #16211A; --surface-2: #1D2A22;
  --ink: #E8EFE8; --muted: #9BAE9F; --line: #26362B;
  --green-300: #7BB47F; --closed: #D69A45; --prot: #8A968F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Manrope", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; font-weight: 800; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Hero (Landing) ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #F3F7F1; padding: 34px 0 36px;
}
.hero-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.hero-icon { width: 46px; height: 46px; border-radius: 11px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.hero-word { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; color: #fff; }
.hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); font-weight: 800; color: #fff;
  letter-spacing: -0.02em; max-width: 20ch; }
.hero-sub { font-size: 1.05rem; color: #D7E5D3; margin: 14px 0 22px; max-width: 54ch; }
.hero-cta { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.hero .badges { justify-content: flex-start; }
.hero-meta { font-size: .9rem; color: #AEC4AB; }

.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.badge { display: inline-block; transition: transform .15s ease; }
.badge img { height: 48px; width: auto; display: block; }
.badge:hover { text-decoration: none; transform: translateY(-2px); }

/* ---------- Sticky Download-Leiste ---------- */
.promo-bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center;
  justify-content: center; gap: 16px 24px; flex-wrap: wrap;
  background: var(--green-900); color: #EAF2E7; padding: 8px 16px; font-size: .92rem;
}
.pb-emblem { width: 24px; height: 24px; border-radius: 6px; vertical-align: middle;
  display: inline-block; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.pb-text strong { color: #fff; }
.pb-badges { display: flex; gap: 10px; align-items: center; }
.pb-badge { display: inline-block; transition: transform .15s ease; }
.pb-badge img { height: 30px; width: auto; display: block; }
.pb-badge:hover { text-decoration: none; transform: translateY(-1px); }
@media (max-width: 560px) {
  .promo-bar { gap: 8px 12px; padding: 7px 12px; }
  .pb-text { font-size: .82rem; }
}

/* ---------- App-Showcase (Landing) ---------- */
.app-showcase { margin-top: 60px; background:
    radial-gradient(900px 300px at 80% -60px, rgba(92,154,92,.18), transparent 60%),
    var(--green-900); border-radius: 24px; overflow: hidden; color: #EAF2E7; }
.as-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 40px 36px; }
.as-kicker { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #A9CBA6; margin-bottom: 8px; }
.as-text h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.as-text p { color: #D3E2CF; margin: 14px 0 16px; }
.as-list { list-style: none; padding: 0; margin: 0 0 22px; }
.as-list li { padding: 3px 0; color: #E7F1E4; font-weight: 500; }
.as-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 300px; }
.as-phones .phone { width: 42%; max-width: 200px; height: auto; border-radius: 16px;
  border: 5px solid #0B1712; box-shadow: 0 20px 40px rgba(0,0,0,.4); background: #000; }
.as-phones .p1 { transform: rotate(-6deg) translateX(14%); z-index: 1; }
.as-phones .p2 { display: none; }
.as-phones .p3 { transform: rotate(6deg) translateX(-14%); z-index: 2; margin-left: -14%; }
@media (max-width: 760px) {
  .as-inner { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; }
  .as-inner .badges, .as-list { justify-content: center; }
  .as-list li { display: inline-block; margin: 0 8px; }
  .as-phones { margin-top: 8px; }
}

/* ---------- Haftungshinweis ---------- */
.notice {
  background: color-mix(in srgb, var(--closed) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--closed) 45%, var(--line));
  border-left: 5px solid var(--closed); border-radius: var(--radius);
  padding: 16px 20px; margin: 4px 0 22px; }
.notice-title { display: flex; align-items: center; gap: 9px;
  margin: 0 0 6px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.notice-ico { font-size: 1.2rem; line-height: 1; flex: none; }
.notice-body { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.notice strong { color: var(--ink); }

/* ---------- App-Band (Bundesland-Seiten) ---------- */
.app-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--green);
  border-radius: var(--radius); padding: 22px 24px; margin: 22px 0 4px; box-shadow: var(--shadow); }
.ab-text h2 { font-size: 1.35rem; }
.ab-text p { color: var(--muted); margin: 8px 0 16px; font-size: .96rem; }
.ab-shots { display: flex; justify-content: center; gap: 10px; }
.ab-shots img { width: 46%; max-width: 150px; height: auto; border-radius: 12px;
  border: 4px solid var(--green-900); box-shadow: var(--shadow); }
.ab-shots img:nth-child(1) { transform: rotate(-4deg); }
.ab-shots img:nth-child(2) { transform: rotate(4deg); margin-left: -8px; }
@media (max-width: 680px) {
  .app-band { grid-template-columns: 1fr; text-align: center; }
  .app-band .badges { justify-content: center; }
  .ab-shots { margin-top: 6px; }
}

/* ---------- Sections ---------- */
main.wrap { padding-top: 48px; padding-bottom: 40px; }
.section-title { font-size: 1.7rem; font-weight: 600; margin: 8px 0 22px; }

/* Bundesland-Grid */
.land-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.land-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease;
}
.land-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--green-300); }
.wappen { height: 60px; width: auto; }
.land-name { font-weight: 600; font-size: 1.06rem; }
.land-go { font-size: .86rem; color: var(--green); }

/* Features */
.features { margin-top: 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--surface-2); border-radius: var(--radius); padding: 20px; }
.feature .fi { font-size: 26px; }
.feature h3 { font-size: 1.1rem; font-weight: 700; margin: 8px 0 4px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Bundesland-Header ---------- */
.land-header { background: linear-gradient(180deg, var(--green-900), var(--green-700)); color: #F3F7F1; padding: 22px 0 26px; }
.back { color: #CFE0CC; font-size: .92rem; }
.back:hover { color: #fff; }
.land-title { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.wappen-lg { height: 76px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.land-title h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 700; color: #fff; }
.land-date { margin: 4px 0 0; color: #C7D8C4; font-size: .95rem; }

/* Toolbar (sticky) */
.toolbar { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .18s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(18px); }
#search { flex: 1; min-width: 180px; max-width: 320px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .96rem; }
#search:focus { outline: 2px solid var(--green-300); outline-offset: 1px; }

.land-main { padding-top: 26px; padding-bottom: 50px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin: 0 0 22px; }
.lg.open { color: var(--open); } .lg.closed { color: var(--closed); }
.lg.year { color: var(--year); } .lg.prot { color: var(--prot); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Gruppen + Karten */
.group { margin-bottom: 34px; }
.group-title { font-size: 1.35rem; font-weight: 600; color: var(--green); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.species-card { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sc-media { flex: none; width: 108px; background: var(--surface-2); }
.sc-media img { width: 108px; height: 100%; object-fit: cover; min-height: 150px; }
.sc-body { padding: 14px 16px; flex: 1; min-width: 0; }
.sc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sc-name { font-size: 1.16rem; font-weight: 600; }
.sc-lat { margin: 2px 0 10px; font-style: italic; color: var(--muted); font-size: .88rem; }
.status-badge { flex: none; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-2); color: var(--muted); }
.status-badge.open { background: color-mix(in srgb, var(--open) 16%, transparent); color: var(--open); }
.status-badge.year { background: color-mix(in srgb, var(--year) 18%, transparent); color: var(--year); }
.status-badge.closed { background: color-mix(in srgb, var(--closed) 18%, transparent); color: var(--closed); }
.status-badge.prot { background: var(--surface-2); color: var(--prot); }

table.periods { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 4px; }
table.periods th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; padding: 4px 8px 4px 0; border-bottom: 1px solid var(--line); }
table.periods td { padding: 5px 8px 5px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.periods tr:last-child td { border-bottom: none; }
td.klasse { font-weight: 500; }
td.range { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--green-700); font-weight: 600; }
td.quelle { color: var(--muted); font-size: .82rem; }
.no-season { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.credit { margin: 10px 0 0; font-size: .74rem; color: var(--muted); }
.credit a { color: var(--muted); text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 34px 20px 44px; margin-top: 20px; }
.site-footer > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.disclaimer { font-size: .9rem; color: var(--muted); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px auto; }
.site-footer .muted { font-size: .8rem; color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .sc-media { width: 92px; } .sc-media img { width: 92px; }
}
/* ---------- SEO-/Inhaltsbausteine ---------- */
.intro { color: var(--muted); max-width: 75ch; margin: 0 0 18px; }
.intro strong { color: var(--ink); }
.seo-text { margin-top: 56px; max-width: 75ch; }
.seo-text p { color: var(--muted); margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink); }
.chip:hover { border-color: var(--green-300); text-decoration: none; }
.faq { margin-top: 40px; max-width: 75ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 13px 28px 13px 0;
  list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px;
  color: var(--green); font-weight: 700; font-size: 1.1rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.other-lands { margin-top: 40px; }
.table-card { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 18px; box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; }
td.land-cell { font-weight: 600; white-space: nowrap; }
td.land-cell a { color: var(--green); }
.geschont-note { color: var(--muted); font-size: .95rem; margin: 16px 0; max-width: 75ch; }
.species-hero { display: flex; gap: 22px; align-items: flex-start; margin: 22px 0; }
.species-hero img { width: 170px; height: 170px; object-fit: cover; border-radius: 16px;
  box-shadow: var(--shadow); flex: none; }
.species-hero .credit { margin-top: 6px; font-size: .72rem; color: var(--muted); max-width: 170px; }
.species-hero .credit a { color: var(--muted); text-decoration: underline; }
.species-hero .intro { margin: 0; }
@media (max-width: 560px) { .species-hero { flex-direction: column; } }
.sc-more { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 600; }
.app-shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 30px 0 8px; }
.app-shots img { width: 30%; max-width: 210px; height: auto; border-radius: 14px;
  border: 4px solid var(--green-900); box-shadow: var(--shadow); }
.as-more { margin: 14px 0 0; }
.as-more a { color: #CFE0CB; font-weight: 600; text-decoration: underline; }
.as-more a:hover { color: #fff; }
a.pb-text { color: inherit; }
a.pb-text:hover { text-decoration: none; color: #fff; }

/* ---------- Consent-Banner ---------- */
.cc { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(10,20,14,.5); backdrop-filter: blur(2px);
  animation: cc-fade .25s ease both; }
.cc[hidden] { display: none; }
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
.cc-inner { position: relative; width: 100%; max-width: 480px;
  background: linear-gradient(180deg, #1E4A2C, var(--green-900)); color: #EAF3E7;
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 2px 0 rgba(255,255,255,.06) inset;
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 18px; text-align: center;
  animation: cc-pop .35s cubic-bezier(.16,.84,.44,1) both; }
@keyframes cc-pop { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.cc-text { flex: 1; min-width: 260px; font-size: .92rem; color: #CFE0CB; line-height: 1.55; }
.cc-text strong { color: #fff; font-size: 1.02rem; }
.cc-text a { color: #EAF3E7; text-decoration: underline; }
.cc-actions { display: flex; gap: 12px; width: 100%; margin-top: 2px; }
.cc-btn { flex: 1; font: inherit; font-weight: 700; font-size: .98rem; padding: 13px 20px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .12s ease, background .15s ease; }
.cc-btn:hover { transform: translateY(-1px); }
.cc-accept { background: #fff; color: var(--green-900); }
.cc-accept:hover { background: #EAF3E7; }
.cc-decline { background: transparent; color: #EAF3E7; border-color: rgba(255,255,255,.5); }
.cc-decline:hover { background: rgba(255,255,255,.1); }
@media (max-width: 400px) { .cc-actions { flex-direction: column-reverse; } }
@media (prefers-reduced-motion: reduce) { .cc-inner { animation: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
