/* Zusätze zur Divi-Seite: Landingpages, Fußzeile, Anfahrt */
:root { --wf-gruen: #364F00; --wf-gruen-dunkel: #263800; --wf-hell: #eef3e4; --wf-linie: #d9dccf; }

/* Landingpages */
.wf-landing .entry-title { color: var(--wf-gruen-dunkel); margin-bottom: 18px; }
.wf-landing h2 { color: var(--wf-gruen); font-weight: 700; font-size: 24px; margin: 1.6em 0 .5em; padding: 0; }
.wf-landing p, .wf-landing li { font-size: 16px; line-height: 1.75; }
.wf-brotkrumen { font-size: 14px; color: #5f5f5f; margin-bottom: 8px; }
.wf-brotkrumen a { color: var(--wf-gruen); }
.wf-einleitung { font-size: 18px !important; color: #333; }
.wf-titelbild { margin: 0 0 24px; }
.wf-titelbild img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 12px; }
.wf-liste { list-style: none !important; padding: 0 !important; margin: 0 0 1em !important; }
.wf-liste li { position: relative; padding: 0 0 .6em 28px !important; }
.wf-liste li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wf-gruen); font-weight: 700; }
.wf-schritte { padding-left: 1.4em !important; }
.wf-schritte li { padding-bottom: .5em; }
.wf-orte { display: flex; flex-wrap: wrap; gap: 8px; list-style: none !important; padding: 0 !important; margin: 0 0 1em !important; }
.wf-orte li { background: var(--wf-hell); color: var(--wf-gruen-dunkel); border-radius: 100px; padding: 4px 14px !important; font-size: 15px !important; }
.wf-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0 0 1.2em; }
.wf-kachel {
  display: block; padding: 18px; border: 2px solid var(--wf-linie); border-radius: 12px; background: #fff;
  color: #333 !important; text-decoration: none; transition: border-color .2s, transform .2s;
}
.wf-kachel:hover { border-color: var(--wf-gruen); transform: translateY(-2px); }
.wf-kachel strong { display: block; color: var(--wf-gruen); font-size: 18px; margin-bottom: 4px; }
.wf-kachel span { font-size: 15px; line-height: 1.5; }
.wf-tabelle { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.wf-tabelle th, .wf-tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--wf-linie); }
.wf-tabelle th { background: var(--wf-hell); color: var(--wf-gruen-dunkel); }
.wf-hinweis { font-size: 14px !important; color: #666; border-left: 4px solid var(--wf-linie); padding: 4px 0 4px 14px !important; margin-top: 2em; }
.wf-klein { font-size: 14px !important; color: #555; }

/* Knöpfe */
.wf-knopf {
  display: inline-block; background: var(--wf-gruen); color: #fff !important; border: 2px solid var(--wf-gruen);
  border-radius: 100px; padding: 10px 22px; font-weight: 600; text-decoration: none; cursor: pointer;
  font-size: 15px; line-height: 1.4; transition: background .2s;
}
.wf-knopf:hover { background: var(--wf-gruen-dunkel); border-color: var(--wf-gruen-dunkel); }
.wf-knopf-hell { background: #fff; color: var(--wf-gruen) !important; }
.wf-knopf-hell:hover { background: var(--wf-hell); }
.wf-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-knoepfe-senkrecht { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }

/* Handlungsaufforderung */
.wf-cta { background: var(--wf-hell); border-radius: 12px; padding: 24px; margin: 2em 0 1em; }
.wf-cta-titel { font-size: 20px !important; font-weight: 700; color: var(--wf-gruen-dunkel); padding-bottom: 6px !important; }

/* FAQ */
.wf-faq details { border: 1px solid var(--wf-linie); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.wf-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--wf-gruen-dunkel); list-style: none; position: relative; padding-right: 44px; }
.wf-faq summary::-webkit-details-marker { display: none; }
.wf-faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 22px; color: var(--wf-gruen); }
.wf-faq details[open] summary::after { content: "–"; }
.wf-faq details p { padding: 0 18px 14px !important; margin: 0; }

/* Karten & Anfahrt */
.wf-karte { margin: 1em 0 1.4em; }
.wf-karte img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--wf-linie); }
.wf-karte figcaption { font-size: 14px; color: #666; padding-top: 6px; }
.wf-adresse { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; background: var(--wf-hell); border-radius: 12px; padding: 24px; }
.wf-maps {
  border: 2px dashed var(--wf-linie); border-radius: 12px; padding: 28px 20px; text-align: center; background: #fafaf7;
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.wf-maps.geladen { padding: 0; border: 0; background: none; }
.wf-maps iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.wf-termine ul { list-style: none !important; padding: 0 !important; display: grid; gap: 8px; }
.wf-termine li { background: #fff; border: 1px solid var(--wf-linie); border-radius: 10px; padding: 10px 14px !important; }
.wf-termine li strong { color: var(--wf-gruen-dunkel); }

/* Fußzeile */
.wf-fuss { background: #1f2a14; color: #d8dccd; padding: 48px 20px 16px; }
.wf-fuss-innen { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.wf-fuss p, .wf-fuss li { font-size: 15px; line-height: 1.7; color: #d8dccd; }
.wf-fuss a { color: #fff; }
.wf-fuss a:hover { text-decoration: underline; }
.wf-fuss ul { list-style: none; padding: 0; margin: 0; }
.wf-fuss-titel { font-size: 17px !important; font-weight: 700; color: #fff !important; padding-bottom: 8px !important; }
.wf-fuss .wf-knopf { background: #fff; color: var(--wf-gruen-dunkel) !important; border-color: #fff; }
.wf-fuss .wf-knopf:hover { background: var(--wf-hell); }
.wf-fuss-recht { max-width: 1080px; margin: 32px auto 0 !important; padding-top: 14px !important; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px !important; text-align: center; }

@media (max-width: 700px) {
  .wf-adresse { grid-template-columns: 1fr; }
  .wf-landing h2 { font-size: 21px; }
  .wf-tabelle { font-size: 14px; }
}

/* Überschrift und Links wie auf den übrigen Seiten */
.wf-landing .entry-title {
  font-family: 'Times New Roman', Georgia, serif; font-weight: 700; font-size: 36px; line-height: 1.2;
  color: #1f2a14; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 3px solid var(--wf-gruen);
  display: inline-block;
}
.wf-landing .entry-content a:not(.wf-knopf):not(.wf-kachel) { color: var(--wf-gruen); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wf-landing .entry-content a:not(.wf-knopf):not(.wf-kachel):hover { color: var(--wf-gruen-dunkel); }
@media (max-width: 700px) { .wf-landing .entry-title { font-size: 28px; } }

/* ================================================================ Barrierefreiheit */
.wf-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100000; background: #1f2a14; color: #fff !important;
  padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .15s;
}
.wf-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #7fa832 !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px rgba(255,255,255,.6);
}
/* Menü: kräftigeres Grün statt 60 % Deckkraft (Kontrast mind. 4,5:1) */
#top-menu > li > a, #top-menu .sub-menu a, .et_mobile_menu li a, .mobile_nav .select_page { color: #2f5d1c !important; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a { color: #004F0E !important; }
/* Kontaktformular: lesbare Platzhalter (sie sind die einzige sichtbare Beschriftung) */
.et_pb_contact_form input::placeholder, .et_pb_contact_form textarea::placeholder, .mc4wp-form input::placeholder { color: #5c5c5c !important; opacity: 1; }
.et_pb_contact_form input, .et_pb_contact_form textarea { color: #333 !important; }
/* weniger Bewegung, wenn im System gewünscht */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .et_animated, .et-waypoint { opacity: 1 !important; transform: none !important; }
  #simple-chat-button--button::before { animation: none !important; }
}

/* ================================================================ Hell/Dunkel-Umschalter */
.wf-thema-knopf {
  position: absolute; top: 50%; right: 18px; transform: translateY(-50%); z-index: 20;
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid #d9dccf; background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: #2f5d1c;
  transition: background .2s, border-color .2s;
}
.wf-thema-knopf:hover { border-color: #2f5d1c; }
.wf-thema-knopf svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .wf-thema-knopf { top: 16px; transform: none; right: 12px; } }
.wf-thema-wahl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.wf-thema-wahl span { font-size: 14px; margin-right: 4px; }
.wf-thema-wahl button {
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 100px;
  padding: 5px 12px; font: inherit; font-size: 14px; cursor: pointer;
}
.wf-thema-wahl button[aria-pressed="true"] { background: #fff; color: #1f2a14; font-weight: 700; }

/* ================================================================ Dunkelmodus: Grundlagen & eigene Bausteine
   (Die Divi-Farben werden beim Bauen automatisch umgerechnet, siehe _tools/dunkel.js) */
html[data-dunkel] { color-scheme: dark; background-color: #141610; }
html[data-dunkel] body, html[data-dunkel] #page-container { background-color: #141610; }
html[data-dunkel] #logo {
  background: #fff; border-radius: 10px; padding: 3px 8px; box-sizing: content-box;
}
html[data-dunkel] .wf-thema-knopf { background: #23281d; border-color: #48513b; color: #f2d36b; }
html[data-dunkel] #top-menu > li > a, html[data-dunkel] #top-menu .sub-menu a,
html[data-dunkel] .et_mobile_menu li a, html[data-dunkel] .mobile_nav .select_page { color: #b9dca0 !important; }
html[data-dunkel] #top-menu li.current-menu-item > a, html[data-dunkel] #top-menu li.current-menu-ancestor > a { color: #d8f0c4 !important; }
html[data-dunkel] .mobile_menu_bar:before { color: #b9dca0 !important; }
html[data-dunkel] .et_pb_contact_form input, html[data-dunkel] .et_pb_contact_form textarea,
html[data-dunkel] .mc4wp-form input[type=email] { background-color: #23281d !important; color: #e6e8e1 !important; }
html[data-dunkel] .et_pb_contact_form input::placeholder, html[data-dunkel] .et_pb_contact_form textarea::placeholder,
html[data-dunkel] .mc4wp-form input::placeholder { color: #a9ae9f !important; }
html[data-dunkel] .et_pb_contact_field_checkbox label i, html[data-dunkel] .et_pb_contact p input[type=checkbox]+label i { background-color: #23281d !important; }
html[data-dunkel] img:not(#logo) { filter: brightness(.92); }

/* Landingpages, Fußzeile, Karten */
html[data-dunkel] { --wf-gruen: #9ccc65; --wf-gruen-dunkel: #c5e3a5; --wf-hell: #1f2619; --wf-linie: #3a4230; }
html[data-dunkel] .wf-landing .entry-title { color: #eef1e8; border-bottom-color: #6f9a2e; }
html[data-dunkel] .wf-einleitung { color: #dfe2d8; }
html[data-dunkel] .wf-landing .entry-content a:not(.wf-knopf):not(.wf-kachel) { color: #b9dca0; }
html[data-dunkel] .wf-kachel { background: #1a1e15; color: #d7d9d3 !important; }
html[data-dunkel] .wf-faq details { background: #1a1e15; }
html[data-dunkel] .wf-maps { background: #1a1e15; }
html[data-dunkel] .wf-termine li { background: #1a1e15; }
html[data-dunkel] .wf-tabelle th { color: #dfe2d8; }
html[data-dunkel] .wf-hinweis, html[data-dunkel] .wf-klein, html[data-dunkel] .wf-karte figcaption, html[data-dunkel] .wf-brotkrumen { color: #a9ae9f; }
html[data-dunkel] .wf-knopf { background: #4f7a12; border-color: #4f7a12; color: #fff !important; }
html[data-dunkel] .wf-knopf:hover { background: #5f9016; border-color: #5f9016; }
html[data-dunkel] .wf-knopf-hell { background: transparent; color: #c5e3a5 !important; border-color: #6f9a2e; }
html[data-dunkel] .wf-fuss { background: #0c0e09; }
html[data-dunkel] .wf-karte img, html[data-dunkel] .wf-titelbild img { filter: brightness(.85); }

/* ================================================================ Design-Feinschliff (Grundlook bleibt) */

/* Textseiten ohne Seitenbaukasten (Rotwild, Rehwild, Jagd in Brandenburg …) – wie die neuen Seiten */
body:not(.et_pb_pagebuilder_layout) #left-area .entry-title.main_title {
  font-family: 'Times New Roman', Georgia, serif; font-weight: 700; font-size: 36px; line-height: 1.2; color: #1f2a14;
  display: inline-block; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 3px solid #364F00;
}
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content { max-width: 820px; }
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content p,
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content li { font-size: 16px; line-height: 1.75; }
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content h2,
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content h3 { color: #364F00; font-weight: 700; padding-top: .6em; }
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content .wp-block-list { padding-left: 0; list-style: none; }
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content .wp-block-list li {
  position: relative; padding: 0 0 .8em 24px;
}
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content .wp-block-list li::before {
  content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: #364F00;
}
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content figure img,
body:not(.et_pb_pagebuilder_layout) #left-area .entry-content .wp-block-image img { border-radius: 12px; }
body:not(.et_pb_pagebuilder_layout) #main-content .container { padding-top: 48px; }
body:not(.et_pb_pagebuilder_layout) #main-content .container::before { display: none; }   /* Trennlinie der Seitenleiste */
@media (max-width: 700px) {
  body:not(.et_pb_pagebuilder_layout) #left-area .entry-title.main_title { font-size: 28px; }
  body:not(.et_pb_pagebuilder_layout) #main-content .container { padding-top: 28px; }
}

/* "Wissenswertes zum Wildfleisch": angenehme Zeilenlänge, linksbündig */
.wf-lesetext { max-width: 760px; margin: 0 auto; text-align: left; }
.wf-lesetext p { font-size: 16px !important; line-height: 1.8 !important; padding-bottom: 1em !important; font-weight: 400 !important; }

/* Hinweis auf der Bestandsseite */
.wf-infobox {
  background: #eef3e4; border-left: 4px solid #364F00; border-radius: 0 10px 10px 0;
  padding: 14px 18px !important; margin: 1.4em 0 !important; color: #2b3320; font-weight: 500;
}
html[data-dunkel] .wf-infobox { background: #1f2619; color: #dfe2d8; border-left-color: #6f9a2e; }

/* Fußzeile im Grün der Seite (statt Schwarz-Oliv) */
.wf-fuss { background: #0b3d14; }
html[data-dunkel] .wf-fuss { background: #0a1f0d; }

/* Kontaktformular: etwas luftiger, Felder mit runden Ecken */
.et_pb_contact_form .input, .et_pb_contact_form textarea { border-radius: 10px !important; }
.et_pb_contact_field { margin-bottom: 4px; }

/* Bilder in Textmodulen: weiche Ecken */
.et_pb_image_wrap img { border-radius: 10px; }

/* Abschnitts-Überschriften mit Trennlinie: etwas mehr Luft */
.et_pb_divider { margin-bottom: 26px !important; }

/* WhatsApp-Knopf auf dem Handy nicht über Text und Warenkorb-Leiste */
@media (max-width: 600px) { #simple-chat-button--container { transform: scale(.85); transform-origin: left bottom; } }
#main-footer:empty { display: none; }
/* Textseiten: Inhaltsblock mittig statt links mit leerer rechter Hälfte */
body:not(.et_pb_pagebuilder_layout) #left-area { float: none; width: auto; max-width: 820px; margin: 0 auto; padding-right: 0 !important; }
/* Bestandsseite: Divi zog den folgenden Text mit negativem Abstand hoch (Ausgleich für die entfernten Leerzeilen) */
.et_pb_module:has(.wf-infobox) + .et_pb_module, .et_pb_module:has(#wildbestand) + .et_pb_module { margin-top: 0 !important; }
html[data-dunkel] body:not(.et_pb_pagebuilder_layout) #left-area .entry-title.main_title { color: #eef1e8; border-bottom-color: #6f9a2e; }
html[data-dunkel] body:not(.et_pb_pagebuilder_layout) #left-area .entry-content h2,
html[data-dunkel] body:not(.et_pb_pagebuilder_layout) #left-area .entry-content h3 { color: #b9dca0; }
html[data-dunkel] body:not(.et_pb_pagebuilder_layout) #left-area .entry-content .wp-block-list li::before { background: #9ccc65; }
