Body { background-color:#D9DADB; margin:20px; font-family:'Arial'; }
.MainFrame { width:1100px; position:relative;  margin:auto;   background-color:#D9DADB; }
.TopMenu { width:1100px; height:130px; overflow:hidden; background-color:#B6D5E9; }
.TopMenu a { border:none; }
.Logo { float:left; margin-left:30px; margin-top:25px; }
.Label { margin-top:18px; margin-left:832px; }
.Main { position:relative; width:1100px; height:590px; overflow:auto; background: url(../images/top_bogen.jpg) no-repeat #CCE2F0; }
.LeftMen { float:left; width:231px; height:300px; margin-top:118px; }
.LeftMenEnt { position:relative; height:76px; }
.LeftMenBut { height:76px; background: url(../images/but_left.png) no-repeat #CCE2F0; line-height:68px;  text-align:center; font-family:'Arial'; font-size:17px; font-weight:700; color:#FFFFFF; z-index:5; }
.LeftMenButSel { position:relative; height:76px; background: url(../images/but_left_sel.png) no-repeat #CCE2F0; line-height:68px;  text-align:center; font-family:'Arial'; font-size:17px; font-weight:700; color:#FFFFFF; z-index:5; }
.LeftMenBut:hover { background: url(../images/but_left_sel.png) no-repeat #CCE2F0; }
.LeftMen a { text-decoration:none; display:block; color:#FFFFFF; }
.IndexMainMid { float:left; width:370px; margin-left:40px; margin-top:190px; color:#004593; font-size:26px; line-height:30px; letter-spacing:1px; }
.IndexMainRight { width:392px;  position:absolute; bottom:0px; right:0px; text-align:center; font-size:21px; font-weight:700; color:#ec7404; text-shadow: 1px 1px 1px #595959; }
.InfoBild { overflow:hidden; margin-top:18px; border-left:2px solid #ec7404; border-top:2px solid #ec7404; border-top-left-radius:11px; height:394px; width:389px; z-index:9; }
.ContMain { position:relative; overflow:auto; float:left; margin-left:70px; margin-top:90px; height:370px; right:0px; width:797px; }
.ContMain#BackG { background:url(../images/schluessel.png) no-repeat; background-position:400px 90px; }
.ContMainMid { float:left; color:#004593; font-size:20px; font-style:italic; line-height:30px; width:660px; }
.ContMainMid h1 { color:#000000; font-size:20px; margin-top:20px; margin-bottom:6px; }
.ContMainMid a { text-decoration:none; color:#004692; }
.ContMainMid a:visited { color:#551A8B; }
.ContMainMid a:hover { color:#e4001b; text-decoration:none; }
.KontMainMid { float:left; width:380px; margin-left:33px; margin-top:72px; margin-right:25px; color:#004593; font-size:19px; line-height:20px; }
.Karte { margin-top:4px; width:370px; height:240px; border:2px solid #004593; border-radius:6px; }
.Iframe { width:370px; height:240px; border:0px solid #004593; border-radius:6px; }
.ImprMain { float:left; margin-left:60px; margin-top:124px; font-size:21px; line-height:23px; }
.ImprMain h1 { color:#000000; font-size:26px; font-style:normal; margin-bottom:20px; font-weight:bold; }
.LinksMain { float:left; margin-left:60px; margin-top:175px; font-size:21px; line-height:23px; }
.BotMen { position:absolute; z-index:10; bottom:0px; left:-10px; }
.BotMenBut { float:left; background: url(../images/but_bot.png) no-repeat; background-position:bottom; overflow:hidden; height:45px; width:198px; line-height:57px; text-align:center; font-size:14px; font-weight:700; color:#FFFFFF; }
.BotMenButSel { float:left; background: url(../images/but_bot_sel.png) no-repeat; background-position:bottom; overflow:hidden; height:45px; width:198px; line-height:57px; text-align:center; font-size:14px; font-weight:700; color:#FFFFFF; }
.BotMenBut:hover { background: url(../images/but_bot_sel.png) no-repeat #DCEAF5; }
.BotMenBut a { text-decoration:none; display:block; color:#FFFFFF; }

/* Static navigation and keyboard access. */
.TopMenu img { border: 0; }
.BotMenButSel a { color: #fff; text-decoration: none; display: block; }
a:focus-visible { outline: 3px solid #004593; outline-offset: 3px; }
.KontMainMid a { color: inherit; }

/* Keep the original desktop layout and make the content readable on phones. */
@media (max-width: 1140px) {
  body { margin: 12px; }
  .MainFrame, .TopMenu, .Main { width: 100%; }
  .TopMenu { height: auto; min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .Logo, .Label { float: none; margin: 10px 16px; }
  .Logo { max-width: 55%; }
  .Label { max-width: 30%; }
  .TopMenu img { display: block; max-width: 100%; height: auto; }
  .Main { height: auto; min-height: 590px; overflow: visible; background-size: 100% auto; }
  .LeftMen { float: none; display: flex; flex-wrap: wrap; width: auto; height: auto; margin: 0; padding-top: 100px; justify-content: center; }
  .LeftMenEnt { width: 231px; }
  main { padding: 25px; }
  main::after { content: ""; display: block; clear: both; }
  .IndexMainMid, .IndexMainRight, .ContMain, .KontMainMid, .ImprMain, .LinksMain {
    float: none; position: static; box-sizing: border-box; width: 100% !important;
    height: auto !important; margin: 0 !important; overflow: visible;
  }
  .IndexMainMid { max-width: 370px; margin: 0 auto 35px !important; }
  .IndexMainRight { max-width: 392px; margin: auto !important; }
  .InfoBild { width: 100%; max-width: 389px; box-sizing: border-box; background-position: center !important; }
  .ContMainMid { float: none; width: 100% !important; }
  .ContMainMid p { width: auto !important; }
  .ContMain#BackG { min-height: 300px; background-position: right bottom; background-size: min(70%, 350px); }
  .BotMen { position: static; display: flex; flex-wrap: wrap; justify-content: center; padding-top: 25px; }
  .BotMenBut, .BotMenButSel { float: none; }
  .KontMainMid { max-width: 500px; line-height: 1.4; }
  .Karte, .Iframe { box-sizing: border-box; width: 100%; }
  .KontMainMid > div:last-child { width: 100% !important; }
  .LinksMain { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  body { margin: 0; }
  .TopMenu { min-height: 80px; gap: 0; }
  .Logo, .Label { margin: 10px; }
  .LeftMen { padding-top: 45px; }
  main { padding: 20px 16px; }
  .IndexMainMid { font-size: 21px; line-height: 1.4; letter-spacing: 0; }
  .IndexMainMid span { letter-spacing: normal !important; }
  .IndexMainRight > span:first-child { font-size: 29px !important; }
  .ContMainMid h1 { font-size: 29px !important; }
  .ContMain img, .IndexMainMid img { max-width: 100%; height: auto; }
}
