/* brokhausen.de auf TYPO3: Look der WordPress-Seite (MH Magazine + eigenes Zusätzliches CSS).
   Farben aus dem Logo: Grün #0d403d, Grün hell #17524e, Orange #f0641e, Sand #f3e9d2, Creme #fbf8f2.
   Maße an der Live-Seite gemessen (19.10.2026): Rahmen 1080 px, Menüband 40 px, Titelbild 250 px. */

/* Schriften, lokal im Paket */
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 700; font-display: swap; src: url(../Fonts/alegreya-700-normal-latin-ext-28d6d9.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 700; font-display: swap; src: url(../Fonts/alegreya-700-normal-latin-6aa350.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../Fonts/alegreya-sans-400-italic-latin-ext-b6c82a.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../Fonts/alegreya-sans-400-italic-latin-f32074.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../Fonts/alegreya-sans-400-normal-latin-ext-5a911c.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../Fonts/alegreya-sans-400-normal-latin-3a7094.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../Fonts/alegreya-sans-700-normal-latin-ext-b8800b.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../Fonts/alegreya-sans-700-normal-latin-cf71db.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bh-gruen: #0d403d;
  --bh-gruen-hell: #17524e;
  --bh-orange: #f0641e;
  --bh-sand: #f3e9d2;
  --bh-creme: #fbf8f2;
  --bh-grund: #f0f0f1;
  --bh-text: #2e2e2e;
  --bh-linie: #e6e1d6;
}

/* Grundlage */
body { background: var(--bh-grund); color: var(--bh-text); font-family: "Alegreya Sans", "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.6; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { font-family: "Alegreya", Georgia, serif; font-weight: 700; color: #000; line-height: 1.15; }
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 27px; }
h3, .h3 { font-size: 22px; }
h4 { font-size: 20px; }
a { color: var(--bh-gruen); }
.bh-inhalt a:hover, .bh-inhalt a:focus-visible, .bh-fuss a:hover, .bh-fuss a:focus-visible {
  color: var(--bh-gruen); background: var(--bh-sand); box-shadow: 0 0 0 2px var(--bh-sand); border-radius: 2px;
  text-decoration: underline; text-decoration-color: var(--bh-orange); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.bh-inhalt a:hover img { background: none; }
blockquote { background: var(--bh-sand); border-left: 5px solid var(--bh-gruen); padding: 14px 20px; border-radius: 0 3px 3px 0; font-style: italic; }
blockquote > :first-child { margin-top: 0; }
blockquote > :last-child { margin-bottom: 0; }

/* Kopf mit Logo */
.bh-kopf { text-align: center; padding: 25px 0; }
.bh-logo { display: inline-block; line-height: 0; }
.bh-logo-h1 { margin: 0; font-size: inherit; line-height: 0; }
.bh-logo img { width: 155px; height: auto; }

/* Rahmen */
.bh-rahmen { max-width: 1080px; margin: 0 auto 25px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .05); }

/* Menüband */
/* Menüband: eigenes schlankes Menü, Untermenüs öffnen sofort per CSS (kein Menü-Skript) */
.bh-nav { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--bh-gruen); min-height: 40px; }
.bh-menue-liste, .bh-untermenue { list-style: none; margin: 0; padding: 0; }
.bh-menue-liste { display: flex; flex-wrap: wrap; }
.bh-menue-punkt { position: relative; display: flex; align-items: stretch; }
.bh-menue-punkt > a { color: #fff; font-size: 13px; line-height: 40px; padding: 0 20px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.bh-hat-unter > a { padding-right: 32px; }
.bh-hat-unter > a::after { content: ""; position: absolute; right: 16px; top: 15px; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.bh-menue-punkt:hover, .bh-menue-punkt:focus-within, .bh-menue-punkt.bh-aktiv { background: var(--bh-gruen-hell); }
.bh-menue-punkt:hover > a, .bh-menue-punkt:focus-within > a, .bh-menue-punkt.bh-aktiv > a { box-shadow: inset 0 -3px 0 var(--bh-orange); }
.bh-unter-knopf { display: none; }
.bh-untermenue { display: none; position: absolute; top: 100%; left: 0; z-index: 100; min-width: 230px; padding: 6px 0; background: var(--bh-creme); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.bh-menue-punkt:hover > .bh-untermenue, .bh-menue-punkt:focus-within > .bh-untermenue { display: block; }
.bh-untermenue a { display: block; color: var(--bh-gruen); font-size: 13px; line-height: 1.4; padding: 10px 20px; text-transform: uppercase; text-decoration: none; }
.bh-untermenue a:hover, .bh-untermenue a:focus-visible, .bh-untermenue a[aria-current] { background: var(--bh-sand); box-shadow: inset 3px 0 0 var(--bh-orange); }
.bh-nav-rechts { margin-left: auto; display: flex; align-items: center; gap: 12px; padding: 0 20px; color: #fff; font-size: 13px; text-transform: uppercase; line-height: 40px; }
.bh-wetter-band { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; line-height: 1; }
.bh-wetter-band:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--bh-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bh-wetter-band svg { width: 18px; height: 18px; flex: none; }
.bh-nav-knopf { display: none; }

/* Titelbild und Wetterzeile */
.bh-titelbild { position: relative; line-height: 0; }
.bh-kopfbild { width: 100%; height: 250px; object-fit: cover; display: block; }
.bh-wetterzeile { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: stretch; background: linear-gradient(0deg, rgba(13, 64, 61, .8), rgba(13, 64, 61, .62)); color: #fff; line-height: 1.2; }
.bh-wetterzeile[hidden] { display: none; }
.bh-wetterzeile > div, .bh-wetterzeile > a { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-right: 1px solid rgba(255, 255, 255, .18); min-width: 0; }
.bh-wetterzeile > a { margin-left: auto; border-right: 0; color: #fff; font-weight: 700; text-decoration: none; }
.bh-wetterzeile > a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--bh-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bh-wetterzeile svg { width: 28px; height: 28px; flex: none; }
.bh-wetterzeile .t { display: block; font-weight: 700; font-size: 19px; line-height: 1.1; font-variant-numeric: lining-nums; }
.bh-wetterzeile .k { display: block; font-size: 13px; opacity: .9; }
.bh-warnung { display: flex; gap: 10px; align-items: flex-start; background: #f9e1d0; color: #4a1f13; border-left: 5px solid var(--bh-orange); padding: 10px 16px; font-size: 16px; line-height: 1.4; }
.bh-warnung svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }

/* Inhalt: die Rahmen des Bootstrap Package an den schmalen Rahmen anpassen */
.bh-inhalt { padding: 25px; }
.bh-inhalt .section, .bh-inhalt .frame { padding: 0; margin: 0 0 28px; background: none; }
.bh-inhalt .frame-container, .bh-inhalt .container, .bh-inhalt .container-fluid { max-width: none; width: auto; padding: 0; margin: 0; }
.bh-inhalt .frame-inner { padding: 0; }
.bh-inhalt p, .bh-inhalt li { font-size: 20px; line-height: 1.6; }
.bh-inhalt img { max-width: 100%; height: auto; }

/* Artikel: Startseite und Übersicht */
.bh-meta { font-size: 13px; color: var(--bh-text); display: flex; align-items: center; gap: 5px; margin: 6px 0 10px; }
.bh-meta svg { width: 13px; height: 13px; }
.bh-meta a { color: inherit; }
.bh-artikelliste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 3.52%; }
.bh-artikel { grid-column: span 2; margin-bottom: 28px; }
.bh-artikel-bild { position: relative; display: block; margin-bottom: 10px; line-height: 0; }
.bh-artikel-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bh-artikel-titel { font-size: 22px; margin: 0; }
.bh-inhalt .bh-artikel-titel a { color: #000; text-decoration: none; }
.bh-artikel-text p, .bh-artikel-text { font-size: 18px; margin: 0; }
.bh-artikel-mehr { white-space: nowrap; }
@media (min-width: 768px) {
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(1) { grid-column: 1 / -1; display: grid; grid-template-columns: 58% 1fr; column-gap: 32px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--bh-linie); }
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(1) .bh-artikel-bild { grid-row: 1 / span 4; margin: 0; }
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(1) .bh-artikel-titel { font-size: 36px; margin-top: 4px; }
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(1) .bh-artikel-text p { font-size: 20px; }
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(2), .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(3) { grid-column: span 3; }
  .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(2) .bh-artikel-titel, .bh-artikelliste.bh-mit-aufmacher .bh-artikel:nth-child(3) .bh-artikel-titel { font-size: 26px; }
}

/* Artikel: Einzelansicht */
.bh-beitrag-titel { font-size: 36px; margin: 0 0 6px; }
.bh-beitrag-bild { position: relative; margin: 0 0 20px; }
.bh-beitrag-bild img { width: 100%; height: auto; }
.bh-beitrag-bild figcaption { font-size: 14px; color: #555; padding-top: 4px; }
.bh-beitrag-text figure { margin: 1.2em 0; }
.bh-beitrag-text figcaption { font-size: 15px; color: #555; }
.bh-kategorien { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.bh-kategorien li { font-size: 14px; }
.bh-kategorien a { display: inline-block; background: var(--bh-creme); border: 1px solid var(--bh-linie); padding: 2px 10px; text-decoration: none; }

/* Fuß: Logo | Über brokhausen.de | Neu auf brokhausen.de | Statistik (am Tablet zwei mal zwei, am Handy untereinander) */
.bh-fuss { background: #d6d6d6; color: #555; font-size: 15px; }
.bh-fuss a { color: #333; }
.bh-fuss-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; padding: 25px 25px 20px; align-items: start; }
@media (min-width: 768px) and (max-width: 991.98px) { .bh-fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Inhaltselemente im Fuß ohne den Rahmenabstand des Bootstrap Package, damit alle Spalten oben bündig beginnen */
.bh-fuss .frame { padding: 0; margin: 0; background: none; }
.bh-fuss .frame-container { max-width: none; width: auto; padding: 0; margin: 0; }
.bh-fuss .frame-inner { padding: 0; }
.bh-neu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bh-neu a { display: block; font-size: 15px; line-height: 1.35; text-decoration: none; }
.bh-neu a:hover, .bh-neu a:focus-visible { text-decoration: underline; }
.bh-neu time { display: block; margin-top: 2px; font-size: 13px; color: #777; }
.bh-fuss-logo { text-align: center; padding-top: 20px; }
.bh-fuss-logo img { width: 190px; height: auto; }
.bh-fuss-titel { font-family: "Alegreya", Georgia, serif; font-size: 16px; font-weight: 700; text-transform: uppercase; color: #555; border-bottom: 3px solid #f1efeb; padding-bottom: 5px; margin: 0 0 20px; }
.bh-suche { display: flex; }
.bh-suche input { flex: 1; min-width: 0; border: 1px solid #ebebeb; background: #fff; padding: 8px 10px; font-size: 15px; color: #333; border-radius: 0; }
.bh-suche input::placeholder { text-transform: uppercase; color: #999; }
.bh-suche button { border: 0; background: var(--bh-gruen); color: #fff; padding: 0 14px; }
.bh-suche button:hover { background: var(--bh-gruen-hell); }
.bh-statistik ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.6; }
.bh-statistik b { font-weight: 400; }
.bh-statistik[hidden] { display: block; visibility: hidden; }
.bh-fuss-zeile { border-top: 3px solid #f1efeb; padding: 10px 25px; font-size: 14px; }
.bh-fuss-zeile p { margin: 0; }
.bh-fuss-zeile a { text-transform: uppercase; text-decoration: none; }
.bh-fuss-zeile a:hover { text-decoration: underline; }

/* Handy */
@media (max-width: 991.98px) {
  .bh-nav-knopf { display: inline-flex; align-items: center; gap: 8px; background: var(--bh-gruen-hell); color: #fff; border: 0; font-size: 14px; text-transform: uppercase; padding: 0 16px; line-height: 40px; }
  .bh-nav-knopf-striche { display: inline-block; flex: none; margin: 5px 0; width: 18px; height: 2px; background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
  .bh-menue { display: none; order: 3; flex-basis: 100%; }
  .bh-nav.bh-offen .bh-menue { display: block; }
  .bh-menue-liste { flex-direction: column; }
  .bh-menue-punkt { flex-wrap: wrap; }
  .bh-menue-punkt > a { flex: 1; }
  .bh-hat-unter > a::after { display: none; }
  .bh-unter-knopf { display: block; width: 48px; border: 0; background: none; position: relative; }
  .bh-unter-knopf::after { content: ""; position: absolute; left: 19px; top: 14px; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
  .bh-menue-punkt:hover > .bh-untermenue, .bh-menue-punkt:focus-within > .bh-untermenue { display: none; }
  .bh-untermenue { position: static; flex-basis: 100%; box-shadow: none; background: var(--bh-gruen); }
  .bh-menue-punkt.bh-unter-offen > .bh-untermenue { display: block; }
  .bh-untermenue a { color: #fff; }
  .bh-untermenue a:hover { background: var(--bh-gruen-hell); }
}
@media (max-width: 767px) {
  .bh-kopf { padding: 15px 0; }
  .bh-rahmen { margin-bottom: 0; }
  .bh-kopfbild { height: 140px; }
  .bh-wetterzeile { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .bh-wetterzeile > div { padding: 6px 8px; gap: 6px; }
  .bh-wetterzeile > div:nth-child(n+4) { display: none; }
  .bh-wetterzeile > div:nth-child(3) { border-right: 0; }
  .bh-wetterzeile > a { grid-column: 1 / -1; justify-content: center; margin-left: 0; padding: 6px 10px; border-top: 1px solid rgba(255, 255, 255, .18); }
  .bh-wetterzeile svg { width: 22px; height: 22px; }
  .bh-wetterzeile .t { font-size: 16px; }
  .bh-wetterzeile .k { font-size: 12px; }
  .bh-inhalt { padding: 16px; }
  h1, .bh-beitrag-titel { font-size: 28px; }
  .bh-artikelliste { display: block; }
  .bh-artikel-titel { font-size: 22px; }
  .bh-fuss-spalten { grid-template-columns: 1fr; }
}

/* Bilder groß anzeigen */
.bh-inhalt a[href$=".jpg"], .bh-inhalt a[href$=".jpeg"], .bh-inhalt a[href$=".png"], .bh-inhalt a[href$=".webp"] { cursor: zoom-in; }
.bh-lupe { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(8, 26, 25, .92); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; cursor: zoom-out; }
.bh-lupe.bh-offen { opacity: 1; visibility: visible; transition: opacity .25s ease; }
html.bh-lupe-offen { overflow: hidden; }
.bh-lupe-rahmen { margin: 0; max-width: 96vw; text-align: center; transform: scale(.96); transition: transform .25s ease; }
.bh-lupe.bh-offen .bh-lupe-rahmen { transform: scale(1); }
.bh-lupe img { display: block; max-width: 96vw; max-height: 88vh; width: auto; height: auto; margin: 0 auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); cursor: default; transition: opacity .2s ease; }
.bh-lupe.bh-laedt img { opacity: .3; }
.bh-lupe figcaption { color: #f3e9d2; font-size: 16px; line-height: 1.4; padding: 12px 8px 0; max-width: 80ch; margin: 0 auto; }
.bh-lupe button { position: absolute; border: 0; background: rgba(13, 64, 61, .75); color: #fff; font-size: 34px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.bh-lupe button:hover, .bh-lupe button:focus-visible { background: #f0641e; outline: none; }
.bh-lupe-zu { top: 16px; right: 16px; }
.bh-lupe-zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.bh-lupe-vor { right: 16px; top: 50%; transform: translateY(-50%); }
.bh-lupe-einzeln .bh-lupe-zurueck, .bh-lupe-einzeln .bh-lupe-vor { display: none; }
.bh-lupe-zahl { position: absolute; top: 26px; left: 24px; color: #f3e9d2; font-size: 14px; letter-spacing: .05em; }
@media (max-width: 767px) { .bh-lupe-zurueck, .bh-lupe-vor { top: auto; bottom: 16px; transform: none; } }

/* Suche: Treffer wie die Artikelliste */
.bh-treffer { padding: 18px 0; border-bottom: 1px solid var(--bh-linie); }
.bh-treffer-titel { font-size: 22px; margin: 0 0 6px; }
.bh-treffer-titel a { color: #000; text-decoration: none; }
.bh-inhalt p.bh-treffer-text { font-size: 18px; margin: 0; }
.bh-treffer .bh-meta { margin: 8px 0 0; }

/* Ortsteilkarte Detmold (aus der WordPress-Seite „Detmold-Brokhausen“; der SVG-Filter von TYPO3 entfernt eingebettete Stile) */
.ot-karte{margin:1.5em 0}
.ot-karte svg{display:block;width:100%;height:auto;background:#f7f3ec;border-radius:6px;padding:12px;box-sizing:border-box}
.ot-karte .gl{fill:none;stroke:#6a6258;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.ot-karte .hf{fill:#d9c6b6}
.ot-karte text{font:8.5px "JetBrains Mono",ui-monospace,Menlo,Consolas,"DejaVu Sans Mono",monospace;fill:#2a2724;text-anchor:middle;dominant-baseline:central}
.ot-karte text.bh{font-weight:700;fill:#171512}
.ot-karte figcaption{font-size:.85em;opacity:.75;margin-top:.5em}
.bh-inhalt .ot-karte text { font-size: 8.5px; }


/* Termine: übernommen aus brokhausen-kalender.php (WordPress 1.8), dort per wp_head/wp_footer */
.bh-legende i,.bh-punkte i{content:"";display:inline-block;width:.8em;height:.8em;border-radius:2px;background:var(--bh-tonne)}
.bh-tonne-rest,.bh-p-rest{--bh-tonne:#5f6368;--bh-tonne-flaeche:#eeeeec}
.bh-tonne-bio,.bh-p-bio{--bh-tonne:#4f7a3a;--bh-tonne-flaeche:#eaf1e4}
.bh-tonne-papier,.bh-p-papier{--bh-tonne:#2f5f8f;--bh-tonne-flaeche:#e6edf4}
.bh-tonne-gelb,.bh-p-gelb{--bh-tonne:#e0b400;--bh-tonne-flaeche:#fbf4d6}
.bh-ruhig-himmel{--bh-ruhig:#2f4f6f;--bh-ruhig-wort:"Himmel"}
.bh-ruhig-bauern{--bh-ruhig:#6b7d3a;--bh-ruhig-wort:"Bauernkalender"}
.bh-ruhig-jubilaeum{--bh-ruhig:#c94f10;--bh-ruhig-wort:"Jubiläum"}
.bh-ruhig-zeit{--bh-ruhig:#5c6f7d;--bh-ruhig-wort:"Zeitumstellung"}
.bh-p-hinweis{--bh-tonne:#2f4f6f;border-radius:50%!important}
.bh-monat td.bh-ferien{background:#e3e9ed}
.bh-l-ferien{background:#e3e9ed;color:#2b2b2b}
.bh-termine-liste .ics-calendar-list-wrapper{column-count:2;column-gap:2.5rem}
.bh-termine-liste .ics-calendar-date-wrapper{break-inside:avoid}
.bh-termine-liste dd{display:block;list-style:none}
.bh-termine-liste .ics-calendar-label{break-after:avoid;margin-top:0}
.bh-monate:empty{min-height:15rem}
.bh-monatsblaetter{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:1.5rem 0 .5rem}
.bh-monat h3{font-size:1.05em;margin:0 0 .4em}
.bh-monat table{width:100%;border-collapse:separate;border-spacing:2px;table-layout:fixed;margin:0;border:0}
.bh-monat thead,.bh-monat tbody,.bh-monat tr{border:0;background:none}
.bh-monat th{font-size:.75em;font-weight:400;color:#6b6b6b;text-align:center;padding:0 0 .2em;border:0;background:none}
.bh-monat td{text-align:center;vertical-align:top;padding:.2em 0 .15em;border:0;border-radius:4px;background:#fbf8f2;height:2.6em;line-height:1.2}
.bh-monat td:empty{background:none}
.bh-zahl{display:block;font-size:.9em}
.bh-punkte{display:flex;justify-content:center;gap:2px;margin-top:2px;min-height:.55em}
.bh-punkte i{width:.55em;height:.55em}
.bh-vorbei{opacity:.45}
.bh-heute{outline:2px solid #0d403d;outline-offset:-2px}
.bh-feiertag .bh-zahl{color:#c94f10;font-weight:700}
.bh-monat td.bh-eigen{background:#0d403d}
.bh-monat td.bh-eigen .bh-zahl{color:#fbf8f2;font-weight:700}
.bh-monat td.bh-eigen.bh-heute{outline-color:#f0641e}
.bh-legende{display:flex;flex-wrap:wrap;gap:.4em 1.2em;font-size:.85em;margin:0 0 1.5rem}
.bh-legende span{display:inline-flex;align-items:center;gap:.35em}
.bh-legende b{display:inline-block;min-width:1.4em;text-align:center;border-radius:3px;font-size:.85em;padding:0 .2em}
.bh-l-feiertag{color:#c94f10;background:#fbf8f2}
.bh-l-eigen{color:#fbf8f2;background:#0d403d}
@media (max-width:767px){
.bh-monatsblaetter{grid-template-columns:1fr;gap:1rem}
.bh-monat:nth-child(3){display:none}
.bh-termine-liste .ics-calendar-list-wrapper{column-count:1}
}
.bh-terminleiste{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:6px 14px;background:#f3e9d2;color:#2b2b2b;padding:9px 16px;font-size:16px;line-height:1.3}
.bh-tl-z{display:flex;align-items:center;gap:6px 12px;white-space:nowrap;overflow:hidden;min-width:0}
.bh-tl-z2{grid-column:2/4}
.bh-tl-k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0d403d}
.bh-tl-sep{color:#8a7a5c}
.bh-tl-abfuhr{display:inline-flex;align-items:center;gap:5px}
.bh-tl-abfuhr i{display:inline-block;width:.8em;height:.8em;border-radius:2px;background:var(--bh-tonne);margin-left:3px}
.bh-tl-abfuhr .bh-p-rest{--bh-tonne:#5f6368}.bh-tl-abfuhr .bh-p-bio{--bh-tonne:#4f7a3a}.bh-tl-abfuhr .bh-p-papier{--bh-tonne:#2f5f8f}.bh-tl-abfuhr .bh-p-gelb{--bh-tonne:#e0b400}
.bh-tl-feiertag{color:#c94f10;font-weight:700}
.bh-tl-hinweis{color:#2f4f6f;font-weight:700}
.bh-tl-ferien{background:#e3e9ed;padding:1px 8px;border-radius:3px}
.bh-tl-eigen{display:inline-flex;align-items:center;gap:7px;background:#0d403d;color:#fbf8f2;font-weight:700;padding:3px 10px 3px 4px;border-radius:4px;border-left:4px solid #f0641e}
.bh-tl-eigen b{background:#f3e9d2;color:#0d403d;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:1px 6px;border-radius:3px}
.bh-terminleiste a{justify-self:end;color:#0d403d;font-weight:700;text-decoration:none;white-space:nowrap}
.bh-terminleiste a:hover{text-decoration:underline;text-decoration-color:#f0641e;text-decoration-thickness:2px;text-underline-offset:3px}
@media screen and (max-width:767px){.bh-terminleiste{grid-template-columns:max-content minmax(0,1fr);font-size:15px;padding:8px 12px;gap:6px 10px}.bh-tl-z{flex-wrap:wrap;white-space:normal;gap:4px 14px}.bh-tl-sep{display:none}.bh-tl-k{align-self:start;padding-top:4px}.bh-tl-z2{grid-column:2}.bh-terminleiste a{grid-column:1/-1;grid-row:3;justify-self:start}}

/* Was in WordPress das Plugin ICS Calendar beisteuerte: Grundaufbau der Liste */
.ics-calendar-label { font-family: "Alegreya", Georgia, serif; font-size: 22px; font-weight: 700; margin: 11px 0 5.5px; }
.ics-calendar-date { font-family: "Alegreya", Georgia, serif; font-size: 20px; font-weight: 700; margin: 10px 0 5px; }
.bh-termine-liste dl.events { margin: 0 0 18px; }
.bh-termine-liste dd.event { margin: 0; padding: 10px; font-size: 20px; line-height: 1.6; color: #10181f; border-left: 4px solid var(--bh-feed, #0d403d); background: var(--bh-feed-flaeche, #f6f2ea); }
.bh-termine-liste dd.bh-q-feiertag { --bh-feed: #f0641e; --bh-feed-flaeche: #fdeee6; }
.bh-termine-liste dd.bh-q-abfuhr { --bh-feed: #8a7a5c; }
.bh-termine-liste dd .time { font-weight: 700; margin-right: .3em; }
.bh-termine-liste dd.bh-eigen .time { color: #fbf8f2; }
.bh-termine-liste { margin-top: 10px; }
.bh-termine-liste dd.bh-tonne { border-left-color: var(--bh-tonne); background-color: var(--bh-tonne-flaeche); }
.bh-termine-liste dd.bh-tonne .title::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: 2px; background: var(--bh-tonne); margin-right: .5em; vertical-align: -.05em; }
.bh-termine-liste dd.bh-eigen { background-color: #0d403d; border-left: 6px solid #f0641e; color: #fbf8f2; padding: .7em .8em; }
.bh-termine-liste dd.bh-eigen .title { font-weight: 700; color: #fbf8f2; }
.bh-termine-liste dd.bh-eigen .title::before { content: "Termin"; display: inline-block; margin-right: .6em; padding: .05em .45em; border-radius: 3px; background: #f3e9d2; color: #0d403d; font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: .1em; }
.bh-termine-liste dd.bh-ruhig { background-color: #f6f2ea; border-left: 4px solid var(--bh-ruhig); }
.bh-termine-liste dd.bh-ruhig .title::before { content: var(--bh-ruhig-wort); display: inline-block; margin-right: .6em; font-size: .72em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-ruhig); vertical-align: .1em; }
.bh-terminleiste-platz:empty { display: none; }


/* Karte (aus brokhausen-karte.php, WordPress 1.0): erst nach Klick, Leaflet und Ortsgrenze aus dem eigenen Paket */
.bh-inhalt .bh-karte{margin:8px 0 32px}
.bh-inhalt .bh-karte-buehne{position:relative;aspect-ratio:16/10;border-radius:6px;overflow:hidden;background:#e9e3d2 url(../Karte/vorschau.webp) center/cover no-repeat;box-shadow:0 0 0 1px #d9cfb8,0 10px 30px -12px rgba(13,64,61,.35)}
.bh-inhalt .bh-karte-schleier{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center;background:rgba(251,248,242,.18)}
.bh-inhalt .bh-karte-kasten{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:30em;padding:24px 28px 20px;background:rgba(251,248,242,.94);border-radius:6px;box-shadow:0 0 0 1px #d9cfb8,0 14px 34px -14px rgba(13,64,61,.5)}
.bh-inhalt .bh-karte-titel{margin:0;font-family:"Alegreya",Georgia,serif;font-weight:700;font-size:24px;line-height:1.2;color:#0d403d}
.bh-inhalt .bh-karte-laden{font:inherit;font-size:19px;font-weight:700;letter-spacing:.02em;color:#fff;background:#0d403d;border:0;border-radius:3px;padding:12px 26px;cursor:pointer;box-shadow:inset 0 -3px 0 #f0641e,0 6px 18px -6px rgba(0,0,0,.45);transition:background .15s}
.bh-inhalt .bh-karte-laden:hover,.bh-inhalt .bh-karte-laden:focus-visible{background:#17524e;outline:2px solid #f3e9d2;outline-offset:2px}
.bh-inhalt .bh-karte-hinweis{margin:0;font-size:15px;line-height:1.45;color:#5a5448}
.bh-inhalt .bh-karte-hinweis a{color:#0d403d}
.bh-inhalt .bh-karte-karte{position:absolute;inset:0;font:inherit}
.bh-inhalt .bh-karte .leaflet-tile-pane{filter:saturate(.55) sepia(.18) brightness(1.03) contrast(.96)}
.bh-inhalt .bh-karte .leaflet-container a{background:none;box-shadow:none}
.bh-inhalt .bh-karte .leaflet-control-zoom a{color:#0d403d}
.bh-inhalt .bh-karte .leaflet-control-attribution{font-size:12px;line-height:1.4;background:rgba(251,248,242,.85);color:#5a5448}
.bh-inhalt .bh-karte .leaflet-control-attribution a{color:#0d403d}
.bh-inhalt .bh-karte figcaption{margin-top:10px;font-size:14px;color:#6b6457}
.bh-inhalt .bh-karte figcaption a{color:inherit}
.bh-inhalt .bh-karte-knoepfe{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.bh-inhalt .bh-karte-knoepfe a{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:#0d403d;text-decoration:none;background:#fbf8f2;border:1px solid #d9cfb8;border-radius:3px;padding:9px 16px;box-shadow:none;transition:background .15s,border-color .15s}
.bh-inhalt .bh-karte-knoepfe a:hover,.bh-inhalt .bh-karte-knoepfe a:focus-visible{background:#f3e9d2;border-color:#f0641e;text-decoration:underline;text-decoration-color:#f0641e;text-decoration-thickness:2px;text-underline-offset:3px}
.bh-inhalt .bh-karte-knoepfe svg{width:18px;height:18px;flex:none}
.bh-inhalt .bh-karte-steckbrief table{width:100%;border:0;border-collapse:collapse;border-top:2px solid #0d403d}
.bh-inhalt .bh-karte-steckbrief th,.bh-inhalt .bh-karte-steckbrief td{border:0;border-bottom:1px solid #e6e1d6;padding:11px 6px;text-align:left;vertical-align:top}
.bh-inhalt .bh-karte-steckbrief th{width:30%;font-weight:700;color:#0d403d}
@media screen and (max-width:767px){
 .bh-inhalt .bh-karte-buehne{aspect-ratio:4/5}
 .bh-inhalt .bh-karte-kasten{padding:20px 18px 16px}
 .bh-inhalt .bh-karte-titel{font-size:21px}
 .bh-inhalt .bh-karte-steckbrief th{width:38%}
 .bh-inhalt .bh-karte-knoepfe a{flex:1 1 100%;justify-content:center}
}

/* Kontaktformular */
.bh-inhalt form .mb-3 { margin-bottom: 16px; }
.bh-inhalt form label { font-weight: 700; color: #0d403d; margin-bottom: 4px; }
.bh-inhalt form .form-control { border: 1px solid #d9cfb8; border-radius: 0; font-size: 18px; padding: 8px 10px; background: #fff; }
.bh-inhalt form .form-control:focus { border-color: #0d403d; box-shadow: 0 0 0 3px #f3e9d2; }
.bh-inhalt form .btn-primary { background: #0d403d; border: 0; border-radius: 3px; font-weight: 700; padding: 10px 24px; box-shadow: inset 0 -3px 0 #f0641e; }
.bh-inhalt form .btn-primary:hover { background: #17524e; }
.bh-inhalt .required { color: #c94f10; }

/* Terminseite: Größen wie live (dort erbte der Kalender die 20 px des Beitragstexts) */
.bh-inhalt .bh-monate { font-size: 20px; }
.bh-inhalt p.bh-legende { font-size: 15.3px; line-height: 1.6; }

/* Spalten aus dem WordPress-Blockeditor (z. B. Wetterseite: Widget links, Links rechts) */
.bh-inhalt .wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; align-items: flex-start; margin-bottom: 1.5em; }
.bh-inhalt .wp-block-column { flex: 1 1 0; min-width: 0; }
.bh-inhalt .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
@media (max-width: 767px) { .bh-inhalt .wp-block-columns { flex-direction: column; } .bh-inhalt .wp-block-column { flex-basis: auto !important; } }

/* Links im Text wie live: Orange-Braun, halbfett, ohne Unterstreichung (gemessen 19.10.2026) */
.bh-inhalt .bh-beitrag-text a, .bh-inhalt .frame-type-text a, .bh-inhalt .bh-artikel-text a, .bh-inhalt p a, .bh-inhalt li a { color: #b84a0f; font-weight: 600; text-decoration: none; }
.bh-inhalt .bh-artikel-titel a, .bh-inhalt .bh-karte-knoepfe a, .bh-inhalt .bh-karte-hinweis a, .bh-inhalt .bh-weiter a { font-weight: 700; }

/* Vorheriger / Nächster */
.bh-nachbarn { display: flex; justify-content: space-between; gap: 24px; margin: 32px 0 0; padding-bottom: 24px; border-bottom: 1px solid #e6e1d6; }
.bh-nachbar { display: flex; align-items: center; gap: 16px; color: #2e2e2e; text-decoration: none; max-width: 48%; font-size: 13px; line-height: 1.4; }
.bh-nachbar-nach { margin-left: auto; text-align: right; }
.bh-nachbar img { width: 80px; height: 60px; object-fit: cover; flex: none; }
.bh-nachbar b { display: block; font-size: 18px; text-transform: uppercase; font-weight: 400; color: #2e2e2e; }

/* Ähnliche Artikel */
.bh-abschnitt-titel { font-size: 16px; text-transform: uppercase; color: #2e2e2e; border-bottom: 3px solid #f1efeb; padding-bottom: 5px; margin: 28px 0 20px; }
.bh-aehnliche-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.bh-aehnliche img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bh-aehnliche h3 { font-size: 18px; margin: 10px 0 0; }
.bh-aehnliche h3 a { color: #000; text-decoration: none; }
.bh-weiter { text-align: center; margin: 8px 0 0; }
.bh-weiter a { display: inline-block; background: #0d403d; color: #fff !important; padding: 8px 20px; text-decoration: none; box-shadow: inset 0 -3px 0 #f0641e; }

/* Nach oben */
.bh-nach-oben { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #f1efeb; color: #2e2e2e; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 50; }
.bh-nach-oben[hidden] { display: none; }
.bh-nach-oben svg { width: 24px; height: 24px; }
.bh-nach-oben:hover { background: #f3e9d2; color: #0d403d; }
@media (max-width: 767px) { .bh-nachbarn { flex-direction: column; } .bh-nachbar { max-width: none; } .bh-aehnliche-raster { grid-template-columns: 1fr; } }

/* Klassen aus dem WordPress-Blockeditor, Werte an der Live-Seite gemessen */
.bh-inhalt .has-small-font-size, .bh-inhalt .has-small-font-size li, .bh-inhalt .has-small-font-size p { font-size: 13px; line-height: 1.6; }
.bh-inhalt hr.wp-block-separator:not(.is-style-wide) { width: 100px; margin: 10px auto 20px; border: 0; border-top: 2px solid #ccc; opacity: 1; }
.bh-inhalt .bh-aehnliche h3 a { color: #2e2e2e; font-weight: 700; }


/* Einheitlicher Abstand zwischen Inhaltselementen (D2): ein Rhythmus von 24 px, keine verschachtelten Reserven
   aus den Galerie-Strukturen des Bootstrap Package */
.bh-inhalt .frame { margin-bottom: 24px; }
.bh-inhalt .textmedia-item.textmedia-text:not(:has(*:not(:empty))) { display: none; }
.bh-inhalt .textmedia, .bh-inhalt .gallery-row, .bh-inhalt .gallery-item { margin-bottom: 0; padding-bottom: 0; }
.bh-inhalt .gallery-row + .gallery-row { margin-top: 12px; }
.bh-inhalt figure.audio, .bh-inhalt figure.video, .bh-inhalt figure.image { margin: 0; }
.bh-inhalt figure.image figcaption, .bh-inhalt .caption { font-size: 15px; color: #555; padding-top: 6px; }
.bh-inhalt .textmedia-item.textmedia-text > *:last-child { margin-bottom: 0; }

/* KI-Kennzeichnung (EU-KI-Verordnung Art. 50): dezentes Etikett oben links auf dem Bild,
   gesetzt in den Vorlagen, wenn die Datei als KI-Bild gekennzeichnet ist (Feld „KI-Kennzeichnung“) */
.bh-inhalt figure.image { position: relative; }
.bh-ki { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 7px; border-radius: 3px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; cursor: help; }
.bh-ki[hidden] { display: none; }

/* Rahmen-Layout „Bild halb so groß“ (Inhaltselement → Erscheinungsbild → Layout des Rahmens): Bilder auf die halbe Breite, rechts bündig bei „Bild rechts“ */
.frame-layout-bild-halb .textmedia-gallery img, .frame-layout-bild-halb .gallery-item img { width: 50%; height: auto; }
.frame-layout-bild-halb .textmedia-right .textmedia-gallery img { display: block; margin-left: auto; }

/* Rahmen-Layout „Bild als Textgrafik (Textmodus)“: textmodus.js zeichnet das Bild als Halbblock-Raster auf eine Leinwand
   als Kopf über das Element und blendet die Bildspalte aus; ohne JavaScript bleibt das Bild stehen. Pixel scharf, volle Breite. */
.frame-layout-textmodus .textmodus-bild { display: block; max-width: 100%; height: auto; margin: 0 auto 1.5rem; image-rendering: pixelated; }
.frame-layout-textmodus.textmodus-aktiv .textmedia-gallery, .frame-layout-textmodus.textmodus-aktiv .gallery-row { display: none; }

/* Suche im Menüband (seit 19.10.2026, vorher in der Fußzeile): flaches weißes Feld, Lupe im hellen Grün */
.bh-suche-band { height: 28px; align-self: center; }
.bh-suche-band input { flex: none; width: 160px; height: 28px; padding: 0 8px; border: 0; border-radius: 3px 0 0 3px; font-size: 13px; line-height: 28px; text-transform: none; letter-spacing: 0; }
.bh-suche-band input::placeholder { text-transform: none; }
.bh-suche-band button { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 0 3px 3px 0; background: var(--bh-gruen-hell); }
.bh-suche-band button:hover, .bh-suche-band button:focus-visible { background: var(--bh-orange); }
@media (max-width: 767px) {
  .bh-nav-rechts { padding: 0 10px; gap: 8px; }
  .bh-nav-rechts .bh-datum { display: none; }
  .bh-suche-band input { width: 110px; }
}

/* Fußzeile, mittlere Spalte „Über brokhausen.de“ (Textelement im Ordner „Fußzeile“), darunter das TYPO3-Logo:
   schwarzes Logo aus dem Kern, per Transparenz grau; beim Überfahren kräftiger */
.bh-fuss-info p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.bh-typo3 { display: inline-block; margin-top: 10px; line-height: 0; }
.bh-typo3 img { width: 75px; height: auto; opacity: .45; transition: opacity .2s ease; }
.bh-typo3:hover img, .bh-typo3:focus-visible img { opacity: .8; }
