/* Ergaenzung fuer Smartphones (bis 767px). Desktop bleibt unveraendert. */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  body {
    background: linear-gradient(180deg, #fff 0%, #c7c7c7 100%) #fff;
    background-attachment: fixed;
  }
  #wrappermenu { display: none; }
  body > div[style*="subnavi_hg"] { display: none; }

  /* Kopf: Suche und Sprache oben, Logo, darunter Navigation ueber die volle Breite */
  #suche { padding-top: 10px; }
  #sprache { position: static; margin: 8px 0 0; padding: 0 15px; text-align: right; }
  #sprache > a { margin-left: 18px; }
  #logo { position: static; display: inline-block; max-width: none; margin: 6px 0 0; }
  #logo img { width: 100px; height: auto; }
  .col > nav.navbar-default, nav.navbar.navbar-default { float: none; margin: 12px 0 0; width: calc(100% + 15px); background-image: none; background-color: #DD4516; min-height: 44px; }
  .navbar-default .navbar-toggle { border-color: #fff; margin-right: 10px; }
  .navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
  .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #b9390f; }
  .navbar-collapse { margin: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .navbar-default .navbar-nav > li > a { color: #fff; padding-top: 11px; padding-bottom: 11px; }

  /* Bildbuehne und Inhalte */
  #header { padding-left: 0; padding-right: 0; }
  .carousel-indicators { display: none; }
  #content img, #content iframe, #content video, #content table { max-width: 100%; }
  #content img { height: auto; }
  #content iframe { width: 100%; height: 320px; }
  #content { padding-top: 5px; }
}

/* Kein seitliches Verschieben auf allen Geraeten (Slider-Punkte und Seitenmenue ragten ueber den Rand) */
html { overflow-x: hidden; }

/* Tablets bis 799px: gleiche Bereinigung wie am Handy */
@media (max-width: 799px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  #wrappermenu { display: none; }
  .carousel-indicators { display: none; }
  #content iframe { max-width: 100%; }
}

/* Tablets hochkant 768 bis 799px: Spalten untereinander, Navigation als volle Leiste */
@media (min-width: 768px) and (max-width: 799px) {
  .container > .row > .col { float: none; width: 100%; margin-left: 0; }
  #suche { padding-top: 10px; }
  #sprache { position: static; margin: 8px 0 0; padding: 0 15px; text-align: right; }
  #logo { position: static; display: inline-block; max-width: none; margin: 6px 0 0; }
  #logo img { width: 120px; height: auto; }
  .col > nav.navbar-default, nav.navbar.navbar-default { float: none; margin: 12px 0 0; background-image: none; background-color: #DD4516; }
  .navbar-collapse { margin: 0; }
  .navbar-collapse.collapse { display: block !important; visibility: visible !important; height: auto !important; }
  .navbar-default .navbar-nav > li > a { color: #fff; padding-left: 9px; padding-right: 9px; }
  #sprache > a { margin-left: 18px; }
  body > div[style*="subnavi_hg"] { display: none; }
  #content img { max-width: 100%; height: auto; }
  #sprache { padding-right: 30px; }
}
