#container {        display:-webkit-flex;
        display: flex;
        -webkit-flex-flow: row wrap;
        flex-flow: row wrap;
max-width: 1000px; margin: auto; margin-top: 12px; border: 1px solid #ff0000; background-color: white }


h1, white, gross { color: #990066; font-size: 16pt; font-family: Futura, Arial; font-weight: bold; margin-top:0.1cm; margin-bottom:0.2cm; }
white { color: #ffffff; }
gross { color: #ffffff; font-size: 24pt; }

h2, klar { color: #990066; font-size: 14pt; font-family: Futura,Arial; margin-top: 0cm; margin-bottom:0.1cm }
klar { color: #ffffff; }

h3, navo, clear { color: #000055; font-size: 11pt; font-family: Futura,Arial; font-weight: bold; margin-top: 0cm; margin-bottom: 5px }
navo { font-size: 12pt }
clear { color: #ffffff; }


h4 { color: #333388; font-size: 11pt font-family: Futura,Arial; font-weight:bold; margin-top: 0cm; margin-bottom: 0cm }

h5 { color: #B775A3; font-size: 12pt; font-family: Futura,Arial; font-weight:bold; margin-top: 0cm; margin-right: 12px }

h6 { color: #000; font-size: 18pt; font-family: Futura,Arial; margin: 0cm; }
p, navu { color:#000055; font-size: 11pt; font-family: Futura,Arial; margin-top: 0cm; margin-bottom: 10px }
navu { font-size: 10pt; margin-bottom: 5px }

#SubNavi { visibility: visible; position: absolute; top: 0.1em; max-width: 86em; height: 20px; margin: 0; z-index: 5 }

ul, aufz { font-family: Futura,Arial; }
aufz { color:#ffffff; }

ol { color:#000055; font-size: 11pt; font-family: Futura,Arial; margin-top: 0cm; margin-bottom: 10px, z-index: 1; }
li { color:#000055; font-size: 11pt; font-family: Futura,Arial; margin-left: 2px; margin-bottom: 0px }

table { border-collapse: collapse; border-color: #000022; margin-left: 0px; margin-top: 0px }


body { background-color: #E6E6E6; }



a:link { color:#000055; text-decoration:none; }
a:visited { color:#000055; text-decoration:none }
a:hover { color:#ffffff; background-color:#990066; text-decoration:none }
a:active { color:#ffffff; background-color:#ff0000; text-decoration:none }
a:focus { color:#000055; text-decoration:none }


/* Stylesheet für Selfhtml Design 04
  responsives Layout mit Flexbox ab Z. 262   */

/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/* alternatives Boxmodell */
html {
  box-sizing: border-box;
}

*, ::before, ::after {
  box-sizing: inherit;
}

body {
    max-width: 75em;
    margin: 0 auto;
        padding: 0 1em;
    font: normal 1em Arial, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
        color: #555;
    background: #FFEFCF;
        position:relative;
}

/* ===== header ===== */

header.banner {
        background: #fff;
        padding: .5em 1em;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        border-radius: 0 0 1em 1em;
}

#logo {
        margin: 22px 0 0 3%;
        color: #58585a;
        font-size:1.5em;
        font-style:italic;
        font-weight:bold;
        text-decoration: none;
}

header a#navlink {
        display: block;
        float: right;
        color: #f00;
        text-decoration: none;
        font-size: 1.5em;
        font-weight: bold;
}

/* ===== content / Inhalt ===== */

main {
        padding: 1em;
        background: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        border-radius: 1em;
}

img {
padding:5px;
}

a {
        color: #777;
        text-decoration: none;
}

a:hover,
a:focus {
        background: #fee;
        color: red;
}

a.button{
        background: red;
        font-weight: bold;
        box-shadow: 0 0 20px #c3d34e inset, 0 2px 1px rgba(0,0,0,0.5);
        color: #fff;
        padding: 0.5em;
        border-radius: .5em;
        text-decoration: none;
}
a.button:hover,
a.button:focus {
        background: #a00;
}

h1 {
}

h1 span,
.akzentfarbe1 {
        color: red;
}

h1 a:hover span {
    color: #f00;
}

.akzentfarbe2 {
        color: orange;
}

aside,
section {
        box-shadow: 0 0 80px rgba(0,0,0,0.2) inset, 0 3px 1px rgba(0,0,0,0.15);
        border-radius: 1em;
        position: relative;
        padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
}

aside h2,
section h2 {
        color: #fff;
        padding: .5em;
        margin: 0;
        background: red;
        border-radius: .5em;
        box-shadow: 0 3px 0 #708900;
}

section p {
        padding: 0.5em 1em;
}

section pt {
        padding: 0.1em; 0.1em
}

section p:first-of-type {
        font-weight: bold;
        color: #708900;
}

section img {
  width: calc(100% - 1em);
  margin: 0.5em 0.5em 1.5em;
}

aside {
}

section a.button {
        position: absolute;        /* So werden Buttons immer an der gleichen Stelle, unabhängig vom vorhandenen Inhalt, positioniert */
        right: 1em;
        bottom: 1em;
}

form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap:.5em;
        padding: 1em;
}

form input {
        background: #eee;
        border-radius: 4px;
        border: none;
        color: #000;
        padding: 0.75em;
        font-weight: bold;
}

form#search{
        position:relative;
}

form#search input {
        width: 15em;
        margin: 0 1em;
}

#search i {
        position: absolute;
        top: 1.2em;
        left: 1.75em;
        color: #bebebe;
}

section ul {
        margin: 1em 0 0 3em;
}

section li {
        font-weight: bold;
        margin: 0.5em 0 1em 2em;
}
section li i {
        color: #97b314;
}

dl.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.5em;
}
dd {
  margin: 0;
  padding-left: 1em;
}
dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

/* ===== Navigation ===== */

#navigation li {
        display: block;
        list-style: none;
        margin-right: .5em;
        width: 90%;
}

#navigation a {
        display: block;
        text-decoration: none;
        padding: 0.5em 1em;
        background-color: #fff;
        border-radius: .5em .5em 0 0;
}

#navigation a[aria-current=page] {
        font-weight:bold;
    background: linear-gradient(#fdaeae, #fff);
}

#navigation a:hover,
#navigation a:focus,
#navigation a:active  {
        color: white;
    background: linear-gradient(#fff, #f00);
}

/* ===== Footer ===== */


/* ===== responsives Layout ===== */

/* Mobile first! 1-Spaltenlayout  */


/* 2-Spaltenlayout, sobald der Platz es erlaubt  */

@media only screen and (min-width: 40em) {
  main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap:1em;
        position: relative;
        margin: 3em auto 1em;
  }

  article {
        grid-column: span 2;
  }

  header a#navlink {
        display: none;
  }

  #navigation  {
    position: absolute;
    top: -3em;
  }

  #navigation li {
        display: inline-block;
        width: auto;
}

#navigation a {
        display: inline-block;
}

/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
@media only screen and (min-width: 60em) {
  main {
        grid-template-columns: repeat(3, 1fr);
  }

        main header,
        main footer {
          grid-column: span 3;
        }

        article{
          grid-column: span 2;
        }
inhalt {
          grid-column: span 3;
}
}

/* Flexbox Fallback wenn der  Browser kein display:grid unterstützt. */
@supports not (display: grid) {
  main {
    display: flex;
    flex-flow: row wrap;
  }

main > * {
  flex: 1 100%;      /* Alle Elemente werden über die volle Breite dargestellt */
}

article {
  flex: 1 64%;
  margin: 1%;
}
section,
aside {
  flex: 1 31%;      /* Diese Elemente erhalten eine Breite von 1/3.  */
  margin: 1%;
}
}