<style>
  /* ===========================
     Grundlayout & Basistypografie
  ============================ */
  html {
    font-size: 16px;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .container {
    max-width: 992px;
    margin: 0 auto;
  }

  @media (min-width: 1200px) {
    .container {
      max-width: 75rem;
    }
  }

  @media only screen and (min-width: 768px) and (max-width: 1199px) {
    .container {
      max-width: 100%;
      width: 100%;
      margin: 0;
    }
  }

  /* ===========================
     Header
  ============================ */
  header {
    background: #fff;
  }

  .header-topnav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #ceefbd;
  }

  .header-topnav li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }

  .header-topnav li a:hover {
    background: #97CA3D;
    color: #000;
  }

  .header-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0.5rem;
  }

  .header-main h1 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
  }

  .header-main h2 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    text-align: center;
  }

  /* ===========================
     Navigation
  ============================ */
  .main-navigation {
    margin-top: 1rem;
  }

  .main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #ceefbd;
  }

  .main-navigation li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    color: #333;
  }

  .main-navigation li a:hover {
    background-color: #97CA3D;
  }

  /* ===========================
     Layoutstruktur
  ============================ */
  main {
    display: flex;
    margin-top: 1rem;
  }

  aside.sidebar-left,
  aside.sidebar-right {
    width: 20%;
    padding: 0.5rem;
  }

  aside.sidebar-left {
    order: -1;
  }

  section.content {
    width: 60%;
    padding: 0.5rem;
    margin-top: -1rem;
  }

  .stelle {
    list-style: none;
    margin: 0.0625rem 0 0 0;
    padding-left: 0;
    border-bottom: 0.125rem solid #fff;
  }

  .job-listing {
    background: #ceefbd;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .job-listing table td {
    padding: 0.5rem;
    font-size: 1.1rem;
  }

  /* ===========================
     Footer
  ============================ */
  footer {
    padding: 2rem 1rem;
    background: #f9f9f9;
    font-size: 0.95rem;
  }

  footer a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
  }

  /* ===========================
     Überschriften & Section Headline
  ============================ */
  h1, h2, h3, h4, h5, h6 {
    margin: 0.5rem 0;
  }

  .section-headline {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  /* ===========================
     Navigation für Unterseiten
  ============================ */
  #navigationag ul,
  #navigationan ul,
  #navigationfb ul {
    list-style: none;
    margin: 0.0625rem 0 0 0;
    padding-left: 0;
    border-bottom: 0.125rem solid #fff;
  }

  #navigationag a,
  #navigationan a,
  #navigationfb a {
    display: block;
    padding: 1.1rem;
    border-bottom: 0.125rem solid #fff;
    background-color: #ceefbd;
  }

  #navigationag a:hover,
  #navigationan a:hover,
  #navigationfb a:hover,
  #navigationag a:focus,
  #navigationan a:focus,
  #navigationfb a:focus,
  #navigationag a:active,
  #navigationan a:active,
  #navigationfb a:active {
    background-color: #97CA3D;
    color: #000;
  }

  li#current {
    background-color: #97CA3D;
    color: #000;
  }

  /* ===========================
     iPhone Landscape Optimierung
  ============================ */
  @media only screen and (min-device-width: 320px)
    and (max-device-width: 768px)
    and (orientation: landscape) {

    html, body {
      width: 100%;
      height: 100%;
      overflow-x: hidden;
      font-size: 1rem;
    }

    .container {
      max-width: 90vw;
      margin: 0 auto;
    }

    header, main, footer {
      max-width: 100vw;
    }

    .header-main {
      flex-direction: column;
      gap: 0.5rem;
    }

    aside.sidebar-left,
    aside.sidebar-right {
      display: none;
    }

    .section-headline {
      text-align: center;
      font-size: 0.9rem;
      line-height: 1.3;
      margin: 0.75rem 0;
    }

    section.content {
      width: 100%;
      padding: 1rem;
    }

    .job-listing {
      font-size: 1rem;
      margin-bottom: 0.75rem;
    }
  }

  /* ===========================
     Portrait-Warnung (Querformat-Hinweis)
  ============================ */
  @media only screen and (orientation: portrait) {
    body::before {
      content: "Für die optimale Darstellung von QM Personal, dem Jobportal für Qualitätsmanagement, drehen Sie bitte Ihr Gerät ins Querformat.";
      position: fixed;
      inset: 0;
      background: #ffffff;
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: clamp(1rem, 2vw, 1.3rem);
      line-height: 1.5;
      text-align: center;
      padding: 1.5rem;
      z-index: 9999;
      font-weight: 500;
    }
  }
</style>
