/* lora-regular - latin-ext_symbols */
@font-face {
  font-display: swap;
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../font/lora/lora-v36-latin-ext_symbols-regular.woff2') format('woff2');
}

/* lora-italic - latin-ext_symbols */
@font-face {
  font-display: swap;
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  src: url('../font/lora/lora-v36-latin-ext_symbols-italic.woff2') format('woff2');
}

/* lora-500 - latin-ext_symbols */
@font-face {
  font-display: swap;
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  src: url('../font/lora/lora-v36-latin-ext_symbols-500.woff2') format('woff2');
}

/* lora-500italic - latin-ext_symbols */
@font-face {
  font-display: swap;
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  src: url('../font/lora/lora-v36-latin-ext_symbols-500italic.woff2') format('woff2');
}

/* mona-sans-regular - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../font/mona-sans/mona-sans-v3-latin-ext-regular.woff2') format('woff2');
}

/* mona-sans-500 - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Mona Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../font/mona-sans/mona-sans-v3-latin-ext-500.woff2') format('woff2');
}

@layer theme, base, components;

@layer theme {

  :root {
    --prx-color-light: #fff;
    --prx-color-dark: #000;
    --prx-color-theme: #bbbaba;
    --prx-font-sans: 'Mona Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }
}

@layer base {

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  html {
    font-family: var(--prx-font-sans);
    font-size: 105%;
    font-weight: 400;
    line-height: 1.5;
    color: var(--prx-color-dark);
    accent-color: var(--prx-color-dark);
    text-rendering: geometricPrecision;
    scrollbar-color: var(--prx-color-dark) var(--prx-color-theme);
    scroll-behavior: smooth;
  }

  a,
  body,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    accent-color: inherit;
    line-height: inherit;
    text-decoration: inherit;
    text-rendering: inherit;
    scrollbar-color: inherit;
    scroll-behavior: inherit;
  }

  b,
  strong {
    font-weight: bolder;
  }

  ol,
  ul,
  menu {
    list-style: none;
  }

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }

  button,
  input:where([type='button'], [type='reset'], [type='submit']),
  ::file-selector-button {
    appearance: button;
  }

  textarea {
    resize: vertical;
  }
}

@layer components {

  body {
    display: block;
    background-color: var(--prx-color-theme);
  }

  /* mobile first */
  #sitenavigation {
    z-index: +1;
    padding-left: 50px;
    padding-right: 30px;
    border-top: 8px solid #fff;
    box-shadow: 0px 0px 8px 0px #000000;
    background-color: var(--prx-color-theme);
    position: fixed;
    display: grid;
    justify-items: stretch;
    bottom: 0;
    left: 0;
    right: 0;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "sitelogo"
      "tocnav"
      "sitenav";
    white-space: nowrap;
  }

  #sitename {
    display: none;
  }

  #sitenav {
    grid-area: sitenav;
    display: none;
    flex-direction: row;
    gap: 24px;
  }

  #sitenav>a,
  #next>a {
    display: block;
    align-self: center;
    border: 2px solid #000;
    border-radius: 7px;
    padding: .25em 1em;
    color: #fff;
    background-color: #000;
    font-weight: 500;
  }

  #next {
    text-align: center;
  }

  #next>a {
    display: inline-block;
    font-family: 'Mona Sans';
    font-style: normal;
  }

  #sitenav>a.active {
    display: none;
    color: #000;
    background-color: #fff;
  }

  #tocnav {
    grid-area: tocnav;
    display: none;
    flex-direction: column;
    align-self: stretch;
    align-items: start;
    gap: 8px;
    font-weight: 500;
  }

  #tocnav>a {
    display: block;
    border-radius: 7px;
    padding: .25em 1em;
    background-color: #fff;
  }

  #siteslogan {
    display: none;
  }

  #siteowner {
    display: none;
  }

  #sitelogo {
    position: absolute;
    grid-area: sitelogo;
    align-self: end;
    background-color: #fff;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 8px 0px #000000;
  }

  #sitecontent {
    display: block;
    position: relative;
    margin: 16px;
    margin-bottom: 120px;
  }

  #sitecontent>section {
    padding: 20px;
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0px 0px 24px 0px #000000;
    margin-bottom: 24px;
    font-size: 115%;
    font-weight: 400;
    font-style: italic;
    font-family: 'Lora';
  }

  #sitecontent>section h1 {
    text-align: center;
    font-size: 145%;
    font-weight: 400;
    margin: 1ex auto 1ex;
    font-style: normal;
    font-family: 'Lora';
  }

  #sitecontent>section h2 {
    text-align: center;
    font-size: 145%;
    font-weight: 400;
    margin: 3ex auto 3ex;
    font-style: normal;
    font-family: 'Lora';
  }

  #sitecontent>section#praxis-maxvorstadt h2 {
    text-align: center;
    font-size: 105%;
    font-weight: 500;
    margin: 0 auto 3ex;
    font-style: normal;
    font-family: 'Lora';
  }

  #sitecontent>section h3 {
    text-align: left;
    font-weight: 500;
    font-style: normal;
    font-family: 'Lora';
  }

  #sitecontent>section p,
  #sitecontent>section h3 {
    margin-top: 1em;
  }

  #sitecontent>section ul {
    margin-left: 1.5rem;
    list-style: disc outside;
  }

  .bold {
    font-weight: 500;
  }

  #ptk-bayern {
    margin-left: 3ex;
  }

  #sitenavigation>* {
    margin: 8px;
  }

  #sitelogo>img {
    width: 50px;
  }

  .visible {
    display: flex !important;
  }

  /* Mobile first Media Queries */

  @media only screen and (min-width: 115rem) {

    html {
      font-size: 115%;
    }

    #sitenavigation {
      z-index: 0;
      padding-left: inherit;
      padding-right: inherit;
      box-shadow: inherit;
      border-top: inherit;
      background-color: inherit;
      display: grid;
      top: 0;
      bottom: 12px;
      left: 12px;
      right: 12px;
      grid-template-columns: auto 1fr auto;
      grid-template-rows: auto auto 1fr auto;
      grid-template-areas:
        "sitename   sitename sitenav"
        "siteslogan .        ."
        "siteowner  .        tocnav"
        "sitelogo   .        tocnav";
    }

    #sitenavigation>* {
      margin: 24px;
    }

    #sitename {
      display: block;
      grid-area: sitename;
      align-self: stretch;
      font-weight: 500;
      font-size: 2rem;
      letter-spacing: 3px;
      font-family: 'Mona Sans';
      text-transform: uppercase;
      color: #fff;
    }

    #siteslogan {
      display: block;
      grid-area: siteslogan;
      align-self: stretch;
      font-weight: 500;
    }

    #siteowner {
      display: block;
      grid-area: siteowner;
      align-self: stretch;
    }

    #tocnav {
      gap: 24px;
    }

    #sitelogo {
      position: static;
      border: none;
      box-shadow: none;
      background-color: transparent;
    }

    #sitelogo>img {
      width: 120px;
    }

    #sitenav,
    #tocnav {
      display: flex;
    }

    #sitenav>a.active {
      display: block;
    }

    #sitecontent {
      margin: 120px 29vw 120px 29vw;
    }

    #sitecontent>section {
      padding: 40px;
    }

    #sitecontent>section p,
    #sitecontent>section ul {
      margin-right: 5%;
    }

    #next {
      display: none;
    }
  }

  @media print {

    *,
    *::before,
    *::after {
      background: #fff !important;
      color: #000 !important;
      /* Black prints faster */
      box-shadow: none !important;
      text-shadow: none !important;
    }

    a,
    a:visited {
      text-decoration: underline;
    }

    a[href]::after {
      content: " (" attr(href) ")";
    }

    abbr[title]::after {
      content: " (" attr(title) ")";
    }

    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
      content: "";
    }

    pre {
      white-space: pre-wrap !important;
    }

    pre,
    blockquote {
      border: 1px solid #999;
      page-break-inside: avoid;
    }

    tr,
    img {
      page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }

    h2,
    h3 {
      page-break-after: avoid;
    }
  }
}