/* Original desktop styling remains in the archived stylesheets. */
#c1873 .rgslideshownav { width: 491px !important; max-width: 100%; }
@media screen and (max-width: 980px) {
  *, *::before, *::after { box-sizing: border-box; }
  body { font-size: 14px; overflow-wrap: anywhere; }
  #header {
    width: calc(100% - 24px);
    max-width: 959px;
    height: auto;
    min-height: 0;
    padding-top: 22.3vw;
    background-size: 100% auto;
    background-position: top center;
    margin: 10px auto;
  }
  #headermenue { float: none; padding: 8px 0 0; }
  #headermenue ul { display: flex; justify-content: flex-end; flex-wrap: wrap; float: none; gap: 4px 12px; }
  #headermenue ul li { float: none; clear: none; }
  #headermenue ul li a { display: block; padding: 6px 0; }
  #content {
    width: calc(100% - 24px);
    max-width: 951px;
    display: flex;
    flex-direction: column;
    background-image: none;
    margin: 0 auto 24px;
  }
  .content-header { height: auto; min-height: 39px; order: 0; }
  #breadcrumb { float: none; padding: 10px 16px; }
  #links { display: contents; }
  #links > .menueWrap { order: 1; }
  #links > .submenue { order: 2; }
  #mitte { order: 3; float: none; width: auto; min-width: 0; margin: 0; padding: 20px 16px; }
  #teaser_links { order: 4; padding: 16px; border-top: 1px solid #ddd; background: #f6f6f6; }
  #rechts { order: 5; float: none; width: auto; min-width: 0; padding: 0 16px 16px; background: #f6f6f6; border-top: 1px solid #ddd; }
  #content > .clearer { display: none; }
  #rechts h3 { margin-left: 0; padding-left: 0; }
  #rechts h2 { font-size: 15px; }
  #rechts a, #rechts p { font-size: 14px; }
  h1 { font-size: clamp(24px, 4vw, 29px); }
  #inhalte img, #teaser_links img, #rechts img { max-width: 100%; height: auto; }
  #inhalte table { width: 100%; max-width: 100%; table-layout: fixed; }
  #inhalte td, #inhalte th { overflow-wrap: anywhere; vertical-align: top; }
  #inhalte .contenttable td:first-child { width: 42%; }
  #inhalte .teaser1-textblock { float: none; width: auto; margin: 7px 0; }
  #c1873 { max-width: 492px; margin-left: auto; margin-right: auto; }
  #rgslideshow-1873 { width: 100% !important; height: auto !important; aspect-ratio: 49 / 30; }
  #rgslideshow-1873 img { width: 100% !important; height: 100% !important; margin: 0; object-fit: contain; }
  .rgslideshownav { width: 100% !important; }
  .rgslideshownav .rgsnav2 { display: block; height: auto; padding: 3px 6px; }
  .rgslideshownav .rgsbrowserEl { display: inline-block; min-width: 24px; min-height: 28px; padding: 0 3px; line-height: 28px; }
  .rgslideshownav .rgssplitEl { display: none; }
  .rgslideshownav .rgsplay { display: inline-block; min-width: 28px; line-height: 28px; }
  #footer { height: auto; min-height: 0; margin: 24px 0 0; padding: 16px 12px; clear: both; overflow: visible; }
  .footerContent { width: 100%; max-width: 951px; padding-top: 0; }
  .footerText { line-height: 1.8; }
  #mycarousel { padding-top: 8px; }
  .menu1 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu1 > li { min-width: 0; display: flex; flex-direction: column; background: #dedede; }
  .menu1 > li > a { flex: 1; font-size: 16px; line-height: 1.35; min-height: 44px; padding: 10px 12px; background-image: none; background-color: #dedede; }
  .menu1 > li > .aktiv { background-image: none; background-color: #aaa; }
  .menu1 > li > a:hover { background-image: none; background-color: #ccc; }
  .menu1 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .menu2, .menu3 { padding: 8px 12px 12px; }
  .menu2 a, .menu3 a { display: block; padding: 6px 0; }
}
@media screen and (max-width: 600px) {
  .linkeSpalte, .rechteSpalte { float: none !important; width: 100% !important; border: 0; padding: 0; margin: 0; }
}
