/* =========================================================================
   NSG Königsbrücker Heide / Gohrischheide Zeithain – Web-Demonstrator
   Farben ausschließlich aus dem NNL-CD-Manual („Farbwerte“, 36 Farben).
   Schrift: Atkinson Hyperlegible (frei lizenziert, Bieterfrage 15).
   ========================================================================= */

@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/atkinson-hyperlegible-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/atkinson-hyperlegible-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/atkinson-hyperlegible-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/atkinson-hyperlegible-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* NNL-Farbwerte */
  --gruen: #446428;          /* NNL Element Dunkel-Grüngelb – weiße Schrift, Kontrast 6,8:1 */
  --orange: #f9b342;         /* NNL Punkt Gelborange – schwarze Schrift, Kontrast 11,6:1 */
  --orange-hell: #ffe37e;    /* NNL Element Mittelgelb */
  --tint: #b4c897;           /* NNL Element Hellgrüngelb – schwarze Schrift */
  --beige: #dcc6a3;          /* NNL Element Hellbeige */
  /* Neutrale Töne */
  --text: #141414;
  --text-2: #3b3b3b;
  --bg: #fbfaf6;
  --flaeche: #ffffff;
  --linie: #d8d3c5;
  --link: #2d4a14;
  --fokus-innen: #ffffff;
  --fokus-aussen: #141414;

  --breite: 1320px;
  /* Höhe der Wellen: mobil ein Element über volle Breite, ab 900 px Karussell (halbe Breite) */
  --wk: clamp(26px, 3.6vw, 64px);   /* Unterkante Kopf */
  --wo: clamp(54px, 7.6vw, 136px);  /* Übergang Foto → Inhalt */
  --wb: clamp(48px, 6.8vw, 118px);  /* Übergänge des hellgrünen Bandes */
  --tint-sanft: #d0dcbd;            /* Hellgrüngelb, mit Creme aufgehellt – schwarze Schrift 14:1 */
  --gruen-hell: #53742f;   /* Verlauf zwischen Dunkel-Grüngelb und Helles Khaki, weiße Schrift über 5,5:1 */
  --rand: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --schatten: 0 1px 2px rgba(20, 20, 20, .06), 0 6px 24px rgba(20, 20, 20, .07);
  --schrift: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
