

/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 
  background: #DCDCDC;         /* #d5d5d5; */
} 

*, ::before, ::after { 
  box-sizing: inherit; 
}

body {
        max-width: 75em;
        margin:0 auto;
        padding: 0;
       background: #fff;

        color: #333; 
        font: normal 1em Arial, sans-serif;  /* MindestschriftgrÃ¶ÃŸe wird dem Browser, bzw. dem Nutzer Ã¼berlassen! */
                    
}



/* ====================================================   HEADER   ==================================================== */

header {
        position: relative;                
        height: 210px;
        margin: 2em  0  0 3em;
   /*     background:#B0C4DE  url("../img/Head.jpg")  no-repeat 80%;  */
          background:#DCDCDC  url("../img/Head.jpg")  no-repeat 80%;
        background-size: contain;                          
        padding: 0 0 0.5em;
}

header a h1,
header a p {
        color: white; 
        border-left: 0;
        padding: 0;
        display: table;
}

.ribbon {
        display: inline-block;
        position: relative;        
        margin: 2em 0 2em -1.5em;
        padding: 0.5em 1em;
   /*     background: #BDB76B;    Hintergrundfarbe Header Stiftung Iny Lorentz  */
      /*    background: #8FBC8F;   */
          background: #228B22;
     /*    box-shadow: 0px 1px 3px   #BDB76B;        */
        box-shadow: 0px 1px 3px rgba(0,0,0,.8);
       /*     box-shadow: 0px 1px 3px rgba(1,1,1,.9);  /*12.5.2026 */

        
}
 
.ribbon::before{
        display: block;
        width: 1.5em;
        height: 0;
        position: absolute;
        bottom: -1.5em;
        left: 0em;
        content: "";
        border-bottom: 1.5em solid transparent;
    /*    border-right: 1.5em solid rgb(0, 80, 116);  */
      border-right: 1.5em solid #228B22;           /* kleines Dreieck unterhalb von in Zusammenarbeit   mit der Gemeinde Poing */
}
 
/** CONTENT **/

main {
        margin: 0 0 1em;
        padding: 1em;
       background: #fff;
    /*  background: green;         Hintergrund */
}

h1,
h2 {
        font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
        padding-left: 1em; 
        color: #666;

        text-transform: uppercase;
     /*   border-left:5px solid #4e68AD;    blauer Balken am Anfang   */
}
        
h2 span {
        font-size: 0.70em; 
        color: #818181; 
        text-transform: none;
}

h3        { 
        font-size: 1.25em; 
        font-weight: normal; 
        padding: 0px; 
        margin: 0px; 
        color: #4E68AD;

}                

p {
        text-align: left; 
        line-height: 1.6em; 
        padding: 20px 0px;
          margin-right:  8%;
}


.bild-zentriert {
  text-align: center; /* Zentriert Bild und Text */
  margin-right: 10%; /* Rechter Rand */
}


a         { 
      /*  color: #4e7a92;  */
        color: #228B22;
        outline: none; 
        text-decoration: none; 
}
a:hover,
a:focus { 
        color: black;
        text-decoration: none; 
    /*    background-color: #4e7a92;    */
        background-color: #228B22;
}

a.more        { 
        float: right; 
        font-weight: bold; 
}

a.more:after{
        content:" \2192 ";
        font-size:1.2em;
        font-weight:bold;
}

a.weiter        {
        list-style-type: disc;
        float: right;
        font-weight: bold;
}

a.weiter:before{
         content:" \2192 ";
        font-size:1.2em;
        font-weight:bold;
         margin-right: 10px;
}

ul.square {
        list-style-type:square;
    color: #999999;
    margin: 0 0 0.5em 0.5em;
        font-size: 0.8em;
        font-weight: bold;
}

ul.square li{
        padding:10px;        
}

/*DL, DT, DD Datenliste*/
dl.grid { 
  display: grid; 
  grid-template-columns: 1fr 100%; 
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}

dd span:first-child {
  display: inline-block;
  width: 4em;
}



dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

ul#footer-nav li { 
        list-style-type: none;  
        displaY: inline;
        padding: 0 0.5em; 
        border-right: 1px  solid #ACACAC; 
}

footer {
        display: grid;
    grid-template-columns: repeat(2, 1fr);        
        padding: 1em;
}

ul#footer-nav  li:last-child { 
        border: none; 
}        

ul#footer-nav img {
         width: 1.5em;
}

ul#footer-nav a:hover,
ul#footer-nav a:focus, 
ul#footer-nav a:active {
        background: white;
}

footer p {
        text-align: right;
}

/** Navigation **/

nav#navigation{
}
        
#navigation ul {
    list-style-type: none;
    width: 100%;
        margin-bottom:30px;
}

#navigation ul li.first-child        { border-top: 1px #DBDBDB solid; }


#navigation ul li a {
        display: block;
    border-bottom: 1px solid #4e7a92;
    font-size: 1.1em;
    line-height: 1.5em;
    padding: 1em 35px;
    text-decoration: none;
        width: 13em; 
}

#navigation ul li a:before{
        content:" ";
        display:inline-block;
        width:1em;
        height:1em;
     /*   border-left:5px solid #4e7a92;;   linker blauer Balken */
     
     }
     
/* Grundzustand: Untermenü verstecken */
#navigation ul li ul {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: #fff;
    border: 1px solid #4e7a92;
    z-index: 1000;
}

/* Untermenü-Links */
#navigation ul li ul li a {
    width: 13em;              /* gleiche Breite wie Hauptmenü */
    padding: 0.7em 1em;
    border-bottom: 1px solid #4e7a92;
    font-size: 0.95em;
}

/* Anzeige bei Hover über dem Eltern-Listenelement */
#navigation ul li:hover > ul {
    display: block;
}

/* Eltern-LI relativ positionieren, damit das absolute UL sich daran ausrichtet */
#navigation ul li {
    position: relative;
}
                
nav a[aria-current=page]{
 background: #aaa;
}





@media (min-width: 30em) { 
  main {
          display: grid;          
    grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
  }

  nav {
    grid-column: 1 / 2;
  }
  
  #intro {
    grid-column: 2 / 3;
    grid-row:    1 / 2;                                        
  }

  article {
    grid-column: 2 / 3;
  }  
  
   bildpos {
    grid-column: 2 / 1;
  }
  
  .spalte img {
      width: 50%;
         float: left;
         margin-right: 0.5em;                
  }


 .headerfett
  {

    text-align: center;
    font-weight: 900;
    margin-bottom: 2%;
  }

@media (min-width: 50em) { 
  main {
    grid-template-columns: repeat(3, 1fr);
 }
 
  nav {
    grid-row: 1 / 4;
  } 

  #intro {
    grid-column: 2 / 4;
    grid-row:    1 / 2;                                        
  }

  article {
    grid-column: 2 / 4;
  }    
  
   aside {
    grid-column: 3 / 4;
    grid-row: 1 / 2;        
  }   
  
  .spalte {
    grid-row:    2 / 3;                                        
  }
    
  .spalte img {
   /*  width: 33%;    */
   width: 100%;
  } 
  

  
  
  
figure {
  padding:0;
  margin:0 -20px;;
  display: block;
  position: relative;
  overflow: hidden;
}
  

}