/* Screenshot-Abgleich und mobile Darstellung */
.footer-legal{max-width:100%;min-width:0;justify-content:flex-end;align-items:center}
.footer-legal nav{min-width:0}
.footer-menu{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 18px;list-style:none;margin:0;padding:0}
.footer-menu li{margin:0;padding:0;max-width:100%}
.footer-menu a{overflow-wrap:anywhere}
.breadcrumbs{margin:8px 0 30px;font-size:14px;color:#454545}
.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;list-style:none;margin:0;padding:0}
.breadcrumbs li{display:inline;max-width:100%;overflow-wrap:anywhere}
.breadcrumbs li+li::before{content:'›';color:#888;margin-right:10px}
.breadcrumbs a{color:inherit}.breadcrumb-pin{width:11px;height:14px;vertical-align:-2px;margin-right:3px}
.section-heading{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;border-bottom:2px solid #493632;padding:8px 0 16px;margin:0 0 20px}
.section-heading .section-heading-title{font-size:22px;line-height:1.4;font-weight:normal;text-align:center;margin:0}
.section-ornament{flex:none;display:inline-block;width:70px;height:18px;background:url(assets/ornament.png) 0 0 no-repeat}
.entry>h1{font-size:30px;line-height:1.5;margin:0 0 18px}
@media(max-width:700px){.breadcrumbs{margin:8px 0 30px}.section-heading{gap:6px 9px;margin-bottom:16px;padding-bottom:14px}.section-heading .section-heading-title{font-size:20px}.entry>h1{font-size:27px;line-height:1.45}.section-ornament{width:64px}}
/* Footer unten bei kurzen Seiten; bei langen Seiten nach dem Inhalt. */
html{min-height:100%;background:#283642}
body{margin:0;padding:0;min-height:100vh;min-height:100dvh;background:#283642}
.site-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#efefed url(assets/paper.png) repeat}
body.admin-bar .site-shell{min-height:calc(100vh - 32px);min-height:calc(100dvh - 32px)}
.site-shell>.masthead,.site-shell>.topbar,.site-shell>.promo,.site-shell>.footer{flex-shrink:0}
.site-shell>.layout{flex:1 0 auto;width:min(var(--width),calc(100% - 32px));align-content:start}
.site-shell>.footer{margin-top:30px;margin-bottom:0}
@media(max-width:782px){body.admin-bar .site-shell{min-height:calc(100vh - 46px);min-height:calc(100dvh - 46px)}}
.footer{width:100%;min-height:76px;margin-top:30px;padding:0;border:0;background:#2b3e4d url(assets/header-wolkig.png?v=0.4.0) center/cover no-repeat;color:#eee3cb;display:flex;align-items:center}
.footer-inner{text-align:center;padding-block:20px}
.footer a{color:inherit}
.footer .footer-inner{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:14px 0 32px;gap:16px;text-align:left}
.footer-name{font-size:12px}
.footer-legal{display:flex;gap:18px;margin-left:auto;align-items:center}
.footer .footer-legal a{color:#f6ca22;font-size:12px;font-weight:bold}
.footer .back-to-top{position:absolute;bottom:0;left:50%;transform:translateX(-50%);padding:7px 12px;background:#101b24;color:#c8c8c8;white-space:nowrap;font-size:14px;opacity:0;transition:opacity .18s ease}
.footer:hover .back-to-top,.footer:focus-within .back-to-top{opacity:1}
.footer .back-to-top:focus-visible{opacity:1}
@media(hover:none),(pointer:coarse){.footer .back-to-top{opacity:1;min-height:44px;display:flex;align-items:center}.footer .footer-inner{padding-bottom:48px;min-height:94px}.footer-legal a{min-height:44px;display:flex;align-items:center}}
@media(max-width:700px),(hover:none) and (pointer:coarse){.footer .back-to-top{display:none}.footer .footer-inner{padding-bottom:24px;min-height:0}}
@media(max-width:480px){.footer .footer-inner{flex-wrap:wrap;gap:4px 14px}.footer-legal{gap:14px}}
body{font:14px/1.5 'Times New Roman',Times,serif;color:#000}
.topbar{height:38px;background:#bd0703;display:flex;align-items:center;justify-content:center}
.topbar a{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(#b9b9b9,#777);font:bold 20px Arial;color:white}
.masthead{padding:0;border:0;min-height:152px}
.brand,.custom-logo-link{height:110px;display:inline-flex;align-items:center;justify-content:center}
.custom-logo{max-height:100px;max-width:340px;width:auto}
.menu{min-height:42px;padding:8px 0 10px;gap:4px 34px;align-items:center}
.menu a{text-transform:uppercase;color:white;font-size:14px}
.promo{margin-top:10px;box-shadow:0 8px 24px #0004}
.layout{padding-top:0;grid-template-columns:minmax(0,77fr) minmax(0,23fr);gap:0}
.layout main{padding:18px 24px 0 14px}
.layout aside{padding:14px 0 0 18px;border-left:1px solid #ccc}
.entry{display:flow-root;padding-top:26px;overflow-wrap:anywhere}
.entry h2{margin:0 0 12px;font-size:25px;line-height:1.6}.entry h2 a{color:#000}
.entry-thumbnail{float:left;width:32%;margin:0 14px 10px 6px}.entry-thumbnail img{display:block;width:100%;height:auto}
.widget-title{font-size:16px;margin:0 0 14px}.widget ul{padding-left:22px}.widget li{margin-bottom:4px}
.menu-toggle{display:none}iframe,video{max-width:100%}video{height:auto}.entry pre{overflow:auto}
@media(max-width:900px){.menu{gap:4px 20px}.wrap{width:calc(100% - 32px)}}
@media(max-width:700px){
.masthead{min-height:0}.brand,.custom-logo-link{height:104px}.custom-logo{max-width:100%;height:auto}
.menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;border:1px solid #ffffff55;background:transparent;color:white;font:16px Georgia,serif;padding:8px 14px;margin-bottom:10px}
.has-toggle .menu{display:none}.has-toggle .menu.is-open{display:flex}
.menu{flex-direction:column;align-items:stretch;gap:0;text-align:left;padding:0 0 12px}
.menu a{display:block;min-height:44px;padding:11px 14px}
.menu ul{display:block;position:static;padding:0 0 0 16px;background:transparent}.menu ul li{padding:0}
.layout{grid-template-columns:minmax(0,1fr)}.layout main{padding:16px 0 0}.layout aside{border-left:0;border-top:1px solid #ccc;padding:20px 0}
.promo-placeholder{height:auto;aspect-ratio:3/1}.entry h2{font-size:23px;line-height:1.35}
.entry-thumbnail{width:30%;margin-left:0}.entry{padding-top:12px}
input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px}.brand{font-size:30px;letter-spacing:2px}
}
@media(max-width:380px){.entry-thumbnail{float:none;width:min(210px,100%);margin:0 auto 18px}.wrap{width:calc(100% - 24px)}}
/* Mobile Referenz: großes Logo, Symbolnavigation, keine Promo-Fläche. */
@media(max-width:700px){
.masthead .wrap{width:100%}
.brand,.custom-logo-link{width:100%;height:auto;min-height:110px;padding:8px 20px}
.custom-logo{width:100%;max-width:340px;max-height:none;height:auto;object-fit:contain}
.masthead nav{padding:0 8px}
.menu-toggle{width:44px;height:44px;justify-content:center;border:0;padding:0;margin:0;font:24px/1 Arial,sans-serif;color:#ccc}
.promo{display:none}
.menu{padding-left:8px;padding-right:8px}
}
/* Durchgehende Melierung statt wiederholter Hintergrundkacheln. */
.masthead{background:#2b3e4d url(assets/header-wolkig.png?v=0.4.0) center/cover no-repeat}
.masthead .custom-logo-link{height:auto;min-height:110px;padding:18px 0 0;max-width:100%;margin-inline:auto;justify-content:center}
.masthead .custom-logo{display:block;width:340px;max-width:100%;max-height:none;height:auto}
.topbar .facebook-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:38px;background:none;border:0;border-radius:0}
.facebook-icon svg{display:block;flex:none}
.topbar a.facebook-icon:hover svg{filter:brightness(1.15)}
@media(max-width:700px){.masthead .custom-logo-link{display:flex;padding:18px 20px 0;min-height:0}.masthead .custom-logo{width:340px;max-width:100%;height:auto}}

/* Wappen im roten Balken und Facebook neben den Footer-Links. */
.topbar .topbar-crest{display:flex;align-items:center;justify-content:center;width:44px;height:38px;border:0;border-radius:0;background:none}
.topbar-crest img{display:block;width:auto;height:30px;max-width:28px}
.footer .facebook-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-height:32px;border:0;background:none}
.footer .facebook-icon svg{width:26px;height:26px}
.footer a.facebook-icon:hover svg{filter:brightness(1.15)}
@media(hover:none),(pointer:coarse){.footer .facebook-icon{min-width:44px;min-height:44px}}

/* Navigation entsprechend der Joomla-Vorlage. */
.masthead{position:relative;z-index:20}
.masthead .menu>li>a{font-size:14px}
.masthead .menu ul{display:none;position:absolute;top:100%;left:0;width:206px;min-width:206px;padding:0;margin:0;background:#041425;border-radius:4px;box-shadow:0 2px 3px #0002;list-style:none;text-align:left;z-index:30}
.masthead .menu li:hover>ul,.masthead .menu li:focus-within>ul{display:block}
.masthead .menu ul li{position:relative;margin:0;padding:0;border-bottom:1px solid #1b3041}
.masthead .menu ul li:last-child{border-bottom:0}
.masthead .menu ul a{display:block;padding:14px 15px;color:#efe2c0;text-transform:none;font-size:14px;line-height:1.45;text-decoration:none}
.masthead .menu ul li:hover>a,.masthead .menu ul li:focus-within>a{background:#203e55;color:#fff}
.masthead .menu ul ul{left:100%;top:0}
.masthead .menu ul .menu-item-has-children>a{padding-right:28px}
.masthead .menu ul .menu-item-has-children>a::after{content:'›';position:absolute;right:12px;color:#8fa5b3}
.breadcrumbs{margin:0 0 6px;font-size:12px}
.content-ornament{height:11px;margin:6px 0 18px;background:url(assets/divider.png) center/100% 11px no-repeat}
.entry{background:none;padding-top:0}
.archive-heading{font-size:25px;margin:14px 0}
@media(max-width:700px){
.breadcrumbs{margin:8px 0 8px;font-size:14px}
.content-ornament{margin:8px 0 20px}
.masthead .menu ul,.masthead .menu ul ul{display:block;position:static;width:auto;min-width:0;margin:0 0 0 14px;padding:0;border-radius:0;box-shadow:none;background:#041425}
.masthead .menu ul a{min-height:44px;padding:12px 14px}
.masthead .menu ul .menu-item-has-children>a::after{content:none}
}

/* Mobile Navigation nach der Referenz: graue Zeilen und Akkordeon. */
.submenu-toggle{display:none}
@media(max-width:700px){
.masthead nav{padding:0}
.masthead .menu-toggle{margin:0;width:44px;height:44px;background:#3b3b3b;color:#ddd;position:relative}
.masthead .menu-toggle[aria-expanded=true]::after{content:'';position:absolute;bottom:-7px;left:15px;border:7px solid transparent;border-bottom:0;border-top-color:#3b3b3b;z-index:2}
.masthead .menu{padding:0;margin:0;width:100%;gap:0;background:#333;text-align:left}
.masthead .menu>li{position:relative;margin:0;padding:0;border-top:1px solid #474747;border-bottom:1px solid #232323;background:#333}
.masthead .menu>li>a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font:18px/1.4 'Times New Roman',Times,serif;color:#ddd;text-transform:uppercase;text-decoration:none}
.masthead .menu>li.current-menu-item>a{background:#214563;color:#fff}
.masthead .menu .menu-item-has-children>a{padding-right:48px}
.masthead .menu .submenu-toggle{display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:0;width:44px;height:44px;border:0;border-left:1px solid #ffffff08;border-radius:0;background:#0003;color:#c9ced0;font:24px/1 Arial,sans-serif;cursor:pointer;padding:0}
.masthead .menu ul,.masthead .menu ul ul{position:static;width:auto;min-width:0;margin:0;padding:8px 0;border-radius:0;background:#444;box-shadow:none;list-style:none}
.masthead .has-toggle .menu li>ul,.masthead .has-toggle .menu li:hover>ul,.masthead .has-toggle .menu li:focus-within>ul{display:none}
.masthead .has-toggle .menu li.submenu-open>ul{display:block}
.masthead .menu ul li{margin:0;padding:0;border:0;background:#444}
.masthead .menu ul a{min-height:44px;padding:11px 44px 11px 40px;color:#ccc;font:16px/1.4 'Times New Roman',Times,serif;text-transform:none;position:relative}
.masthead .menu ul a::before{content:'▪';position:absolute;left:22px;color:#aaa;font-size:12px;top:13px}
.masthead .menu ul ul{padding-left:23px}
.masthead .menu ul li:hover>a,.masthead .menu ul li:focus-within>a{background:#4b4b4b;color:#fff}
.masthead .menu ul .current-menu-item>a{color:#fff;background:#3d4b57}
.masthead .menu ul .submenu-toggle{background:transparent;font-size:20px}
}
/* Breadcrumb-Menü: Inhalte werden in WordPress verwaltet. */
.breadcrumbs{display:flex;align-items:baseline;gap:0}
.breadcrumbs>.breadcrumb-pin{flex:none;align-self:flex-start;margin-top:2px}
.breadcrumbs .breadcrumb-menu{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;list-style:none;margin:0;padding:0;min-width:0}
.breadcrumbs .breadcrumb-menu li{display:inline;margin:0;padding:0;max-width:100%;overflow-wrap:anywhere}
.breadcrumbs .breadcrumb-menu a{color:inherit}
.breadcrumbs .breadcrumb-menu li+li::before{content:'›';color:#888;margin-right:10px}
/* Kategorieüberschrift und Trenner vor jedem Kategoriebeitrag. */
.category-heading{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;border-bottom:2px solid #493632;padding:5px 0 12px;margin:0 0 18px}
.category-heading h1{font-size:18px;font-weight:normal;line-height:1.4;margin:0;text-align:center}
.category-heading-ornament{display:block;flex:none;width:70px;height:18px;background:url(assets/ornament.png) 0 0 no-repeat}
.category-post-ornament{clear:both;margin:12px 0 18px}
@media(max-width:700px){.category-heading h1{font-size:20px}.category-post-ornament{margin:12px 0 20px}}
/* Abschnittstitel wie in der Vorlage, auch in Beitrags-Abfrageblöcken. */
.category-heading{clear:both;padding:6px 0 12px;margin:0 8px 20px;border-bottom:2px solid #382c29;gap:6px}
.category-heading h1,.category-heading h2{font-family:'Times New Roman',Times,serif;font-size:16px;font-weight:normal;line-height:1.4;margin:0;text-align:center}
.category-heading-ornament{width:70px;height:18px;background-position:0 0}
.category-section-divider{margin:22px 0 18px}
.wp-block-post>.category-heading,.wp-block-post>.category-section-divider{width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
@media(max-width:700px){.category-heading h1,.category-heading h2{font-size:18px}}
/* Breadcrumb-Widgetbereich: Inhalt und Trennzeichen liefert das Widget. */
.breadcrumb-widget-area{display:block;color:#454545;font-size:12px;line-height:1.5}
.breadcrumb-widget-area .breadcrumb-widget{margin:0;padding:0;overflow-wrap:anywhere}
.breadcrumb-widget-area .breadcrumb-widget+.breadcrumb-widget{margin-top:6px}
.breadcrumb-widget-area p{margin:0}
.breadcrumb-widget-area a{color:inherit}
.breadcrumb-widget-area ol,.breadcrumb-widget-area ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.breadcrumb-widget-area li{margin:0;padding:0}
.breadcrumb-widget-area li+li::before{content:none}
@media(max-width:700px){.breadcrumb-widget-area{font-size:14px}}