html.gross { font-size: 122%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: clip;
}
@media (min-width: 1000px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem); }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 3px; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--klein { width: 1em; height: 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.umbruch { overflow-wrap: anywhere; }
.klein { font-size: .9375rem; color: var(--text-2); }
.platzhalter { background: var(--orange-hell); padding: .1em .4em; border-radius: 4px; font-weight: 700; }

/* Fokus: doppelter Ring, auf hellem und dunklem Grund sichtbar */
:focus-visible { outline: 3px solid var(--fokus-aussen); outline-offset: 3px; box-shadow: 0 0 0 3px var(--fokus-innen); border-radius: 4px; }
.kopf :focus-visible, .fuss :focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px #141414; }
[tabindex="-1"]:focus { outline: none; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: #fff; color: #141414; padding: .8rem 1.2rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: left;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--primaer { background: var(--orange); color: #141414; border-color: #d99527; }
.btn--primaer:hover { background: var(--orange-hell); border-color: #141414; }
.btn--sekundaer { background: #fff; color: var(--gruen); border-color: var(--gruen); }
.btn--sekundaer:hover { background: #eef3e6; color: #141414; }
.btn--klein { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
.btn--gross { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.1875rem; }
.btn:active { transform: translateY(1px); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.textlink { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .45rem; font-weight: 700; min-height: 44px; }
.textlink__meta { font-weight: 400; color: var(--text-2); }

.rund-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gruen); color: #fff; flex: none; }
.rund-ico .ico { width: 26px; height: 26px; }
.rund-ico--gross { width: 64px; height: 64px; }
.rund-ico--gross .ico { width: 32px; height: 32px; }

/* ---------- Dialogelemente (Wellen) ---------- */
.welle { display: block; width: 100%; height: var(--wo); pointer-events: none; }
.welle__svg { display: block; width: 100%; height: 100%; }
.welle__tief { opacity: .5; }

/* =========================================================================
   Kopfbereich
   ========================================================================= */
.kopf { position: relative; overflow-x: clip; }
.warn { background: var(--orange); color: #141414; position: relative; z-index: 6; }
.warn__in { max-width: var(--breite); margin: 0 auto; padding: .25rem var(--rand); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1rem 1.5rem; }
.warn__link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #141414; font-weight: 700; font-size: 1.0625rem; }
.warn__link .ico { color: #b1261b; width: 1.35em; height: 1.35em; }
.warn__demo { margin: 0 0 .35rem; font-size: .8125rem; display: inline-flex; align-items: center; gap: .4rem; text-align: center; }
@media (min-width: 1180px) {
  .warn__in { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 48px; }
  .warn__link { grid-column: 2; }
  .warn__demo { grid-column: 3; justify-self: end; margin: 0 0 0 1rem; text-align: right; }
}
@media (min-width: 1360px) {
  .warn__demo { white-space: nowrap; }
}

.kopf__flaeche { background: linear-gradient(180deg, var(--gruen) 0%, var(--gruen-hell) 100%); color: #fff; position: relative; z-index: 6; }
.kopf__in { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand) .5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }

/* Absender: Staatsbetrieb Sachsenforst + Freistaat Sachsen auf weißem Grund */
.marke {
  --mw: 320px; /* Breite der Wellenform, endet rechts an der Logofläche und läuft nach links weiter */
  position: relative; z-index: 1; isolation: isolate; display: block; padding: .9rem 4rem 1.3rem 0; align-self: flex-start;
}
/* Weiße Fläche hinter dem Logo: bündig mit Browserrand oben und links. Die Unterkante ist eine
   durchgehende, leicht bewegte Linie, die nach rechts in einem weichen Bogen ins Grün aufsteigt.
   Dahinter ein halbtransparenter zweiter Schwung für Tiefe. */
.marke::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 16%; right: calc(var(--mw) - 1px); width: 100vw; background: #fff; }
.marke::after {
  content: ''; position: absolute; z-index: -1; top: 0; right: -1px; bottom: 0; width: var(--mw);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,0H760C738,0 718,6 698,16C660,36 630,62 586,76C540,88 480,86 420,87C340,90 250,93 160,90C100,88 50,84 0,84Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 100' preserveAspectRatio='none'%3E%3Cpath fill='white' fill-opacity='.18' d='M0,0H760C760,34 744,64 708,82C670,98 616,98 560,94C500,90 440,88 380,90C300,93 220,95 160,92C100,90 50,86 0,86Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.marke__logo { width: 150px; height: auto; }
@media (min-width: 420px) { .marke__logo { width: 196px; } }
.marke:focus-visible { outline-color: #141414; box-shadow: 0 0 0 3px #fff; }

.menue-btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1.1rem;
  background: #fff; color: #141414; border: 0; border-radius: 999px; font-weight: 700; font-size: 1.0625rem;
}
.menue-btn .ico { width: 1.4em; height: 1.4em; }
.menue-btn__zu { display: none; }
.kopf.ist-offen .menue-btn__auf { display: none; }
.kopf.ist-offen .menue-btn__zu { display: block; }

/* Signets inkl. Schutzraum (1 M) aus den Originaldateien – daher etwas größer skaliert */
.signets { display: flex; gap: 0; align-items: center; justify-content: flex-end; width: 100%; margin: -1.2rem -.9rem -1.2rem 0; }
.signets img { height: 64px; width: auto; }
.signets img + img { margin-left: -24px; }
@media (max-width: 699px) {
  /* Mobil: Kopf kompakter, Warnleiste einzeilig lesbar, Hinweis darunter klein */
  .warn__in { gap: 0 1rem; padding-block: .1rem .3rem; }
  .warn__link { min-height: 40px; font-size: 1rem; }
  .warn__demo { font-size: .75rem; margin: 0; line-height: 1.3; }
  .kopf__in { padding-bottom: .1rem; row-gap: .25rem; }
}

.welle--kopf { color: var(--gruen-hell); position: relative; z-index: 5; height: var(--wk); margin-top: -1px; margin-bottom: calc(-1 * var(--wk)); }
.welle--kopf .welle__tief { opacity: .42; }
html.kontrast .welle--kopf { color: #000; }

/* --- Mobiles Menü (Standard) --- */
.menue { display: none; }
.kopf.ist-offen .menue {
  display: flex; flex-direction: column; gap: 1.5rem; position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  background: var(--gruen); color: #fff; padding: 5.5rem var(--rand) 3rem;
}
.kopf.ist-offen .menue-btn { position: fixed; top: 1rem; right: var(--rand); z-index: 101; }
html.menue-offen { overflow: hidden; }

.leiste { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
.hilfen { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.leiste__link, .leiste__icon {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; color: #fff; font-size: 1.125rem;
  background: none; border: 0; padding: 0; text-align: left; text-decoration: none; line-height: 1.15;
}
.leiste__link:hover, .leiste__icon:hover span { text-decoration: underline; text-underline-offset: .2em; }
.leiste__link[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .25em; }
.leiste__icon .ico { width: 1.5em; height: 1.5em; }
.hilfen .leiste__icon { border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: .4rem .9rem; min-height: 44px; font-size: 1rem; }
.hilfe[aria-pressed="true"] { background: #fff; color: var(--gruen); border-color: #fff; font-weight: 700; }
.hilfe__aus { display: none; }
.hilfe[aria-pressed="true"] .hilfe__an { display: none; }
.hilfe[aria-pressed="true"] .hilfe__aus { display: block; }

.suche { position: relative; display: flex; align-items: center; margin: .25rem 0 .5rem; }
.suche__feld {
  width: 100%; min-height: 48px; padding: .5rem 3.2rem .5rem 1.2rem; border: 2px solid #fff; border-radius: 999px;
  background: #fff; color: #141414; font-size: 1.0625rem;
}
.suche__feld::placeholder { color: #555; opacity: 1; }
.suche__feld::-webkit-search-cancel-button { display: none; }
.suche__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gruen); color: #fff; display: grid; place-items: center; }
.suche__btn:focus-visible { outline-color: #141414; box-shadow: 0 0 0 3px #fff; }
.suche__ergebnis {
  position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: 40; background: #fff; color: #141414;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); padding: 1rem; min-width: min(420px, 90vw);
}
.suche__ergebnis p { margin: 0 0 .5rem; font-weight: 700; }
.suche__ergebnis ul { list-style: none; margin: 0; padding: 0; }
.suche__ergebnis li + li { border-top: 1px solid var(--linie); }
.suche__ergebnis a { display: block; padding: .6rem .25rem; color: var(--link); font-weight: 700; }
.suche__ergebnis a span { display: block; font-weight: 400; color: var(--text-2); font-size: .9375rem; }
.suche__ergebnis :focus-visible { outline-color: #141414; box-shadow: 0 0 0 3px #fff; }

.sprache { display: inline-flex; gap: .35rem; min-height: 44px; align-items: center; }
.sprache__opt { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; border-radius: 8px; color: #fff; font-weight: 700; text-decoration: none; background: none; border: 1.5px solid transparent; padding: 0 .5rem; }
.sprache__opt[aria-current] { border-color: #fff; }
.sprache__opt:hover { background: rgba(255, 255, 255, .14); }

.haupt__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.haupt__item { border-bottom: 1px solid rgba(255, 255, 255, .3); position: relative; }
.haupt__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; min-height: 56px;
  padding: .5rem 0; background: none; border: 0; color: #fff; font-size: 1.25rem; font-weight: 700; text-align: left; text-decoration: none;
}
.haupt__chev { width: 1.2em; height: 1.2em; transition: transform .2s; }
.haupt__btn[aria-expanded="true"] .haupt__chev { transform: rotate(180deg); }
.haupt__item.is-aktiv > .haupt__btn { box-shadow: inset 6px 0 0 var(--orange); padding-left: 1rem; }
.haupt__sub { padding: 0 0 1rem 1rem; }
.haupt__sub ul { list-style: none; margin: 0; padding: 0; }
.haupt__sub a, .haupt__bald { display: flex; align-items: center; gap: .6rem; min-height: 48px; font-size: 1.0625rem; }
.haupt__sub a { color: #fff; font-weight: 700; }
.haupt__sub a::before, .haupt__bald::before {
  content: ''; width: 18px; height: 16px; flex: none; background: var(--orange);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%, 12% 50%);
}
.haupt__sub a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; }
.haupt__bald { color: rgba(255, 255, 255, .85); }
.haupt__bald::before { background: rgba(255, 255, 255, .45); }
.haupt__bald em, .fuss__bald em, .legende__bald em, .bereich__bald em {
  font-style: normal; font-size: .8125rem; font-weight: 700; padding: .05rem .45rem; border-radius: 999px;
  background: #efece4; color: #2b2b2b; white-space: nowrap;
}
html.kontrast .haupt__bald em, html.kontrast .fuss__bald em, html.kontrast .legende__bald em, html.kontrast .bereich__bald em { background: #fff; color: #000; }
.haupt__hinweis { font-size: .875rem; margin: .5rem 0 0; opacity: .9; }

/* --- Desktop-Kopf (nach Entwurf): Leiste oben, Hauptnavigation einzeilig, Signets rechts --- */
@media (min-width: 1340px) {
  .menue-btn { display: none; }
  .kopf__in {
    position: relative; display: grid; align-items: center; column-gap: 1.25rem; max-width: 1600px;
    grid-template-columns: max-content 1fr auto; grid-template-areas: "marke leiste leiste" "haupt haupt signets"; padding-bottom: 0;
  }
  .marke { --mw: 620px; grid-area: marke; align-self: start; padding: 1.05rem 9rem 1.6rem 0; }
  .marke__logo { width: 216px; max-width: none; }
  .menue, .kopf.ist-offen .menue { display: contents; }

  .leiste { grid-area: leiste; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .75rem; padding: .6rem 0 .3rem; }
  .leiste__link { font-size: 1rem; min-height: 44px; padding: 0 .8rem; border-radius: 999px; }
  .leiste__link[aria-current] { background: #fff; color: #141414; text-decoration: none; }
  .leiste__icon { font-size: .8125rem; gap: .4rem; min-height: 44px; }
  .leiste__icon span { width: min-content; }
  .leiste__icon .ico { width: 1.6em; height: 1.6em; }
  .hilfen { margin: 0; gap: .5rem; flex-wrap: nowrap; }
  .hilfen .leiste__icon { border: 0; padding: 0 .35rem; border-radius: 8px; }
  .hilfe[aria-pressed="true"] { padding: 0 .5rem; }
  .suche { margin: 0; width: 190px; }
  .suche__feld { min-height: 44px; font-size: 1rem; padding-left: 1rem; }
  .suche__btn { width: 38px; height: 38px; background: none; color: #141414; }
  .suche__ergebnis { left: 0; right: auto; width: 420px; }
  .sprache { gap: 0; }
  .sprache__opt { min-width: 40px; font-size: .9375rem; }

  /* Signets rechts neben der Hauptnavigation, nebeneinander (Schutzraum der Dateien teilweise überlappend) */
  .signets { grid-area: signets; position: static; width: auto; margin: -1.5rem -1.6rem -1.5rem 0; flex-direction: row; align-items: center; justify-content: flex-end; }
  .signets img { height: 96px; }
  .signets img + img { margin-top: 0; margin-left: -46px; }

  .haupt { grid-area: haupt; margin: .1rem 0 0; }
  .haupt__liste { display: flex; flex-wrap: nowrap; gap: 0 .7rem; border: 0; }
  .haupt__item { border: 0; }
  .haupt__btn { width: auto; font-size: 1.0625rem; line-height: 1.2; min-height: 48px; padding: .4rem .5rem .6rem; border-radius: 8px; position: relative; gap: .3rem; white-space: nowrap; }
  .haupt__chev { width: 1em; height: 1em; opacity: .85; }
  .haupt__btn::after { content: ''; position: absolute; left: .5rem; right: .5rem; bottom: .15rem; height: 4px; border-radius: 3px; background: transparent; }
  .haupt__btn:hover::after { background: rgba(255, 255, 255, .55); }
  .haupt__item.is-aktiv > .haupt__btn { box-shadow: none; padding-left: .5rem; }
  .haupt__item.is-aktiv > .haupt__btn::after, .haupt__btn[aria-expanded="true"]::after { background: var(--orange); }
  .haupt__item:first-child .haupt__btn { margin-left: -.5rem; }
  .haupt__sub {
    position: absolute; top: calc(100% + .35rem); left: 0; z-index: 60; min-width: 340px; padding: 1rem 1.25rem;
    background: #fff; color: #141414; border-radius: 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  }
  .haupt__item:first-child .haupt__sub { left: -.5rem; }
  .haupt__sub a { color: #141414; }
  .haupt__sub a:hover { color: var(--link); text-decoration: underline; }
  .haupt__bald { color: #555; }
  .haupt__bald::before { background: #c9c3b3; }
  .haupt__hinweis { color: #555; }
  .haupt__sub :focus-visible { outline-color: #141414; box-shadow: 0 0 0 3px #fff; }
  html.gross .haupt__liste { flex-wrap: wrap; }
  html.gross .leiste { flex-wrap: wrap; }
}

/* =========================================================================
   Diashow
   ========================================================================= */
.dia { position: relative; z-index: 1; background: #3c4a2c; height: clamp(420px, 34vw, 560px); overflow: hidden; }
.dia__buehne { position: absolute; inset: 0; }
/* Dunkler Verlauf links: hält weiße Schrift auf jedem Foto lesbar (Kontrast ≥ 4,5:1) */
.dia__buehne::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 24, 12, .62) 0%, rgba(18, 24, 12, .45) 32%, rgba(18, 24, 12, .12) 58%, rgba(18, 24, 12, 0) 72%);
}
.dia__bild { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.8s ease-in-out, visibility 0s linear 1.8s; }
.dia__bild.is-aktiv { opacity: 1; visibility: visible; transition: opacity 1.8s ease-in-out, visibility 0s; }
.dia__bild img { width: 100%; height: 100%; object-fit: cover; }

.dia__text {
  position: absolute; left: 0; right: 0; z-index: 2; display: flex; align-items: center;
  top: var(--wk); bottom: var(--wo); padding-bottom: 1rem;
}
.dia__text-in { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); color: #fff; }
.dia__text-in > * { max-width: 46rem; }
.dia__text h1 { color: #fff; font-size: clamp(2.25rem, 1.3rem + 2.8vw, 3.75rem); line-height: 1.08; margin-bottom: .2em; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.dia__lead { font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); font-weight: 700; line-height: 1.35; margin-bottom: .5em; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.dia__sub { font-size: 1.125rem; line-height: 1.5; margin-bottom: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.dia__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.dia .krumen { margin-bottom: .5rem; }
.dia .krumen a, .dia .krumen [aria-current], .dia .krumen .krumen__ebene, .dia .krumen li + li::before { color: #fff; }
.krumen__ebene { display: inline-flex; align-items: center; min-height: 44px; }
.dia .krumen { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.dia :focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px #141414; }

.foto-credit {
  position: absolute; right: var(--rand); bottom: calc(var(--wo) + 3.6rem); z-index: 3;
  max-width: calc(100% - 2 * var(--rand)); font-size: .8125rem; line-height: 1.35; color: #fff;
  background: rgba(0, 0, 0, .66); padding: .25rem .6rem; border-radius: 6px;
}
.foto-credit a { color: #fff; }
.dia__pause {
  position: absolute; right: var(--rand); bottom: calc(var(--wo) + .4rem); z-index: 4;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem .45rem .8rem;
  background: #fff; color: #141414; border: 2px solid #141414; border-radius: 999px; font-weight: 700; font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.dia__pause .ico { width: 1.3em; height: 1.3em; }
.dia__ico-play { display: none; }
.dia__pause[aria-pressed="true"] .dia__ico-pause { display: none; }
.dia__pause[aria-pressed="true"] .dia__ico-play { display: block; }
.welle--dia { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--bg); z-index: 3; }
.welle--dia .welle__tief { opacity: .55; }

@media (max-width: 899px) {
  .dia { height: auto; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; }
  .dia__buehne::after { background: linear-gradient(0deg, rgba(18, 24, 12, .8) 0%, rgba(18, 24, 12, .62) 55%, rgba(18, 24, 12, .2) 85%, rgba(18, 24, 12, .1) 100%); }
  .dia__text { position: relative; top: auto; bottom: auto; padding: calc(var(--wk) + 4.5rem) 0 calc(var(--wo) + 1.25rem); }
  .dia__pause { right: auto; left: var(--rand); bottom: auto; top: calc(var(--wk) + .6rem); font-size: .9375rem; }
  .foto-credit { bottom: auto; right: auto; left: var(--rand); top: calc(var(--wk) + 3.9rem); font-size: .6875rem; max-width: calc(100% - 2 * var(--rand)); text-align: left; }
  .dia__sub { font-size: 1.0625rem; }
}

/* =========================================================================
   Einstieg unter dem Bild
   ========================================================================= */
.intro { position: relative; z-index: 2; }
.intro__in { max-width: var(--breite); margin: 0 auto; padding: 1.25rem var(--rand) 1rem; }
.intro h1 { margin-bottom: .35em; max-width: 22ch; }
.intro__lead { font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.4; max-width: 44ch; margin-bottom: .6em; }
.intro__text { font-size: 1.125rem; max-width: 62ch; color: var(--text-2); }
.intro__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.intro--ohne-bild .intro__in { padding-top: calc(var(--wk) + 1.5rem); }
.intro--404 { text-align: left; padding-bottom: 3rem; }
.fehlercode { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 700; color: var(--gruen); line-height: 1; margin: 0 0 .5rem; }

.einstieg { position: relative; z-index: 4; }
.einstieg__in { max-width: var(--breite); margin: 0 auto; padding: 1.25rem var(--rand) 1rem; display: grid; gap: 1.25rem; }
.einstieg__text p { font-size: 1.0625rem; max-width: 40ch; margin: 0; }
.karten4 { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kkarte { display: flex; gap: .6rem; align-items: flex-start; background: #f1f1e8; border: 1px solid #e0ddcf; border-radius: 12px; padding: .9rem .9rem; box-shadow: 0 6px 20px rgba(20, 20, 20, .08); }
.kkarte p { margin: 0 0 .3rem; font-size: .9375rem; line-height: 1.45; }
.kkarte a[href^="tel"] { white-space: nowrap; }
.kkarte__ico { color: var(--gruen); flex: none; }
.kkarte__ico .ico { width: 1.5rem; height: 1.5rem; }
.kkarte__titel { font-weight: 700; }
.kkarte__klein { font-size: .875rem !important; color: var(--text-2); }
.kkarte__mail { font-size: .875rem !important; }
.kkarte__aktion { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--link); font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
@media (min-width: 1100px) {
  .einstieg { margin-top: calc(-.55 * var(--wo)); }
  .einstieg__in { grid-template-columns: minmax(230px, 1fr) 3.2fr; align-items: start; padding-top: 0; column-gap: 2rem; }
  .einstieg__text { padding-top: calc(.55 * var(--wo) + 1rem); }
  .karten4 { grid-template-columns: repeat(4, 1fr); }
}
html.kontrast .kkarte { background: #000; border-color: #fff; }
.schnellband__in { max-width: var(--breite); margin: 0 auto; padding: .75rem var(--rand) 0; }
.abschnitt--oben { padding-top: 1rem; }
.schnell { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.schnell a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1rem; border-radius: 999px;
  background: var(--flaeche); border: 1.5px solid var(--linie); color: var(--text); font-weight: 700; text-decoration: none; font-size: 1rem;
}
.schnell a:hover { border-color: var(--gruen); color: var(--link); }
.schnell .ico { color: var(--gruen); }

.krumen { margin-bottom: 1rem; font-size: 1rem; }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.krumen li { display: inline-flex; align-items: center; gap: .25rem; }
.krumen li + li::before { content: '›'; margin: 0 .35rem; color: var(--text-2); font-size: 1.2em; }
.krumen a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
.krumen [aria-current] { color: var(--text-2); }

.hinweisbox { display: flex; gap: .75rem; align-items: flex-start; max-width: 70ch; background: #fff6de; border: 2px solid var(--orange); border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0; }
.hinweisbox .ico { width: 1.5em; height: 1.5em; margin-top: .1em; color: #8a4b00; }
.hinweisbox--positiv { background: #eef3e6; border-color: var(--gruen); }
.hinweisbox--positiv .ico { color: var(--gruen); }
.hinweisbox--klein { font-size: .9375rem; padding: .75rem 1rem; }

/* =========================================================================
   Abschnitte
   ========================================================================= */
.abschnitt { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.abschnitt--eng { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.abschnitt--hell { background: var(--flaeche); }
.abschnitt__in { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt__titel { display: flex; align-items: center; gap: .6rem; }
.abschnitt__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.abschnitt__kopf .abschnitt__titel { margin: 0; }
.titel-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gruen); color: #fff; }
.titel-ico .ico { width: 24px; height: 24px; }
.lesetext { max-width: 70ch; }
.lesetext h2 { margin-top: .5em; }
.lesetext h3 { margin-top: 1.4em; }
.liste { margin: 0; padding-left: 1.2em; }
.liste li { margin-bottom: .35em; }
.liste li::marker { color: var(--gruen); }
.randnotiz { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.5rem; color: var(--text-2); font-size: 1rem; }
.randnotiz .ico { margin-top: .15em; color: var(--gruen); }

/* --- Gebiete auf der Startseite --- */
.gebiete { display: grid; gap: 1.5rem; }
.gebiet { display: grid; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.gebiet__bild img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gebiet__text { padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.75rem; display: flex; flex-direction: column; align-items: flex-start; }
.gebiet__text p:not(.gebiet__art):not(.gebiet__hinweis) { flex: 1; }
.gebiet__art { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gruen); margin-bottom: .4rem; font-size: 1rem; }
.gebiet__hinweis { font-size: .875rem; color: var(--text-2); margin: .75rem 0 0; }
@media (min-width: 1000px) { .gebiete { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1240px) {
  .gebiet { grid-template-columns: 34% 1fr; }
  .gebiet__bild img { aspect-ratio: auto; }
}

/* --- Band (Dialogelement Hellgrüngelb) --- */
.band { margin: 1.5rem 0; }
.band .welle { color: var(--tint-sanft); height: var(--wb); }
.band .welle__tief { opacity: .45; }
.welle--band-oben { margin-bottom: -1px; }
.welle--band-unten { margin-top: -1px; }
.band__flaeche { background: var(--tint-sanft); position: relative; isolation: isolate; overflow-x: clip; }
.band__in { position: relative; }
.band__in { max-width: var(--breite); margin: 0 auto; padding: 1rem var(--rand) 1.5rem; display: grid; gap: 2rem; align-items: center; }
.band__text h2 { margin-top: 1rem; }
.band__text p { max-width: 56ch; }
.band__wichtig { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; }
.band__wichtig .ico { width: 1.4em; height: 1.4em; flex: none; margin-top: .1em; }
.band__bild { margin: 0; }
.band__bild img { border-radius: 24px 24px 24px 80px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band__bild figcaption { font-size: .9375rem; margin-top: .5rem; }
@media (min-width: 1000px) { .band__in { grid-template-columns: 1fr 1fr; gap: 4.5rem; padding-block: 1.5rem 2.5rem; } }

/* --- Meldungen --- */
.meldungen { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .meldungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .meldungen { grid-template-columns: repeat(3, 1fr); } }
.meldung { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten); }
.meldung__bild { position: relative; }
.meldung__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meldung__datum { position: absolute; left: 1rem; bottom: -1.25rem; margin: 0; background: #fff; border: 2px solid var(--gruen); border-radius: 12px; padding: .35rem .7rem; text-align: center; line-height: 1.05; min-width: 64px; }
.meldung__datum time { display: flex; flex-direction: column; }
.meldung__tag { font-size: 1.75rem; font-weight: 700; }
.meldung__monat { font-size: .9375rem; font-weight: 700; text-transform: uppercase; color: var(--gruen); }
.meldung__datum--neu { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--gruen); padding: .5rem .8rem; }
.meldung__text { padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.meldung__art { font-size: .9375rem; font-weight: 700; color: var(--gruen); margin-bottom: .25rem; }
.meldung__titel { font-size: 1.3125rem; }
.meldung__zeile { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .35rem; font-size: 1rem; }
.meldung__zeile .ico { color: var(--gruen); margin-top: .15em; }
.meldung__text > p:last-of-type { flex: 1; margin-top: .5rem; }

/* --- Steckbrief --- */
.steckbrief { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 700px) { .steckbrief { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .steckbrief { grid-template-columns: repeat(4, 1fr); } }
.fakt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--schatten); }
.fakt__titel { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.25rem; margin-bottom: .6rem; }
.fakt__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eef3e6; color: var(--gruen); flex: none; }
.fakt dd { margin: 0; }
.fakt dd p:last-child { margin-bottom: 0; }
.fakt__zahl { font-size: 1.5rem; font-weight: 700; margin-bottom: .2em; }

/* --- Überblick + Themen --- */
.ueberblick { display: grid; gap: 2.5rem; }
@media (min-width: 1100px) { .ueberblick { grid-template-columns: 1fr 360px; align-items: start; } }
.themen { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 760px) { .themen { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) and (max-width: 1099px) { .themen { grid-template-columns: 1fr; } }
.thema { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten); }
.thema__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.thema__text { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.thema__titel { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.thema__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gruen); color: #fff; flex: none; }
.thema__ico .ico { width: 22px; height: 22px; }
.thema__text > p { flex: 1; }
.mehr { width: 100%; margin-bottom: 1rem; }
.mehr summary, .faq summary { list-style: none; cursor: pointer; }
.mehr summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.mehr summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.mehr__chev, .faq__chev { transition: transform .25s; }
.mehr[open] .mehr__chev, .faq__item[open] .faq__chev { transform: rotate(180deg); }
.mehr__inhalt { padding-top: .25rem; font-size: 1rem; }

.seitenkarte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--schatten); margin-bottom: 1.25rem; }
.seitenkarte img { border-radius: 12px; margin: .25rem 0 1rem; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.seitenkarte__art { font-weight: 700; color: var(--gruen); margin-bottom: .25rem; }
.seitenkarte__titel { font-size: 1.3125rem; display: flex; align-items: center; gap: .5rem; }

.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.download { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem .75rem; border-radius: 10px; border: 1.5px solid var(--linie); background: #fff; text-decoration: none; color: var(--text); min-height: 48px; }
.download:hover { border-color: var(--gruen); background: #f5f8ef; }
.download > .ico { color: var(--gruen); width: 1.4em; height: 1.4em; margin-top: .1em; }
.download__titel { display: block; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
.download__meta { display: block; font-size: .875rem; color: var(--text-2); }
.downloads--kompakt { margin-top: .75rem; width: 100%; }

/* --- Kartenmodul --- */
.kartenmodul { display: grid; gap: 1.5rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--schatten); }
@media (min-width: 1000px) { .kartenmodul { grid-template-columns: 380px 1fr; align-items: start; gap: 2.5rem; } }
.kartenmodul__text h2 { margin-top: 1rem; }
.karte { position: relative; border-radius: 16px; overflow: hidden; background: #eef1e6; border: 1px solid var(--linie); height: clamp(320px, 42vw, 520px); }
.karte--klein { height: 300px; }
.karte__vorschau { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; background: repeating-linear-gradient(135deg, #f1f3ea 0 14px, #e9ede0 14px 28px); }
.vorschau { width: 100%; height: 100%; }
.vorschau__gebiet { stroke-width: 3; stroke-linejoin: round; }
.vorschau__gebiet--kh { fill: rgba(215, 62, 106, .18); stroke: #962e45; }
.vorschau__gebiet--gh { fill: rgba(68, 100, 40, .2); stroke: var(--gruen); }
.vorschau__punkt--aussicht { fill: var(--orange); stroke: #141414; stroke-width: 3; }
.vorschau__punkt--verwaltung { fill: #23538a; stroke: #fff; stroke-width: 3; }
.vorschau__label { font: 700 30px var(--schrift); fill: #141414; paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.karte__vorschau-hinweis { position: absolute; left: .75rem; bottom: .5rem; margin: 0; font-size: .8125rem; background: rgba(255, 255, 255, .9); padding: .15rem .5rem; border-radius: 6px; }
.karte__platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem; background: repeating-linear-gradient(135deg, #f1f3ea 0 14px, #e9ede0 14px 28px); }
.karte__platzhalter p { margin: 0; }
.legende { border: 0; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.legende legend { font-weight: 700; margin-bottom: .25rem; padding: 0; }
.legende label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: 1rem; cursor: pointer; }
.legende input { width: 22px; height: 22px; accent-color: var(--gruen); }
.legende__bald { color: #5d5d5d; cursor: default !important; }
.legende__bald em { background: #efece4; }
.legende__farbe { width: 22px; height: 14px; border-radius: 4px; display: inline-block; }
.legende__farbe--grenze { border: 3px solid #962e45; background: rgba(215, 62, 106, .18); }
.legende__farbe--aussicht { background: var(--orange); border: 2px solid #141414; border-radius: 50%; width: 16px; height: 16px; }
.legende__farbe--verwaltung { background: #23538a; border-radius: 50%; width: 16px; height: 16px; }
.legende__farbe--pfad { background: repeating-linear-gradient(90deg, #f07f3c 0 6px, transparent 6px 10px); height: 4px; }
.legende__farbe--gesperrt { background: repeating-linear-gradient(90deg, #d63146 0 4px, transparent 4px 8px); height: 4px; }
.karte__quelle { margin-top: .5rem; }
.leaflet-container { font-family: var(--schrift); font-size: 1rem; }
.leaflet-popup-content { font-size: 1rem; line-height: 1.45; margin: 14px 18px; }
.leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; font-size: 22px !important; }

/* --- Besucherpfade --- */
.pfade { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .pfade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .pfade--drei { grid-template-columns: repeat(3, 1fr); } }
.pfad { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten); scroll-margin-top: 1rem; }
.pfad__bild { position: relative; }
.pfad__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pfad__art { position: absolute; left: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: #141414; font-weight: 700; font-size: .9375rem; padding: .3rem .75rem .3rem .55rem; border-radius: 999px; border: 2px solid var(--gruen); }
.pfad__art .ico { color: var(--gruen); }
.pfad__text { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.pfad__titel { font-size: 1.375rem; margin-bottom: .4rem; }
.pfad__status { display: flex; gap: .5rem; align-items: center; font-weight: 700; font-size: .9375rem; background: #eef3e6; color: #2d4a14; border-radius: 8px; padding: .3rem .6rem; }
.pfad__fakten { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pfad__fakten li { font-size: .9375rem; font-weight: 700; background: #f3f0e8; border-radius: 8px; padding: .25rem .6rem; }
.pfad__text > p:not(.pfad__status) { flex: 1; }
.weitere { margin-top: 2rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; }
.weitere__titel { font-size: 1.25rem; }
.weitere__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.weitere__liste li { display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.weitere__liste li:first-child { border-top: 0; padding-top: 0; }
.weitere__name { font-size: 1.125rem; margin: 0 0 .2rem; }
.weitere__liste p { margin: 0; }
@media (min-width: 900px) { .weitere__liste li { grid-template-columns: 1fr 320px; align-items: center; } }
.fuehrung { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .fuehrung { grid-template-columns: 1fr auto; align-items: center; } }
.fuehrung p { max-width: 62ch; }
.fuehrung__aktion { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }

/* --- Kontakt --- */
.kontaktkacheln { display: grid; gap: 1rem; }
@media (min-width: 700px) { .kontaktkacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .kontaktkacheln { grid-template-columns: repeat(4, 1fr); } }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--schatten); }
.kachel p:last-child { margin-bottom: 0; }
.kachel__titel { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.125rem; }
.kachel__titel .ico { color: var(--gruen); width: 1.5em; height: 1.5em; }
.kachel__gross { font-size: 1.375rem; font-weight: 700; }
.bereiche { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .bereiche { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .bereiche { grid-template-columns: repeat(4, 1fr); } }
.bereich { background: var(--flaeche); border: 1px solid var(--linie); border-left: 6px solid var(--gruen); border-radius: 12px; padding: 1.1rem 1.25rem; }
.bereich__titel { font-size: 1.1875rem; }
.bereich__zeile { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .35rem; }
.bereich__zeile .ico { color: var(--gruen); margin-top: .2em; }
.bereich__bald { margin-bottom: .25rem; }
.bereich__bald em { background: #efece4; }
.kontaktraster { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .kontaktraster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .kontaktraster { grid-template-columns: 1fr 1.1fr 1fr; align-items: start; } }
.box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--schatten); }
.box__titel { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; }
.box__titel .ico { color: var(--gruen); width: 1.2em; height: 1.2em; }
.box .karte { margin-bottom: 1rem; }
.box .knopfreihe { margin: 1rem 0; }
.aussenstelle { margin: 0; }
.formular { display: grid; gap: 1rem; }
.feld { display: grid; gap: .35rem; }
.feld label { font-weight: 700; }
.pflicht { color: #a02020; }
.feld input, .feld textarea { width: 100%; min-height: 48px; padding: .6rem .9rem; border: 2px solid #6b6b6b; border-radius: 10px; background: #fff; font-size: 1.0625rem; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus-visible, .feld textarea:focus-visible { border-color: var(--gruen); }
.feld [aria-invalid="true"] { border-color: #a02020; background: #fff5f5; }
.feld__fehler { color: #a02020; font-weight: 700; font-size: .9375rem; margin: 0; }
.formular__status:not(:empty) { border-radius: 10px; padding: .9rem 1rem; background: #eef3e6; border: 2px solid var(--gruen); }
.faq { display: grid; gap: .5rem; margin-bottom: 1rem; }
.faq__item { border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; }
.faq__item[open] { border-color: var(--gruen); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 52px; padding: .6rem 1rem; font-weight: 700; }
.faq summary:hover { color: var(--link); }
.faq__chev { width: 1.3em; height: 1.3em; flex: none; color: var(--gruen); }
.faq__antwort { padding: 0 1rem .5rem; font-size: 1rem; }

/* --- Tabelle Bildnachweise --- */
.tabelle-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--linie); border-radius: 12px; background: #fff; }
.tabelle { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .9375rem; }
.tabelle th, .tabelle td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle th { background: #f3f0e8; }
.tabelle img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }

/* =========================================================================
   Kontaktband und Fuß
   ========================================================================= */
.kontaktband { padding: 2.5rem 0 0; position: relative; z-index: 2; overflow-x: clip; }
.kontaktband__in {
  max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand) 1rem; display: grid; gap: 1.25rem 2.5rem; align-items: start;
}
.kontaktband__kopf { display: flex; gap: 1rem; align-items: flex-start; }
.kontaktband__kopf p { margin: 0; font-size: 1rem; }
.kontaktband__titel { font-size: 1.25rem; margin-bottom: .2rem; }
.kontaktband__spalte { display: grid; gap: .5rem; align-content: start; justify-items: start; }
.kz { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: 1rem; }
.kz .ico { color: var(--gruen); margin-top: .2em; }
.kz__nowrap { white-space: nowrap; }
.kontaktband__schnell-titel { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.125rem; margin: 0 0 .5rem; }
.rund-ico--klein { width: 36px; height: 36px; }
.rund-ico--klein .ico { width: 20px; height: 20px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--linie); background: var(--flaeche); color: var(--text); font-size: .9375rem; font-weight: 700; text-decoration: none;
}
.chips a:hover { border-color: var(--gruen); color: var(--link); }
@media (min-width: 800px) { .kontaktband__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1150px) { .kontaktband__in { grid-template-columns: 1.5fr .9fr 1.4fr 1.4fr; } }

/* Fuß: grüne Hügelkante mit Nadelbäumen */
.fuss { position: relative; margin-top: 1rem; color: #fff; }
.fuss__flaeche { background: linear-gradient(180deg, var(--gruen-hell) 0%, var(--gruen) 60%); margin-top: -1px; }
/* Stilisierter Horizont: ferne Baumreihe (hell), Hügel, nahe Waldgruppen (dunkel) */
.landschaft { display: block; width: 100%; height: auto; }
.landschaft__fern { fill: var(--gruen-hell); opacity: .2; }
.landschaft__huegel { fill: var(--gruen-hell); }
.landschaft__wald { fill: var(--gruen-hell); }
.landschaft__voegel { fill: none; stroke: #8a7446; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .38; }
.fuss__in { position: relative; z-index: 2; max-width: var(--breite); margin: 0 auto; padding: .5rem var(--rand) 2rem; }
.fuss__nav { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.fuss__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.fuss__nav li { display: flex; align-items: center; }
.fuss__nav li + li::before { content: ''; width: 1px; height: 1.1em; background: rgba(255, 255, 255, .45); margin: 0 1.1rem; }
.fuss__nav a, .fuss__bald { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-size: 1rem; }
.fuss__bald { color: rgba(255, 255, 255, .88); }
.fuss a { color: #fff; }
.fuss p { margin-bottom: .5rem; }
.fuss__raster { display: grid; gap: 1.25rem; padding-top: 1.25rem; align-items: center; }
@media (min-width: 900px) { .fuss__raster { grid-template-columns: 1fr auto; } }
.fuss__titel { font-weight: 700; font-size: 1.125rem; }
.fuss__signets { display: flex; align-items: center; margin: -1rem 0 -1rem -1.1rem; }
.fuss__signets img { height: 88px; width: auto; }
@media (min-width: 900px) { .fuss__signets { margin: -1rem -1.1rem -1rem 0; } }
.fuss__demo { font-size: .875rem; margin-top: 1rem; opacity: .95; text-align: center; }
@media (max-width: 699px) {
  .fuss__nav ul { flex-direction: column; align-items: flex-start; }
  .fuss__nav li + li::before { display: none; }
  .fuss__demo { text-align: left; }
}
html.kontrast .landschaft__fern { display: none; }
html.kontrast .landschaft__wald { fill: #000; }
html.kontrast .landschaft__voegel { display: none; }

/* =========================================================================
   Dialoge
   ========================================================================= */
.dialog { border: 0; border-radius: 18px; padding: 1.75rem; max-width: min(520px, calc(100vw - 2rem)); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); color: var(--text); background: #fff; }
.dialog::backdrop { background: rgba(20, 20, 20, .55); }
.dialog h2 { font-size: 1.5rem; }
.dialog__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* =========================================================================
   Hoher Kontrast
   ========================================================================= */
html.kontrast {
  --gruen: #000; --text: #fff; --text-2: #fff; --bg: #000; --flaeche: #000; --linie: #fff; --link: #ffe600;
  --tint: #000; --tint-sanft: #000; --gruen-hell: #000; --orange: #ffe600; --orange-hell: #fff; --fokus-innen: #000; --fokus-aussen: #ffe600; --schatten: none;
}
html.kontrast body { background: #000; color: #fff; }
html.kontrast a { color: #ffe600; }
html.kontrast .btn--primaer { background: #ffe600; color: #000; border-color: #ffe600; }
html.kontrast .btn--sekundaer { background: #000; color: #ffe600; border-color: #ffe600; }
html.kontrast .warn, html.kontrast .warn__link { background: #ffe600; color: #000; }
html.kontrast .warn a { color: #000; }
html.kontrast .kopf__flaeche, html.kontrast .fuss__flaeche { border-bottom: 2px solid #fff; }
html.kontrast .band .welle { color: #000; }
html.kontrast .band__flaeche { border-block: 2px solid #fff; }
html.kontrast .hinweisbox, html.kontrast .pfad__status, html.kontrast .pfad__fakten li, html.kontrast .fakt__ico, html.kontrast .hinweisbox--positiv { background: #000; color: #fff; border-color: #fff; }
html.kontrast .hinweisbox .ico, html.kontrast .ico { color: inherit; }
html.kontrast .meldung__datum, html.kontrast .pfad__art, html.kontrast .schnell a, html.kontrast .download, html.kontrast .faq__item, html.kontrast .feld input, html.kontrast .feld textarea, html.kontrast .suche__feld, html.kontrast .tabelle-wrap, html.kontrast .tabelle th { background: #000; color: #fff; border-color: #fff; }
html.kontrast .marke { background: #fff; }
html.kontrast .haupt__sub, html.kontrast .suche__ergebnis, html.kontrast .dialog { background: #000; color: #fff; border: 2px solid #fff; }
html.kontrast .haupt__sub a, html.kontrast .suche__ergebnis a { color: #ffe600; }
html.kontrast .menue-btn, html.kontrast .dia__pause { background: #ffe600; color: #000; border-color: #000; }
html.kontrast .hilfe[aria-pressed="true"] { background: #ffe600; color: #000; }
html.kontrast .karte__vorschau, html.kontrast .karte__platzhalter { background: #fff; color: #000; }
html.kontrast .klein, html.kontrast .download__meta, html.kontrast .haupt__bald, html.kontrast .fuss__bald { color: #fff; }
html.kontrast .suche__feld::placeholder { color: #ddd; }

/* =========================================================================
   Bewegung reduzieren
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .warn, .menue, .menue-btn, .dia, .welle, .kontaktband, .fuss__nav, dialog { display: none !important; }
}

@media (max-width: 899px) { .fuss__signets { flex-wrap: wrap; } .fuss__signets img { height: 70px; } }

/* =========================================================================
   Pflanzen-Dekoration – einfarbige Masken, Farbe und Deckkraft per CSS
   ========================================================================= */
.abschnitt, .einstieg, .kontaktband, .intro--404 { isolation: isolate; }
.abschnitt, .intro--404 { position: relative; overflow-x: clip; }
.deko {
  position: absolute; z-index: -1; pointer-events: none; width: calc(var(--b) * .8); opacity: calc(var(--o) * .85);
  aspect-ratio: var(--ar); background-color: var(--df);
  -webkit-mask: var(--m) no-repeat 50% 100% / contain; mask: var(--m) no-repeat 50% 100% / contain;
}
.dia .deko { z-index: 3; }
.dia__text { z-index: 4; }
.deko--heide-locker { --m: url('/img/deko/heide-locker.svg'); --ar: 320 / 220; }
.deko--heide-busch { --m: url('/img/deko/heide-busch.svg'); --ar: 300 / 120; }
.deko--graeser-dicht { --m: url('/img/deko/graeser-dicht.svg'); --ar: 300 / 180; }
.deko--graeser-hoch { --m: url('/img/deko/graeser-hoch.svg'); --ar: 220 / 240; }
.deko--schilf { --m: url('/img/deko/schilf.svg'); --ar: 220 / 260; }
.deko--farn { --m: url('/img/deko/farn.svg'); --ar: 260 / 220; }
.deko--birkenzweig { --m: url('/img/deko/birkenzweig.svg'); --ar: 280 / 220; -webkit-mask-position: 50% 0; mask-position: 50% 0; }
.deko--wildkraut { --m: url('/img/deko/wildkraut.svg'); --ar: 220 / 210; }
.deko--baumgruppe { --m: url('/img/deko/baumgruppe.svg'); --ar: 320 / 152; }
.deko--voegel { --m: url('/img/deko/voegel.svg'); --ar: 200 / 90; }
.deko--topo { --m: url('/img/deko/topo.svg'); --ar: 420 / 300; }
.deko--sand { --df: #8a7446; }
.deko--oliv { --df: #5d6b2e; }
.deko--salbei { --df: #3f5a3a; }
.deko--creme { --df: var(--bg); }
@media (max-width: 699px) {
  .deko { width: calc(var(--b) * .5); }
  .deko--nur-gross { display: none; }
}
html.kontrast .deko { display: none; }
@media print { .deko { display: none; } }

/* Zwischen 1340 und 1499 px: Hauptnavigation zweizeilig (wie Anlage 5a), damit die Signets daneben Platz haben */
@media (min-width: 1340px) and (max-width: 1639px) {
  .haupt__umbruch { display: block; }
  .haupt__btn { text-align: left; align-items: flex-end; }
  .suche { width: 160px; }
  .hilfen { gap: .2rem; }
  .leiste { gap: .25rem .4rem; }
  .leiste__link { padding: 0 .55rem; }
  .hilfen .leiste__icon { padding: 0 .2rem; }
}
