/*
Theme Name: Bissersheim – Warme Pfalz
Author: Ortsgemeinde Bissersheim
Description: Schlankes Block-Theme für den Relaunch mit editierbaren Seiten, Ortskarte und Ratsinformationen.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: bissersheim-warme-pfalz
License: GPL-2.0-or-later
*/
:root{--wine:#7a2434;--green:#4f6b4a;--cream:#f5f0e6;--paper:#fffdf8;--ink:#272522;--line:#d7cdbc}
*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0}a{text-underline-offset:.23em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #4f6b4a;outline-offset:4px}button,input,summary{font:inherit}button,summary{cursor:pointer}img{max-width:100%;height:auto}[hidden]{display:none!important}.bsh-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wp-site-blocks>header{border-bottom:1px solid var(--line);background:var(--paper)}.bsh-header{max-width:1320px;margin:auto;padding:26px 40px 20px}.bsh-identity{margin:0 0 18px!important}.bsh-identity .wp-block-site-title{font-family:Georgia,serif;font-size:1.9rem;font-weight:400;line-height:1.15;margin:0}.bsh-identity a{text-decoration:none;color:var(--wine)}.bsh-tagline{font-size:.86rem;letter-spacing:.035em;margin:.4rem 0 0!important;color:#595246}.bsh-nav{font-size:.97rem;gap:1.5rem}.bsh-nav .wp-block-navigation-item__content{padding:5px 0;color:var(--ink)}.bsh-nav .current-menu-item>a{text-decoration:underline;text-decoration-color:var(--wine);text-decoration-thickness:2px}.bsh-main{margin:0!important;padding:0 32px}.bsh-main>.wp-block-post-content{max-width:1180px;margin:auto}.bsh-main h1{font-size:clamp(2.5rem,4.5vw,4.3rem);letter-spacing:-.035em}.bsh-main h2{font-size:clamp(1.9rem,3vw,2.65rem);letter-spacing:-.025em}.bsh-main h3{font-size:1.55rem;letter-spacing:-.015em}.bsh-main p{line-height:1.7}.bsh-main .wp-block-columns{gap:28px;margin-bottom:0}.bsh-main .wp-block-column{min-width:0}.bsh-main figure{margin:0}.bsh-main figcaption{font-size:.8rem;color:#625c53;margin-top:8px}.bsh-section{margin-top:0!important;padding:56px 0;border-bottom:1px solid var(--line)}.bsh-section:last-child{border-bottom:0}.bsh-section>h2:first-child{margin-top:0}.bsh-section .bsh-section{padding:0;border:0}.bsh-eyebrow{font-size:.8rem!important;font-weight:bold;letter-spacing:.12em;text-transform:uppercase;color:var(--green);margin-top:0}.bsh-intro{font-size:1.22rem;max-width:750px}.bsh-page-hero{padding:52px 0 36px;border-bottom:1px solid var(--line)}.bsh-page-hero h1{margin:.4em 0}.bsh-hero{margin:32px 0 0!important;padding:42px;background:var(--cream);border-radius:4px 4px 90px 4px}.bsh-hero>.wp-block-columns{align-items:center!important;gap:42px}.bsh-hero-copy h1{font-size:clamp(2.3rem,4.1vw,3.8rem);margin:20px 0}.bsh-hero-copy>.wp-block-buttons{margin-top:28px}.bsh-hero-photo img{width:100%;aspect-ratio:1.05;object-fit:cover;object-position:50% 50%;border-radius:46% 46% 4px 4px}.bsh-card{border-top:3px solid var(--line);background:var(--cream);padding:26px;height:100%}.bsh-card h3{margin:.5em 0}.bsh-card p:last-child{margin-bottom:0}.bsh-section>.wp-block-columns+.wp-block-columns{margin-top:28px}.bsh-feature{background:var(--green);color:var(--paper);padding:38px;margin:44px 0!important;border-radius:4px}.bsh-feature h2,.bsh-feature .bsh-eyebrow,.bsh-feature a,.bsh-feature figcaption{color:var(--paper)}.bsh-feature .wp-block-button__link{background:var(--paper);color:var(--green)}.bsh-feature img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:3px}.bsh-feature>.wp-block-columns{align-items:center!important}.wp-block-button__link{padding:14px 22px}.bsh-product img{width:100%;aspect-ratio:1.15;object-fit:contain;background:var(--cream);border-radius:4px}.bsh-product h3{margin-bottom:8px}.bsh-product p{margin-top:0}.bsh-legal{padding:32px;background:var(--cream);margin:28px 0!important}.bsh-small,.bsh-footer-note{font-size:.9rem}.bsh-notice{border-left:4px solid var(--green);padding:20px 24px;background:var(--cream)}.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table th,.wp-block-table td{padding:12px 16px;border:1px solid var(--line);text-align:left;overflow-wrap:anywhere}.wp-block-table th{background:var(--cream)}
.wp-site-blocks>footer{background:var(--cream);margin-top:64px}.bsh-footer{max-width:1320px;margin:auto;padding:44px 40px 22px}.bsh-footer h2{font-size:1.6rem}.bsh-footer h3{font-size:1.2rem}.bsh-footer p{margin:.5rem 0;font-size:.94rem}.bsh-footer .bsh-footer-note{margin-top:32px;border-top:1px solid var(--line);padding-top:20px;font-size:.82rem;color:#625c53}.bsh-footer .wp-block-columns{gap:32px}.bsh-news article{border-bottom:1px solid var(--line);padding:10px 0 24px}.bsh-news h3{margin:.3em 0}.bsh-meetings{list-style:none;padding:0}.bsh-meetings li{display:flex;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.bsh-meetings time{font-weight:bold;color:var(--wine);white-space:nowrap}.bsh-meetings p{margin:4px 0}.bsh-meetings a{font-size:.92rem}
.bsh-map-consent{padding:32px;background:var(--cream);border:1px solid var(--line)}.bsh-map-consent h2{margin-top:0}.bsh-places button{border:1px solid var(--wine);background:var(--wine);color:var(--paper);padding:10px 16px;border-radius:3px;font-size:.96rem}.bsh-places .bsh-text-button{background:transparent;color:var(--wine);border:none;text-decoration:underline;padding:8px 0}.bsh-map{height:470px;border:1px solid var(--line);z-index:0}.bsh-map .leaflet-control a{color:var(--ink)}.bsh-map-status{font-size:.9rem}.bsh-marker{border:3px solid white;border-radius:50%;background:var(--green);box-shadow:0 2px 5px #0005}.bsh-marker.has-audio{background:var(--wine)}.bsh-marker.is-active{outline:3px solid var(--ink)}.bsh-places-tools{padding:26px 0}.bsh-places-tools label{display:block;font-weight:bold;margin-bottom:8px}.bsh-places-tools input{border:1px solid #8c8274;padding:12px 16px;width:100%;max-width:650px;border-radius:3px;background:white}.bsh-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.bsh-place-card{background:var(--cream);border-top:3px solid var(--line);padding:28px;scroll-margin-top:28px}.bsh-place-card h2{font-size:1.65rem;margin:.5em 0}.bsh-place-card details{margin:18px 0}.bsh-place-card summary{font-weight:bold;color:var(--wine)}.bsh-period{font-size:.9rem;color:#625c53}.bsh-audio{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.bsh-place-card.is-selected{outline:3px solid var(--green);outline-offset:3px}.bsh-place-card p{overflow-wrap:anywhere}.bsh-map .leaflet-popup-content button{font-size:.85rem;padding:6px 10px}
@media(max-width:900px){.bsh-header{padding:22px 24px}.bsh-nav{font-size:.9rem}.bsh-hero{padding:28px}.bsh-hero>.wp-block-columns{gap:24px}.bsh-hero-copy h1{font-size:2.6rem}.bsh-main{padding:0 24px}.bsh-card{padding:20px}.bsh-meetings li{display:block}.bsh-meetings time{display:block;margin-bottom:8px}}
@media(max-width:781px){.bsh-main{padding:0 20px}.bsh-hero{padding:26px;margin-top:20px!important;border-bottom-right-radius:42px}.bsh-hero-copy h1{font-size:clamp(2rem,7vw,3rem)}.bsh-hero-photo img{max-height:370px;aspect-ratio:1.4;border-radius:35% 35% 3px 3px}.bsh-section{padding:34px 0}.bsh-feature{padding:26px;margin:28px 0!important}.bsh-place-grid{grid-template-columns:1fr}.bsh-map{height:360px}.bsh-place-card{padding:22px}.bsh-footer{padding:30px 24px}.bsh-page-hero{padding-top:32px}.bsh-main h1{font-size:2.6rem}.bsh-section .wp-block-column+.wp-block-column{margin-top:0}.bsh-card{height:auto}}
@media(max-width:599px){.bsh-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.bsh-identity{margin:0!important}.bsh-identity .wp-block-site-title{font-size:1.45rem}.bsh-tagline{font-size:.78rem}.bsh-nav{margin:0!important}.wp-block-navigation__responsive-container.is-menu-open{background:var(--paper)!important;color:var(--ink)!important;padding:30px}.bsh-main h1{font-size:2.25rem}.bsh-main h2{font-size:1.85rem}.bsh-places button{max-width:100%}.bsh-footer h2{font-size:1.45rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.wp-site-blocks>header,.wp-site-blocks>footer,#wpadminbar,.bsh-map-consent,.bsh-places-tools,.bsh-audio,.bsh-text-button{display:none!important}.bsh-main{padding:0}.bsh-place-grid{display:block}.bsh-place-card{break-inside:avoid;margin-bottom:12px}.bsh-map{height:450px}a{color:inherit!important}}

/* Chroniksuche: distinct from the 14-place map filter. */
.bsh-chronik-form label{display:block;font-weight:700;margin:0 0 .5rem}
.bsh-search-row{display:flex;gap:.75rem;align-items:stretch;max-width:900px}
.bsh-search-row input{min-width:0;flex:1;width:100%;border:1px solid #8c8274;border-radius:3px;padding:.8rem 1rem;background:#fff;color:var(--ink);font:inherit}
.bsh-search-row button{background:var(--wine);color:#fff;border:1px solid var(--wine);border-radius:3px;padding:.8rem 1.1rem;font:inherit;font-weight:600}
.bsh-chronik-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}
.bsh-chronik-hit{padding:24px;background:var(--cream);border-top:3px solid var(--green);overflow-wrap:anywhere}
.bsh-chronik-hit h3{margin:0 0 .65rem;font-size:1.4rem}
.bsh-chronik-hit blockquote{margin:0;border-left:3px solid var(--line);padding:0 0 0 1rem}
.bsh-chronik-hit blockquote p{margin:0;line-height:1.65}
.bsh-ocr-label{font-size:.9rem;font-weight:700;margin-bottom:.5rem}
.bsh-search-pages{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:1rem}
.bsh-search-pages a{display:inline-block;padding:.7rem 1rem;border:1px solid var(--wine);border-radius:3px}
.bsh-source{font-size:.9rem;border-top:1px solid var(--line);padding-top:1rem}
@media(max-width:781px){.bsh-chronik-results{grid-template-columns:1fr}.bsh-search-row{flex-direction:column}.bsh-chronik-hit{padding:20px}}
@media print{.bsh-chronik-form,.bsh-search-pages{display:none}.bsh-chronik-results{display:block}.bsh-chronik-hit{break-inside:avoid;margin-bottom:1rem}}

/* Readable, compact chronicle results. */
.bsh-chronik-results{grid-template-columns:minmax(0,1fr);gap:16px;max-width:1000px}
.bsh-chronik-hit{padding:22px 26px}
.bsh-chronik-hit blockquote{max-width:80ch}
.bsh-chronik-hit .bsh-small{margin-bottom:.65rem}
@media(max-width:600px){.bsh-chronik-hit{padding:18px}}
/* Revision 4: stronger municipal colours, calm reading areas. */
:root{--forest:#29443a;--sand:#e9dfce;--gold:#d6b77d}
body{background:#f4eee3}
.wp-site-blocks>header{background:var(--forest);border-bottom:4px solid var(--gold)}
.bsh-identity a,.bsh-nav .wp-block-navigation-item__content{color:var(--paper)}
.bsh-tagline{color:#e4dccd}
.bsh-nav .current-menu-item>a{ text-decoration-color:var(--gold)}
.bsh-nav .wp-block-navigation-submenu__toggle{color:var(--paper)}
.bsh-nav .wp-block-navigation__submenu-container{background:var(--forest);border:1px solid #8a9c8f;padding:8px;min-width:210px}
.bsh-nav .wp-block-navigation__submenu-container a{padding:10px 14px}
.bsh-page-hero{background:var(--wine);color:var(--paper);padding:36px 40px;border:0;border-radius:4px 4px 38px 4px;margin:28px 0 0!important}
.bsh-page-hero h1,.bsh-page-hero a{color:var(--paper)}
.bsh-page-hero .bsh-eyebrow{color:#f0dcb5}
.bsh-page-hero .bsh-intro{margin-bottom:0}
.bsh-page-hero .wp-block-button__link{background:var(--paper);color:var(--wine)}
.bsh-hero{background:var(--forest);color:var(--paper);border-radius:4px 4px 44px 4px;box-shadow:0 12px 30px #293b2a12}
.bsh-hero h1,.bsh-hero a{color:var(--paper)}
.bsh-hero .bsh-eyebrow{color:#f0dcb5}
.bsh-hero .wp-block-button__link{background:var(--paper);color:var(--wine)}
.bsh-hero figcaption{color:#e4dccd}
.bsh-hero-photo img{aspect-ratio:4/3;border-radius:12px;object-position:45% center}
.bsh-card{background:var(--paper);border-top-color:var(--green);border-radius:4px;box-shadow:0 4px 16px #493b2710}
.bsh-card h3{color:var(--wine)}
.bsh-feature{background:var(--forest);border-left:5px solid var(--gold);border-radius:4px 28px 4px 4px}
.bsh-feature h2,.bsh-feature h3{color:var(--paper)}
.bsh-shop-feature{background:var(--wine)}
.bsh-shop-feature img{object-fit:contain;max-height:300px;background:var(--cream)}
.bsh-section{padding:44px 0}
.bsh-main .wp-block-image img{border-radius:5px}
.bsh-place-card,.bsh-chronik-hit{background:var(--paper);border-top-color:var(--green)}
.bsh-map-consent,.bsh-notice,.bsh-legal{background:var(--sand)}
.bsh-chronik{border-bottom:2px solid var(--green)}
.bsh-jump-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.bsh-jump-links a{display:inline-block;border:1px solid currentColor;padding:10px 16px;border-radius:3px;text-decoration:none}
.bsh-contact-button{display:inline-block;background:var(--wine);color:var(--paper)!important;padding:12px 22px;border-radius:3px;text-decoration:none;line-height:1.4}
.bsh-feature .bsh-contact-button,.bsh-footer .bsh-contact-button{background:var(--paper);color:var(--wine)!important}
.wp-site-blocks>footer{background:var(--forest);border-top:4px solid var(--gold);color:var(--paper);margin-top:44px}
.bsh-footer h2,.bsh-footer h3,.bsh-footer a{color:var(--paper)}
.bsh-footer .bsh-footer-note{color:#e4dccd;border-top-color:#829487}
.wp-site-blocks>header a:focus-visible,.wp-site-blocks>footer a:focus-visible,.bsh-feature a:focus-visible,.bsh-page-hero a:focus-visible,.bsh-hero a:focus-visible{outline-color:var(--gold)}
[id]{scroll-margin-top:28px}
@media(max-width:781px){.bsh-page-hero{padding:26px 24px;margin-top:20px!important}.bsh-hero-photo img{aspect-ratio:3/2;max-height:none}.bsh-section{padding:32px 0}.bsh-feature{padding:24px}.bsh-main .wp-block-columns{gap:20px}.bsh-shop-feature img{max-height:240px}}
@media(max-width:599px){.bsh-nav .wp-block-navigation__responsive-container-open{color:var(--paper)}.bsh-nav .is-menu-open .wp-block-navigation-item__content{color:var(--ink)}.bsh-nav .is-menu-open .wp-block-navigation__submenu-container{background:transparent;border:0}.bsh-nav .is-menu-open .wp-block-navigation-submenu__toggle{color:var(--ink)}.bsh-page-hero h1{overflow-wrap:normal;hyphens:auto}}
@media print{body{background:white}.bsh-page-hero,.bsh-hero,.bsh-feature{background:white;color:black}.bsh-page-hero h1,.bsh-hero h1,.bsh-feature h2{color:black}.bsh-card{box-shadow:none}.bsh-contact-button{color:black!important}}

/* WordPress navigation defaults need explicit container colours. */
header .bsh-nav.wp-block-navigation{color:var(--paper)}
header .bsh-nav.wp-block-navigation .wp-block-navigation-item__content{color:var(--paper)}
header .bsh-nav.wp-block-navigation .wp-block-navigation__submenu-container{color:var(--paper);background:var(--forest)}
header .bsh-nav.wp-block-navigation .is-menu-open{color:var(--ink);background:var(--paper)}
header .bsh-nav.wp-block-navigation .is-menu-open .wp-block-navigation-item__content{color:var(--ink)}
header .bsh-nav.wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container{color:var(--ink);background:transparent}

/* Revision 5: local history illustrations, transcripts and discreet municipal crest. */
.bsh-history-image{margin:20px 0;background:#eee8dc;padding:12px;border-radius:4px}
.bsh-history-image img{display:block;width:100%;height:210px;object-fit:contain}
.bsh-history-image figcaption{font-size:.875rem;line-height:1.5;margin-top:10px}
.bsh-place-card details{margin:14px 0;border-top:1px solid #d6ccbc;padding-top:12px}
.bsh-place-card summary{cursor:pointer;color:var(--wine);font-weight:600;padding:6px 0}
.bsh-history h3{font-size:1.35rem;margin-top:20px}
.bsh-look{background:var(--cream);padding:12px 16px;border-left:3px solid var(--green)}
.bsh-recording audio{width:100%;max-width:100%}
.bsh-wappen-hero{position:relative;isolation:isolate;overflow:hidden;padding-right:290px}
.bsh-wappen-hero::before{content:"";position:absolute;right:34px;top:24px;width:220px;height:260px;background:url("https://bissersheim.de/wp-content/uploads/2026/09/9cbfe874-14f4-4c1d-a58c-355ace573737.png") -49px -32px/334px auto no-repeat;filter:grayscale(1) invert(1);mix-blend-mode:screen;opacity:.16;pointer-events:none;z-index:-1}
@media(max-width:781px){.bsh-wappen-hero{padding-right:24px}.bsh-wappen-hero::before{right:0;top:16px;opacity:.055}.bsh-history-image img{height:180px}}
@media print{.bsh-wappen-hero::before{display:none}.bsh-recording,.bsh-audio{display:none}.bsh-history-image img{height:auto;max-height:220px}}

/* Revision 8: sichtbares Wappen, Ratsliste und gleichberechtigte Gewerbekarten */
.bsh-wappen-hero::before{z-index:0!important;opacity:.22!important}
.bsh-wappen-hero>*{position:relative;z-index:1}
.page-id-13 .bsh-section:has(> #gemeinderat){position:relative;isolation:isolate;overflow:hidden}
.page-id-13 .bsh-section:has(> #gemeinderat)::before{content:"";position:absolute;right:34px;top:8px;width:220px;height:175px;background:url("https://bissersheim.de/wp-content/uploads/2026/09/9cbfe874-14f4-4c1d-a58c-355ace573737.png") -49px -32px/334px auto no-repeat;filter:grayscale(1);mix-blend-mode:multiply;opacity:.10;pointer-events:none;z-index:0}
.page-id-13 .bsh-section:has(> #gemeinderat)>*{position:relative;z-index:1}
.page-id-13 .bsh-section:has(> #gemeinderat) table{border-collapse:separate;border-spacing:0;background:#fffdf8;border:1px solid #d7caba;border-radius:4px;box-shadow:0 10px 24px rgba(48,39,30,.08);overflow:hidden}
.page-id-13 .bsh-section:has(> #gemeinderat) thead th{background:#8a2336!important;color:#fff!important;border-color:#a95363!important}
.page-id-13 .bsh-section:has(> #gemeinderat) tbody td{background:#fffdf8!important;border-color:#ded4c6!important}
.page-id-40 .entry-content>.bsh-section>.wp-block-columns:last-of-type{justify-content:flex-start}
.page-id-40 .entry-content>.bsh-section>.wp-block-columns:last-of-type>.wp-block-column{flex:0 0 calc((100% - 2rem)/3)!important;max-width:calc((100% - 2rem)/3);align-self:stretch}
@media(max-width:781px){.page-id-13 .bsh-section:has(> #gemeinderat)::before{right:-35px;top:12px;opacity:.065}.page-id-40 .entry-content>.bsh-section>.wp-block-columns:last-of-type>.wp-block-column{flex-basis:100%!important;max-width:none}}

/* Revision 9: browserrobuste, besser sichtbare Wappen-Wasserzeichen */
.bsh-wappen-hero::before{opacity:.34!important;filter:grayscale(1) invert(1) contrast(1.45)!important;mix-blend-mode:screen!important}
.page-id-13 .bsh-section:has(> #gemeinderat)::before{right:28px;top:0;width:220px;height:205px;filter:grayscale(1) contrast(1.35);mix-blend-mode:multiply;opacity:.18}
@media(max-width:781px){.bsh-wappen-hero::before{right:-10px!important;opacity:.20!important}.page-id-13 .bsh-section:has(> #gemeinderat)::before{right:-24px;top:8px;opacity:.12}}

/* Mobile Navigation: kompakter Menüknopf auch auf schmalen Tablets. */
@media(max-width:1024px){
.bsh-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap}.bsh-identity{margin:0!important;min-width:0}.bsh-nav{margin:0!important;flex-shrink:0}
header .bsh-nav>.wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
header .bsh-nav>.wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:1px solid #d6b77d;border-radius:4px;color:var(--paper);padding:12px}
header .bsh-nav>.wp-block-navigation__responsive-container-open svg{display:none}
header .bsh-nav>.wp-block-navigation__responsive-container-open::before{content:"";display:block;width:24px;height:18px;background:linear-gradient(currentColor,currentColor) top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) bottom/100% 2px no-repeat}
header .bsh-nav .wp-block-navigation__responsive-container.is-menu-open{padding:64px 24px 28px!important;background:var(--paper)!important;color:var(--ink)!important}
header .bsh-nav .is-menu-open .wp-block-navigation__responsive-container-content{align-items:stretch!important;padding-top:24px}
header .bsh-nav .is-menu-open .wp-block-navigation__container{align-items:stretch!important;width:100%;gap:0!important}
header .bsh-nav .is-menu-open .wp-block-navigation-item{width:100%}
header .bsh-nav .is-menu-open .wp-block-navigation-item__content{color:var(--wine)!important;font-size:1.18rem;font-weight:600;padding:14px 0!important;border-bottom:1px solid var(--line)}
header .bsh-nav .is-menu-open .wp-block-navigation__submenu-container{padding:0 0 0 20px!important;border:0!important}
header .bsh-nav .is-menu-open .wp-block-navigation__submenu-container a{font-size:1rem;font-weight:400}
header .bsh-nav .wp-block-navigation__responsive-container-close{color:var(--wine);min-height:44px;min-width:44px}
}

/* Schmaler Kopf: Wappen links, Titel mittig, Menü rechts ohne Überlagerung. */
@media(max-width:1024px){header .bsh-header{padding-left:94px!important;padding-right:20px!important;min-height:110px;gap:12px}header .bsh-header::after{left:18px!important;right:auto!important;top:50%!important;transform:translateY(-50%);width:60px!important;height:60px!important;background-size:54px 54px!important}header .bsh-identity .wp-block-site-title{font-size:1.25rem}header .bsh-identity .bsh-tagline{font-size:.74rem}header .bsh-header>.bsh-nav{margin-left:auto!important}}

/* Mobile Feinschliff: ausschließlich bis 781px, Desktop unverändert. */
@media(max-width:781px){
.bsh-main{padding-left:16px;padding-right:16px;font-size:1rem}
.bsh-main h1,.bsh-main .bsh-hero-copy h1{font-size:clamp(1.85rem,7.6vw,2.15rem);line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere;hyphens:auto}
.bsh-main h2{font-size:clamp(1.55rem,6vw,1.8rem);line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
.bsh-main h3{font-size:clamp(1.25rem,5.5vw,1.45rem);line-height:1.3;overflow-wrap:anywhere;hyphens:auto}
.bsh-main .bsh-place-card h2{font-size:1.55rem;line-height:1.25}.bsh-main .bsh-history h3{font-size:1.2rem}
.bsh-main p{line-height:1.65}.bsh-main .bsh-intro{font-size:1.1rem;line-height:1.6}
.bsh-page-hero{padding:22px 20px;margin-top:18px!important;border-bottom-right-radius:28px}
.bsh-hero{padding:22px 20px}.bsh-hero-copy h1{margin:14px 0}.bsh-hero-copy>.wp-block-buttons{margin-top:20px}
.bsh-section{padding:28px 0}.bsh-main .wp-block-columns{gap:18px}.bsh-section>.wp-block-columns+.wp-block-columns{margin-top:18px}
.bsh-card,.bsh-place-card,.bsh-chronik-hit{padding:20px}.bsh-feature{padding:22px 20px;margin:24px 0!important}
.bsh-main figcaption,.bsh-history-image figcaption{font-size:.875rem;line-height:1.5}.bsh-main .bsh-small,.bsh-main .bsh-period,.bsh-main .bsh-source{font-size:.9375rem}
.bsh-main .bsh-card p>a:only-child,.bsh-main .bsh-product p>a:only-child,.bsh-footer p>a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.bsh-main .wp-block-button__link,.bsh-main .bsh-contact-button{min-height:44px;line-height:1.4;white-space:normal}
.bsh-main input,.bsh-main select,.bsh-main textarea{font-size:16px;min-height:44px}.bsh-main a{overflow-wrap:anywhere}
.bsh-place-card summary{min-height:44px;line-height:1.45;padding:10px 0}.bsh-recording audio{display:block;max-width:100%}
.bsh-main .wp-block-table th,.bsh-main .wp-block-table td{padding:10px;font-size:.9375rem;line-height:1.5;hyphens:auto;vertical-align:top}
.bsh-legal{padding:22px 18px}.bsh-footer{padding:28px 20px 20px}.bsh-footer .wp-block-columns{gap:22px}.bsh-footer .bsh-footer-note{font-size:.875rem;line-height:1.55;margin-top:22px}
}

@media(max-width:781px){.bsh-reader [data-action="pagefit"]{display:none}.bsh-reader .bsh-reader-percent{min-width:3rem}.bsh-reader .bsh-reader-zoom{gap:4px}.bsh-reader .bsh-reader-zoom button{font-size:.875rem;padding:.45rem .4rem}}

/* Gewerbe: letzte Reihe mit derselben Breite wie vollständige Dreierreihen. */
@media(min-width:782px){.page-id-40 .entry-content>.bsh-section>.wp-block-columns:last-of-type>.wp-block-column{flex-basis:calc((100% - 56px)/3)!important;max-width:calc((100% - 56px)/3)}}

/* November 2026: kompakte Einträge und robuste schmale Ansichten. */
.bsh-card-more{margin:16px 0;border-top:1px solid var(--line);padding-top:4px}.bsh-card-more summary{color:var(--wine);font-weight:600;min-height:44px;padding:10px 0;line-height:1.5}.bsh-card-more .bsh-more-open{display:none}.bsh-card-more[open] .bsh-more-open{display:inline}.bsh-card-more[open] .bsh-more-closed{display:none}.bsh-card-more p{margin:12px 0}.bsh-card{overflow-wrap:anywhere}.bsh-card>figure:not(:has(img+img)){max-width:100%!important;margin:16px 0!important}.bsh-card>figure:not(:has(img+img)) img{display:block;width:100%;height:190px!important;max-height:190px;object-fit:contain!important;transform:none!important}.bsh-card>figure:has(img[alt^="Logo"]){height:auto!important;padding:8px!important}.bsh-card>figure:has(img[alt^="Logo"]) img{height:70px!important;max-height:70px!important}.bsh-section>.wp-block-columns:has(>.wp-block-column>.bsh-card){align-items:flex-start!important}.bsh-card{height:auto}.bsh-main .wp-block-columns>.wp-block-column{overflow-wrap:anywhere}.bsh-footer a{overflow-wrap:anywhere}.bsh-main audio{max-width:100%}
@media(min-width:782px) and (max-width:1024px){.bsh-section>.wp-block-columns:has(>.wp-block-column>.bsh-card){flex-wrap:wrap!important}.bsh-section>.wp-block-columns:has(>.wp-block-column>.bsh-card)>.wp-block-column{flex:0 0 calc((100% - 28px)/2)!important;max-width:calc((100% - 28px)/2)!important}}
@media(max-width:781px){.bsh-card>figure:not(:has(img+img)) img{height:180px!important;max-height:180px}.bsh-card-more summary{padding:12px 0}.bsh-main .bsh-card p>a:only-child{display:inline-block}.bsh-card a{word-break:normal;overflow-wrap:anywhere}.bsh-main .bsh-intro{max-width:100%}}
@media print{.bsh-card-more>summary{display:none}.bsh-card-more::details-content{content-visibility:visible}.bsh-card-more>*:not(summary){display:block!important}}

/* Source-checked answers and legal content, 2026-11-14. */
.bsh-answer,.bsh-answer-catalogue,.bsh-answer-method{border:1px solid #d7d5c6;border-radius:12px;margin:1rem 0;background:#fff;overflow-wrap:anywhere}
.bsh-answer>summary,.bsh-answer-catalogue>summary,.bsh-answer-method>summary{padding:1rem 1.15rem;cursor:pointer;font-weight:650;line-height:1.5;min-height:44px}
.bsh-answer-body,.bsh-answer-catalogue>div,.bsh-answer-method>p{padding:0 1.15rem 1rem}
.bsh-answer-body>p:first-child{margin-top:0}.bsh-answer-sources{padding-left:1.25rem}.bsh-answer-sources li{margin:.5rem 0}
.bsh-answer-status{margin:1.3rem 0;padding:1.15rem;border-left:4px solid #45684a;background:#f1f3e9;border-radius:0 10px 10px 0}
.bsh-answer-status p:last-child{margin-bottom:0}.bsh-answer summary:focus-visible,.bsh-answer-catalogue summary:focus-visible,.bsh-answer-method summary:focus-visible{outline:3px solid #855c27;outline-offset:3px}
.bsh-privacy,.bsh-legal{overflow-wrap:anywhere}.bsh-privacy h2{margin-top:2.5rem}.bsh-privacy h3{margin-top:1.7rem}.bsh-legal>p,.bsh-privacy>p{max-width:78ch}.bsh-hours dd{margin:0 0 .8rem}.bsh-hours dt{font-weight:650}
.bsh-answers input{font-size:16px;min-width:0}.bsh-answers button{white-space:normal}
@media(max-width:600px){.bsh-answers .bsh-search-row{display:flex;flex-direction:column;align-items:stretch}.bsh-answers .bsh-search-row input,.bsh-answers .bsh-search-row button{width:100%;box-sizing:border-box}.bsh-answer>summary{padding:.9rem}.bsh-answer-body,.bsh-answer-catalogue>div{padding:0 .9rem .9rem}}

/* Gewerbe: einheitliche Vorschauen, 14.11.2026. */
.page-id-40 .bsh-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;margin-top:22px}
.page-id-40 .bsh-business-grid>.bsh-business-card{box-sizing:border-box;min-width:0;min-height:26rem;margin:0;display:flex;flex-direction:column;padding:24px}
.page-id-40 .bsh-business-card>.bsh-eyebrow{margin:0;min-height:3.4em;line-height:1.7}
.page-id-40 .bsh-business-heading{display:flex;align-items:center;gap:14px;min-height:96px;margin:6px 0 14px}
.page-id-40 .bsh-business-heading h3{flex:1;min-width:0;margin:0;font-size:1.4rem;line-height:1.3;overflow-wrap:anywhere;hyphens:auto}
.page-id-40 .bsh-business-heading>.bsh-business-image{flex:0 0 96px;width:96px;margin:0;padding:0}
.page-id-40 .bsh-business-image a{display:block;border-radius:4px}
.page-id-40 .bsh-business-image img{display:block;width:96px;height:96px;object-fit:contain;border-radius:4px;background:#fff}
.page-id-40 .bsh-business-card>.bsh-business-teaser{margin:0 0 18px;line-height:1.65}
.page-id-40 .bsh-business-actions{display:grid;grid-template-columns:1fr;gap:12px;align-items:start;margin-top:auto;min-height:48px;padding-top:10px}
.page-id-40 .bsh-business-actions:has(details){grid-template-columns:1fr auto}
.page-id-40 .bsh-business-actions>.bsh-card-more{margin:0;padding:0;border:0;min-width:0}
.page-id-40 .bsh-business-actions summary{cursor:pointer;min-height:48px;padding:10px 0;box-sizing:border-box;line-height:1.5}
.page-id-40 .bsh-business-actions>.bsh-business-website{margin:0;line-height:1.5}
.page-id-40 .bsh-business-website a{display:inline-flex;align-items:center;min-height:48px;padding:10px 0;box-sizing:border-box}
.page-id-40 .bsh-business-actions>.bsh-card-more[open]{grid-column:1/-1}
.page-id-40 .bsh-business-actions>.bsh-card-more[open] summary{border-bottom:1px solid var(--line);margin-bottom:16px}
.page-id-40 .bsh-business-card:has(details[open]){outline:2px solid var(--green);outline-offset:2px}
.page-id-40 .bsh-business-card a:focus-visible,.page-id-40 .bsh-business-card summary:focus-visible{outline:3px solid var(--wine);outline-offset:4px;border-radius:2px}
@media(min-width:701px) and (max-width:1024px){.page-id-40 .bsh-business-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:700px){.page-id-40 .bsh-business-grid{grid-template-columns:1fr;gap:18px}.page-id-40 .bsh-business-grid>.bsh-business-card{padding:20px;min-height:25rem}.page-id-40 .bsh-business-heading{gap:12px}.page-id-40 .bsh-business-heading>.bsh-business-image{flex-basis:88px;width:88px}.page-id-40 .bsh-business-image img{width:88px;height:88px}}
@media print{.page-id-40 .bsh-business-grid{display:block}.page-id-40 .bsh-business-grid>.bsh-business-card{min-height:0;break-inside:avoid;margin-bottom:20px}.page-id-40 .bsh-business-actions{display:block}.page-id-40 .bsh-business-actions>.bsh-card-more>summary{display:none}}

/* Leben & Gemeinde: freigegebener Liederkranz und gleichmäßige Karten, 19.11.2026. */
.page-id-13 .bsh-club-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;margin-top:22px}
.page-id-13 .bsh-club-grid>.bsh-club-card{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:24rem;padding:24px;margin:0;overflow-wrap:anywhere}
.page-id-13 .bsh-club-heading{display:flex;align-items:center;gap:14px;min-height:96px;margin:0 0 18px}
.page-id-13 .bsh-club-heading h3{flex:1;min-width:0;margin:0;font-size:1.4rem;line-height:1.3;hyphens:auto}
.page-id-13 .bsh-club-heading>.bsh-club-image{flex:0 0 96px;width:96px;padding:0;margin:0}
.page-id-13 .bsh-club-image a{display:block;border-radius:4px}
.page-id-13 .bsh-club-image img{display:block;width:96px;height:96px;object-fit:contain;border-radius:4px}
.page-id-13 .bsh-club-card>p{margin:0 0 18px;line-height:1.65}
.page-id-13 .bsh-club-preview{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.page-id-13 .bsh-club-card:has(details[open])>.bsh-club-preview{display:none}
.page-id-13 .bsh-club-card>.bsh-club-actions{margin-top:auto;margin-bottom:0;border:0;padding:10px 0 0;min-height:48px;box-sizing:border-box}
.page-id-13 .bsh-club-actions summary{cursor:pointer;padding:10px 0;min-height:48px;line-height:1.5;box-sizing:border-box}
.page-id-13 p.bsh-club-actions>a{display:inline-flex;align-items:center;min-height:48px;padding:10px 0;box-sizing:border-box}
.page-id-13 .bsh-club-full p{margin:10px 0 0;line-height:1.65}
.page-id-13 .bsh-club-card:has(details[open]){outline:2px solid var(--green);outline-offset:2px}
.page-id-13 .bsh-club-card a:focus-visible,.page-id-13 .bsh-club-card summary:focus-visible{outline:3px solid var(--wine);outline-offset:4px;border-radius:2px}
.page-id-13 .bsh-section>.wp-block-columns:is(.bsh-contact-cards,.bsh-room-cards){align-items:stretch!important}
.page-id-13 .bsh-contact-cards>.wp-block-column,.page-id-13 .bsh-room-cards>.wp-block-column{display:flex}
.page-id-13 .bsh-contact-cards .bsh-card,.page-id-13 .bsh-room-cards .bsh-card{display:flex;flex-direction:column;width:100%;height:auto;box-sizing:border-box}
.page-id-13 .bsh-contact-cards .bsh-card{min-height:16rem}
.page-id-13 .bsh-contact-cards .bsh-card>p:last-child{margin-top:auto}
.page-id-13 .bsh-room-cards .bsh-card{min-height:11rem}
@media(min-width:701px) and (max-width:1024px){.page-id-13 .bsh-club-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:700px){.page-id-13 .bsh-club-grid{grid-template-columns:1fr;gap:18px}.page-id-13 .bsh-club-grid>.bsh-club-card{padding:20px}.page-id-13 .bsh-club-heading{gap:12px}.page-id-13 .bsh-club-heading>.bsh-club-image{flex-basis:88px;width:88px}.page-id-13 .bsh-club-image img{width:88px;height:88px}}
@media print{.page-id-13 .bsh-club-grid{display:block}.page-id-13 .bsh-club-grid>.bsh-club-card{min-height:0;break-inside:avoid;margin-bottom:20px}.page-id-13 .bsh-club-preview{display:none}.page-id-13 .bsh-club-full{display:block!important}.page-id-13 .bsh-contact-cards .bsh-card,.page-id-13 .bsh-room-cards .bsh-card{min-height:0}}

@media(max-width:781px){.page-id-13 .bsh-section>.wp-block-columns:is(.bsh-contact-cards,.bsh-room-cards){display:grid!important;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr}}

/* Marcos Zelte: freigegebene Firmenkarte ohne QR-Code, 22.11.2026. */
.page-id-40 .bsh-business-grid>.bsh-business-card.bsh-marcos-card{padding:0;background:var(--paper)}
.page-id-40 .bsh-marcos-card>.bsh-marcos-link{display:flex;align-items:center;justify-content:center;width:100%;height:calc(26rem - 3px);margin:0;padding-bottom:12px;box-sizing:border-box;background:var(--paper);isolation:isolate;border-radius:0 0 4px 4px}
.page-id-40 .bsh-marcos-link img{display:block;flex:0 1 auto;min-width:0;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.page-id-40 .bsh-marcos-link:focus-visible{outline:3px solid var(--wine);outline-offset:4px}
@media(max-width:700px){.page-id-40 .bsh-marcos-card>.bsh-marcos-link{height:calc(25rem - 3px)}}
@media print{.page-id-40 .bsh-marcos-card>.bsh-marcos-link{height:auto;max-width:320px;margin:auto}.page-id-40 .bsh-marcos-link img{max-height:none}}

/* Freigabestand 30.11.2026: geordnete, gleichmaessige Verzeichnisse. */
.page-id-13 .bsh-club-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.page-id-13 .bsh-club-grid>.bsh-club-card{min-height:22rem;height:100%}
.page-id-15 .bsh-host-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:28px;align-items:stretch;margin-top:24px}
.page-id-15 .bsh-host-grid:has(details[open]){grid-auto-rows:auto}
.page-id-15 .bsh-host-grid+h2{margin-top:48px}
.page-id-15 .bsh-host-grid>.bsh-host-card{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:32rem;height:100%;margin:0;padding:24px}
.page-id-15 .bsh-host-card>.bsh-eyebrow{margin:0;line-height:1.6;min-height:1.6em}
.page-id-15 .bsh-host-card>h3{margin:8px 0 12px;font-size:1.4rem;line-height:1.3;min-height:2.6em;hyphens:auto}
.page-id-15 .bsh-host-card>figure.bsh-host-media{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 200px;width:100%;height:200px!important;min-height:200px;max-height:200px;margin:0 0 18px!important;padding:0!important;border-radius:4px;background:var(--cream);overflow:hidden}
.page-id-15 .bsh-host-card>figure.bsh-host-media>img.bsh-host-photo{display:block;width:100%;height:200px!important;max-height:200px!important;object-fit:contain!important;transform:none!important}
.page-id-15 .bsh-host-card>figure.bsh-host-media>img.bsh-host-logo{position:absolute;right:8px;bottom:8px;display:block;width:116px;height:58px!important;max-width:38%;max-height:58px!important;object-fit:contain!important;background:var(--paper);padding:5px;border:1px solid var(--line);border-radius:3px;transform:none!important}
.page-id-15 .bsh-host-media>figcaption{position:absolute;left:0;bottom:0;margin:0;padding:3px 8px;font-size:.8rem;line-height:1.4;background:var(--paper);color:var(--ink)}
.page-id-15 .bsh-host-card>.bsh-host-teaser{margin:0 0 12px;line-height:1.65}
.page-id-15 .bsh-host-card>.bsh-host-more{margin-top:auto;margin-bottom:8px;padding-top:4px}
.page-id-15 .bsh-host-more>summary{min-height:44px;padding:10px 0;line-height:1.5}
.page-id-15 .bsh-host-full{padding-bottom:8px}
.page-id-15 .bsh-host-card>.bsh-host-website{margin:0;padding-top:4px;font-size:.95rem;line-height:1.5}
.page-id-15 .bsh-host-card:not(:has(details))>.bsh-host-website{margin-top:auto}
.page-id-15 .bsh-host-website>a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.page-id-15 .bsh-host-card:has(details[open]){outline:2px solid var(--green);outline-offset:2px}
.page-id-15 .bsh-host-card a:focus-visible,.page-id-15 .bsh-host-card summary:focus-visible{outline:3px solid var(--wine);outline-offset:4px}
@media(max-width:700px){.page-id-13 .bsh-club-grid,.page-id-15 .bsh-host-grid{grid-template-columns:minmax(0,1fr);gap:18px}.page-id-13 .bsh-club-grid>.bsh-club-card{min-height:22rem;height:auto}.page-id-15 .bsh-host-grid{grid-auto-rows:auto}.page-id-15 .bsh-host-grid>.bsh-host-card{height:auto;min-height:0;padding:20px}.page-id-15 .bsh-host-card>h3{min-height:0}.page-id-15 .bsh-host-grid+h2{margin-top:32px}}
@media print{.page-id-13 .bsh-club-grid,.page-id-15 .bsh-host-grid{display:block}.page-id-13 .bsh-club-grid>.bsh-club-card,.page-id-15 .bsh-host-grid>.bsh-host-card{height:auto;min-height:0;break-inside:avoid;margin-bottom:20px}.page-id-15 .bsh-host-media{break-inside:avoid}}

/* Vier Gewerbeeintraege ausgewogen in zwei Reihen, 30.11.2026. */
@media screen and (min-width:701px){.page-id-40 .bsh-business-grid:has(>.bsh-business-card:nth-child(4)):not(:has(>.bsh-business-card:nth-child(5))){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Gewerbe: grosse Bilder und gehaltvollere Vorschauen, 30.11.2026. */
.page-id-40 .bsh-business-grid{align-items:stretch;grid-auto-rows:1fr}
.page-id-40 .bsh-business-grid>.bsh-business-card{min-height:0;height:100%;padding:24px}
.page-id-40 .bsh-business-heading{display:contents}
.page-id-40 .bsh-business-heading>.bsh-business-image{order:-1;flex:0 0 auto;width:100%;height:240px;margin:0;padding:0;background:var(--cream);border-radius:4px;overflow:hidden}
.page-id-40 .bsh-business-image a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.page-id-40 .bsh-business-image img{display:block;width:100%;height:100%;max-height:240px;object-fit:contain;background:transparent}
.page-id-40 .bsh-business-card>.bsh-eyebrow{min-height:0;margin:18px 0 6px;line-height:1.5}
.page-id-40 .bsh-business-heading h3{flex:none;margin:0 0 12px;font-size:1.5rem;line-height:1.3}
.page-id-40 .bsh-business-card>.bsh-business-teaser{margin:0;line-height:1.65}
.page-id-40 .bsh-business-teaser strong{display:block;margin-bottom:8px}
.page-id-40 .bsh-business-actions{padding-top:18px;margin-top:auto}
.page-id-40 .bsh-business-grid:has(details[open]){grid-auto-rows:auto;align-items:start}
.page-id-40 .bsh-business-grid:has(details[open])>.bsh-business-card{height:auto}
.page-id-40 .bsh-business-grid>.bsh-marcos-card{padding:0;min-height:26rem}
.page-id-40 .bsh-marcos-card>.bsh-marcos-link{flex:1;height:100%;min-height:26rem;padding:24px 18px;align-items:center}
.page-id-40 .bsh-marcos-link img{width:auto;height:auto;max-width:100%;max-height:26rem}
@media(max-width:700px){.page-id-40 .bsh-business-grid{grid-auto-rows:auto}.page-id-40 .bsh-business-grid>.bsh-business-card{height:auto;padding:20px}.page-id-40 .bsh-business-grid>.bsh-marcos-card{padding:0}.page-id-40 .bsh-business-heading>.bsh-business-image{width:100%;height:220px}.page-id-40 .bsh-business-image img{width:100%;height:100%;max-height:220px}.page-id-40 .bsh-business-card>.bsh-eyebrow{margin-top:16px}.page-id-40 .bsh-business-heading h3{font-size:1.4rem}.page-id-40 .bsh-marcos-card>.bsh-marcos-link{height:auto;min-height:0;padding:20px 16px}.page-id-40 .bsh-marcos-link img{max-height:25rem}}
@media print{.page-id-40 .bsh-business-grid>.bsh-business-card{height:auto;min-height:0}.page-id-40 .bsh-business-heading>.bsh-business-image{height:180px}.page-id-40 .bsh-business-image img{max-height:180px}}
