/* Remland 1.6: retain original palette and assets, replace fixed layout. */
html { scroll-padding-top: 12px; }
body { margin: 0; background: #fff; line-height: 1.5; }
#wrap, #wrap *, .top_line, .top_line *, .contentpane * { box-sizing: border-box; }
#wrap { width: 100%; max-width: 996px; padding: 0 12px; text-align: left; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid #0089fa; outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px; background: #fc0; color: #000; }
.skip-link:focus { top: 8px; }
.top_line { position: relative; width: 100%; padding: 4px 12px; z-index: 2; }
.project-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 16px; max-width: 996px; margin: auto; }
.top_line a { margin: 0; padding: 3px 0; }
.top_banner { height: auto; margin: 0; padding: 20px 0 0; }
.brand { display: inline-block; margin-left: 0; }
.brand img { display: block; }
.brand-tagline { display: block; color: #8672ff; font-size: 14px; letter-spacing: 6px; margin-top: 2px; }
.tricolor { display: flex; width: 100%; margin: 10px 0 18px; }
.block { float: none; height: 3px; flex: 1; }
#content { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; width: 100%; height: auto; padding: 0; overflow: visible; align-items: start; }
.left-column, .right { float: none; width: auto; min-width: 0; margin: 0; padding: 0; overflow: visible; }
.menu, .menu_new, .menu_new ul, .menu_new li { width: auto; max-width: 100%; }
.menu_new ul { list-style: none; margin: 0; padding: 0; }
.menu_new ul ul { padding-left: 14px; }
.menu_new li { margin: 0 0 4px; }
.menu_new a { display: block; padding: 7px 0; line-height: 1.35; overflow-wrap: anywhere; }
.menu-toggle { display: none; }
.breadcrumb { margin: 0; padding: 0 0 8px; overflow-wrap: anywhere; }
.breadcrumb:empty { display: none; }
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.inhalt { margin: 0; padding: 0; font-size: 15px; text-align: center; overflow-wrap: anywhere; min-width: 0; }
.inhalt h1 { line-height: 1.35; }
.inhalt table { width: 100%; max-width: 100%; height: auto; border-spacing: 0; }
.inhalt td, .inhalt th { min-width: 0; overflow-wrap: anywhere; vertical-align: top; }
.inhalt img, .inhalt video, .inhalt iframe, .inhalt object, .inhalt embed { max-width: 100%; }
.inhalt img, #jg_photo_big { height: auto !important; }
/* Original three-column story table stays readable even without JavaScript. */
.inhalt table table { table-layout: fixed; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.story-card { min-width: 0; display: flex; flex-direction: column; }
.story-card-image img { display: block; width: 100%; height: auto; }
.story-card-text { padding: 12px 0; }
.story-card-text > b { display: block; }
.story-card-text > br, .story-card-text > b > br { display: none; }
.story-card-link { margin-top: auto; padding-bottom: 14px; }
.story-card-link a { display: inline-block; padding: 8px 0; }
.ad-container { max-width: 100%; min-width: 0; }
.top-ad { width: 100%; border: 2px solid #f1f1f1; border-radius: 4px; padding: 8px; margin: 4px 0 14px; overflow: hidden; }
.sidebar-ad { width: 180px; margin: 16px 0; overflow: hidden; }
.adsbygoogle, .ad-container iframe { max-width: 100%; }
.back-to-top { text-align: right; margin: 12px 0; }
.back-to-top a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; }
#bottom { height: auto; margin-top: 24px; padding: 0; }
#bottom_links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin: 0; padding: 22px 0; background: #fc0; }
.footer-column { min-width: 0; padding: 0 22px; }
.footer-column + .footer-column { border-left: 1px dashed #ededed; }
.footer-column h2 { font-size: 16px; margin: 0 0 10px; color: #000; font-weight: bold; }
#bottom_links ul { list-style: none; padding: 0; margin: 0; }
#bottom_links li { margin: 0 0 8px; }
#bottom_links a { display: inline-block; color: #fff; line-height: 1.5; overflow-wrap: anywhere; }
#footer { margin: 18px 0 0; padding: 0 6px 20px; line-height: 1.6; }
#footer a { color: #989282; font-size: 12px; }
/* JoomGallery: override its fixed percentage widths without stretching images. */
.inhalt .jg_row { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; margin: 0 0 18px; padding: 0; }
.inhalt .jg_element_gal, .inhalt .jg_element_cat { float: none; width: calc((100% - 36px) / 3); min-width: 0; margin: 0; padding: 0; }
.inhalt .jg_imgalign_gal, .inhalt .jg_imgalign_cat, .inhalt [class^="jg_photo_container"] { float: none; max-width: 100%; width: auto; margin-inline: auto; }
.inhalt [class^="jg_element_txt"] { float: none; max-width: 100%; width: auto; padding: 8px 0; }
.inhalt [class^="jg_element_txt"] ul { list-style: none; margin: 0; padding: 0; }
.inhalt .jg_clearboth { display: none; }
.inhalt .jg_displaynone { display: none; }
.inhalt .jg_dtl_photo { width: 100%; max-width: 100%; }
.inhalt .jg_detailnavi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 12px 0; }
.inhalt .jg_detailnaviprev, .inhalt .jg_detailnavinext, .inhalt .jg_iconbar { float: none; width: auto; max-width: 100%; }
.inhalt .jg_detailnavi a { display: inline-block; padding: 8px 4px; min-height: 44px; }
.populare_bilder, .populare_bilder_2 { width: 100%; height: auto; margin-left: 0; display: flow-root; }
.contentpane { padding: 12px; }
@media (max-width: 900px) and (min-width: 768px) {
 #content { grid-template-columns: 180px minmax(0, 1fr); gap: 14px; }
 .menu_new a { font-size: 17px; }
 .story-grid { gap: 10px; }
 .inhalt .jg_element_gal, .inhalt .jg_element_cat { width: calc((100% - 18px) / 2); }
}
@media (max-width: 767px) {
 #wrap { padding: 0 12px; }
 .project-links { gap: 2px 14px; font-size: 12px; }
 .project-links > span { flex-basis: 100%; }
 .top_line a { min-height: 30px; display: inline-flex; align-items: center; }
 .top_banner { padding-top: 16px; }
 .brand-tagline { font-size: 13px; letter-spacing: 1.2px; line-height: 1.6; }
 .tricolor { margin-bottom: 12px; }
 #content { display: flex; flex-direction: column; gap: 12px; }
 .left-column, .right { width: 100%; }
 .menu-toggle[data-enhanced] { display: flex; width: 100%; align-items: center; gap: 9px; padding: 10px 12px; border: 0; border-radius: 4px; background: #fc0; color: #000; font: bold 16px Arial, Helvetica, sans-serif; cursor: pointer; margin: 0 0 8px; min-height: 44px; }
 .menu-toggle-state { margin-left: auto; font-size: 13px; font-weight: normal; }
 #site-navigation[hidden] { display: none; }
 .menu_new { border-bottom: 3px solid #ffa900; padding: 4px 12px 10px; }
 .menu_new a { padding: 10px 0; min-height: 44px; font-size: 18px; }
 .sidebar-ad { display: none; }
 .left-column:has(#site-navigation[hidden]) { display: none; }
 .top-ad { margin-top: 0; }
 .inhalt { font-size: 16px; }
 .inhalt h1 { font-size: 22px; }
 .story-grid { grid-template-columns: 1fr; gap: 24px; }
 .story-card-image img { width: auto; max-width: 100%; margin: auto; }
 .story-card-text { padding: 10px 0 0; }
 .inhalt .jg_element_gal, .inhalt .jg_element_cat { width: calc((100% - 18px) / 2); }
 #bottom_links { grid-template-columns: 1fr; padding: 0 20px; }
 .footer-column { padding: 18px 0; }
 .footer-column + .footer-column { border-left: 0; border-top: 1px dashed #ededed; }
 #bottom_links a { padding: 4px 0; }
 .zeile, .zeile_2, .text_icon, .text_icon_2 { width: 50%; }
}
@media (max-width: 420px) {
 .brand-tagline { letter-spacing: .3px; font-size: 12px; }
 .inhalt .jg_element_gal, .inhalt .jg_element_cat { width: 100%; }
}
@media print {
 .top_line, .left-column, .menu-toggle, .ad-container, .back-to-top, footer { display: none !important; }
 #wrap, #content, .right { display: block; width: 100%; max-width: none; padding: 0; }
}
