/*////////// HANDY-ANSICHT (angelegt am 30.11.2026) //////////*/
/* Gilt nur auf Bildschirmen bis 760 px Breite.
   Die Desktop-Ansicht (style.css) bleibt unveraendert. */

@media screen and (max-width: 760px) {

  /* --- Grundlayout: feste 960 px aufheben --- */
  body {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
  }
  #wrapper {
    width: auto;
    border: 0;
  }

  /* --- Kopfbereich: Leiste, Kopfbild, Navigation untereinander --- */
  #header {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #global {
    position: relative;
    order: 1;
    width: auto;
    height: auto;
    line-height: 2.6;
    padding: 0 50px 0 10px;
    font-size: 13px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    z-index: 2;
    background-color: #ffffff;
  }
  /* Flagge fuer die englische Version oben rechts */
  #imageContain {
    top: 8px !important;
    left: auto !important;
    right: 10px;
  }
  /* Diashow auf dem Handy ausblenden */
  #imageContainer,
  #logo {
    display: none !important;
  }
  /* Kopfbild: nur der linke Teil mit dem Schriftzug */
  #header > img {
    order: 2;
    display: block;
    width: 164.1%;
    max-width: none;
    height: auto;
    margin: -6.84% 0 -8.55% 0;
    align-self: flex-start;
  }
  /* Navigation: Menuepunkte als tippbare Felder, mehrzeilig */
  #mainnav {
    position: static;
    order: 3;
    width: auto;
    height: auto;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background-color: #a0b2bc;
  }
  #mainnav a {
    display: block;
    margin: 0;
    padding: 9px 11px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
  }

  /* --- Inhalt und Seitenspalte untereinander --- */
  #content,
  #contentwide,
  #sidebar,
  #sidebar2 {
    float: none;
    width: auto;
    margin: 0 15px 15px 15px;
  }
  #sidebar p,
  #sidebar2 p {
    font-size: 0.95em;
  }

  /* --- Ueberschriften --- */
  h1, h2, h4 {
    font-size: 19px;
    line-height: 1.3;
    padding: 6px 0;
  }

  /* --- Bilder und Tabellen nie breiter als der Bildschirm --- */
  img {
    max-width: 100%;
    height: auto;
  }
  table {
    display: block;
    overflow-x: auto;
  }
  .gallery img {
    max-width: 44%;
  }

  /* --- Kontaktformular --- */
  input.input,
  textarea.input {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 8px;
  }
  input.button {
    font-size: 16px;
    padding: 10px 24px;
  }

  /* --- Fusszeile --- */
  #footer {
    height: auto;
    letter-spacing: 1px;
    line-height: 1.6;
    padding: 10px 5px;
  }
}
