/* Allgemeines */
:root
{
    --darkside: #313133;
    --brightside: #D8D9DA;
    --densbornRed: #CD5959;
    --densbornOrange: #D27700;
    --densbornYellow: #F1CB00;
    --verydark: #252525;
}

@font-face
{
    font-family: futura;
    src: url(../densbornFonts/FuturaStd-Book.otf);
}

@font-face
{
    font-family: futura;
    src: url(../densbornFonts/FuturaStd-Heavy.otf);
    font-weight: bold;
}
@font-face
{
    font-family: futura;
    src: url(../densbornFonts/FuturaStd-BookOblique.otf);
    font-style: italic;
}

/* SMARTPHONE VERSION ----------------------------------------------------------------*/

/* Box sizing für alle Elemente */
*, ::before, ::after
{
    box-sizing: border-box;
}

/* Dunkler Hintergrund, helle Schrift, einheitliche Schriftgröße für alle Elemente */
body
{
    margin: 0em;
    padding: 0em;
    background-color: var(--verydark, Black);
    color: var(--brightside, LightGrey);
    font-family: futura;
    font-size: 1em;
    line-height: 1.5em;
}

ul
{
    padding-left: 0em;
}

dt
{
    font-weight: bold;
    display: inline;
}

dd
{
    margin: 0em;
    display: inline;
}

/* Links -------------*/
/* Alle Links mit hellem Hintergrund hinterlegen. */
a
{
    color: var(--darkside, DarkSlateGrey);
    text-decoration: none;
    /*
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    */
    background-color: var(--brightside, LightGrey);
}

p.reading > a::before, li.siteNav > a::before, li.sectionHeadings > a::before, li.message > a::before
{
    content: '';
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    margin-right: 0.5em;
    background-image: url('../densbornGrafik/basicImg/link.png');
    background-size: cover;
    white-space: nowrap;
}
/* Bei Hover wird die wechselt Schriftfarbe von antrazit zu schwarz */
a:hover
{
    color: Black;
}

#company > a
{
    background-color: transparent;
}

/* Heller Hintergrund etwas größer als Schrift */
p.reading > a, li.message > a
{
    padding: 0.25em;
    white-space: nowrap;
}

/* Überschriften --------------*/
/* Im Media Bereich benutzt */
h3
{
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0em;
    font-size: 1em;
}
/* Überschriften im Artikelbereich */
h2
{
    font-size: 1.5em;
    line-height: 1.25em;
    text-transform: uppercase;
    font-weight: normal;
    hyphens: auto;
    border-bottom: 0.1em solid var(--brightside, LightGrey);
}

#articleNav h2
{
    font-size: 2.5em;
    line-height: 1.25em;
    /*text-decoration: underline;*/
    hyphens: auto;
    border: none;
    border-bottom: 0.1em solid var(--brightside, LightGrey);
}
/* Seitenüberschrift, dient auch als Überschrift für die Artikelnavigation */
h1
{
    text-transform: uppercase;
    font-size: 1.5em;
    line-height: 1.25em;
    letter-spacing: 0.02em;
    font-weight: normal;
    hyphens: auto;
    margin: 0em;
    border-bottom: 0.1em solid var(--brightside, LightGrey);
}

/* Navigationselemente -------------*/
/* Navigation mit zwei Buttons für Menü und Kontakt */
#showNav
{   
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin: 0em;
    background-color: var(--brightside, LightGrey);
    list-style-type: none;
}

#showNav > li
{
    color: var(--darkside, DarkSlateGrey);
    padding: 1em 0em;
    margin-right: 1em;
    text-transform: uppercase; 
}

#menueIcon
{
    width: 1em;
    margin-right: 0.3em;
}

#kontaktIcon
{
    width: 1em;
    margin-right: 0.3em;
}
/* Hauptnavigation */
#mainNav
{
    display: none;
}
/* Hauptnavigation einblenden */
#mainNav:target
{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: absolute;
    top: 0em;
    width: 100%;
    padding: 1em;
    z-index: 999;
    background-color: var(--verydark, DarkSlateGrey);
    opacity: 0.95;
}

/* Bündel der Hauptnavigation */
nav ul.siteListNav
{
    /* list-style-image: url('../densbornGrafik/linkIcon_16.png');*/
    /*background-color: var(--brightside, LightGrey);*/
    list-style-type:none;
}

li.siteNav
{     
    margin-bottom: 1em;
}

li.siteNav > a
{
    display: block;
    padding: 0.6em 1em;
}

#mainNav #close
{
    flex:100%;
    color: var(--brightside, LightGrey);
    text-transform: uppercase;
    margin: 0em 0em 2em 0em;
}

#close a
{
    display: block;
    background-color: var(--brightside, LightGrey);
    width: 4em;
    padding: 1em;
}

#close img
{
    width: 2em;
}

/* header-------------------------------*/
#company
{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1em;
}

#logo
{
    width: 2.5em;
}

#companyName
{
    font-size: 0.75em;
    line-height: 1.25em;
    letter-spacing: 0.05em;
    padding: 0em 1em;
}

#name
{
    font-weight: bold;
    text-transform: uppercase;
}

/* Hauptteil ---------------------------*/
main
{
    width:100%;    
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
}
/* Artikelnavigation */
#articleNav
{
    width:100%;
}

#listSectionHeadings
{
    display: none;
}
    /* Artikelelemente -------------------------*/
article
{
    width: 100%;
}

article > section
{
    display: flex;
    flex-direction: column;
    background-color: var(--darkside, DarkSlateGrey);
    margin-bottom: 3em;
    padding: 2em 1em;
}

#mainNav > section
{
    display: block;
    width: 100%;
    padding: 0em;
    margin-bottom: 4em;
}

picture, *.media
{
    max-width: 100%;
    margin-bottom: 1.5em;
}

img.fallback
{
    max-width: 100%;
}

    /* Download Liste -------------------------- */
ul.downloadList
{
    list-style-type: none;
    padding: 0em;
}

ul.downloadList figure
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

ul.downloadList figcaption
{
    margin-left: 0.5em;
    padding: 0em 1em;
    background-color: var(--brightside, LightGrey);
}

figcaption p
{
    margin-top: 0em;
}

    /* Gallerie-Elemente ---------------------------- */
#gallerieSicherheit ul
{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0em;
}

#gallerieSicherheit li
{
    background-color: var(--brightside, LightGrey);
    padding:0.5em;
    margin-right: 0.8em;
    margin-bottom: 0.8em;
}

#gallerieSicherheit a:hover
{
    opacity: 50%;
}

#gallerieSicherheit figure
{ 
    margin: 3em 0em;
}

#gallerieSicherheit figure img
{
    max-width: 100%  
}

#gallerieSicherheit figcaption
{
    width: 100%;
    padding:0.3em 0.8em;
    margin-top: 0em;
    font-style: italic;
    color: var(--darkside, DarkSlateGrey);
}

section.yellow #gallerieSicherheit figcaption
{
    background-color: var(--densbornYellow, Gold);
}

section.orange #gallerieSicherheit figcaption
{
    background-color: var(--densbornOrange, OrangeRed);
}

section.red #gallerieSicherheit figcaption
{
    background-color: var(--densbornRed, IndianRed);
}

    /* Text-Bereich --------------------------------- */
div.textContainer
{
    width: 100%;
}

p.reading, dl, figcaption
{
    letter-spacing: 0.03em;
}

em
{
    font-weight: bold;
    font-style: normal;
}

ul.messageList
{
    padding-left: 2em;
}

li.message
{
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 2em;
}

    /* Unterbereiche des Artikels -------------------------- */
section.yellow h1, section.yellow li.message
{
    color: var(--densbornYellow, Gold);
    border-color: var(--densbornYellow, Gold);
}
section.yellow ul.messageList
{
    list-style-image: url('../densbornGrafik/yellowCross_16.png');
}
section.orange h1, section.orange li.message
{
    color: var(--densbornOrange, OrangeRed);
    border-color: var(--densbornOrange, OrangeRed);
}
section.orange ul.messageList
{
    list-style-image: url('../densbornGrafik/orangeCross_16.png');
}
section.red h1, section.red li.message
{
    color: var(--densbornRed, IndianRed);
    border-color: var(--densbornRed, IndianRed);
}
section.red ul.messageList
{
    list-style-image: url('../densbornGrafik/redCross_16.png');
}
section.bright ul.messageList
{
    list-style-image: url('../densbornGrafik/brightCross_16.png');
}

h2.yellowStyle
{
    color: var(--densbornYellow, Gold);
    border-color: var(--densbornYellow, Gold);
}

h2.orangeStyle
{
    color: var(--densbornOrange, OrangeRed);
    border-color: var(--densbornOrange, OrangeRed);
}

h2.redStyle
{
    color: var(--densbornRed, IndianRed);
    border-color: var(--densbornRed, IndianRed);
}



/* Tablet oder Laptop Version -----------------------------------------------------------
 * Größe/Seitenverhältnis der Bilder hat bereits wechselt gesteuert über das picture Element
 * Artikelnavigation wird angezeigt.
 * Menü- und Kontakt-Links ändern sich
 */
@media screen and (min-width: 50em)
{
    h2
    {
        margin:0em;
    }
    
    #articleNav h2
    {
        font-size: 2em;
        line-height: 1.25em;
    }
    
    /* Navigationselemente-------------*/
    #showNav
    {   
        order:1;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0em;
        margin-bottom: 3em;
        background-color: var(--verydark, Black);
    }
    
    #showNav > li
    {
        width: 5em;
        padding: 0em;
        margin-bottom: 0.5em;
        background-color: var(--brightside, LightGrey);
        color: var(--darkside, DarkSlateGrey);
        text-transform: uppercase;
    }
    
    #showNav > li > a
    {
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
        min-height: 5em;
    }

    #menueIcon
    {
        width: 1.5em;
        margin-right: 0em;
        margin-bottom: 0.5em;
    }
    
    #kontaktIcon
    {
        width: 1.9em;
        margin-right: 0em;
        margin-bottom: 0.2em;
    }
    
    #mainNav:target
    {
        flex-direction: row;
    }
    
    #mainNav > section
    {
        width: 23em;
        margin: 0em 2em 4em 2em;
    }
    
    ul.siteListNav
    {
        list-style-image: url('../densbornGrafik/linkIcon_20.png');
    }
    
    li.siteNav > a
    {        
        font-size: 1.25em;
    }
    
    span.iconText
    {
        font-size: 0.75em;
    }
    
    main
    {
        display: flex;
        flex-direction:row;
    }
    
    aside
    {
        display: flex;
        flex-direction: column;
        width: 25em;
        padding: 0em 1em; /* padding rechts und links */
        margin: 0em;
    }
    
    article
    {
        width: calc(100% - 15em);
    }
    
     #logo
    {
        width: 4em;
    }
    
    #companyName
    {
        font-size: 1em;
        line-height: 1.5em;
        letter-spacing: 0.03em;
        padding-left: 1.5em;
    }
    
    #articleNav
    {
        order:3;
    }
    
    #listSectionHeadings
    {
        display: block;
        list-style-type: none;
    }
    
    li.sectionHeadings
    {
        margin-bottom: 1em;
    }
    
    li.sectionHeadings > a
    {
        display: block;
        padding: 0.5em 0.5em;
        line-height: 2em;
        background-color: var(--brightside, LightGrey);
    }
}

/* Zwischenversion: Größere Schriften ---------------------------------------------------*/
@media screen and (min-width: 65em)
{
    h1
    {
        font-size: 2.5em;
        letter-spacing: 0em;
        hyphens: none;
    }
    
    h2
    {
        font-size: 2em;
    }
    
    section.yellow ul
    {
        list-style-image: url('../densbornGrafik/yellowCross_24.png');
    }
    section.orange ul
    {
        list-style-image: url('../densbornGrafik/orangeCross_24.png');
    }
    section.red ul
    {
        list-style-image: url('../densbornGrafik/redCross_24.png');
    }
    section.bright ul
    {
        list-style-image: url('../densbornGrafik/brightCross_24.png');
    }
    
    li.message
    {
        font-size: 1.5em;
        letter-spacing: 0.01em;
        font-weight: normal;
    }
    
    p.reading, dl, figcaption
    {
        font-size: 1.2em;
        line-height: 1.5em;
        letter-spacing: 0.02em;
    }

}

/* Zwischenversion: Aside wird breiter --------------------------------------------------*/

@media screen and (min-width:75em)
{
    aside
    {
        padding-right: 3em; /* links 1em */
    }
    
    article
    {
        width: calc(100% - 25em);
        padding-right: 3em;
    }
}

/* DESKTOP VERSION ----------------------------------------------------------------------*/
@media screen and (min-width: 92em)
{    
    article
    {
        padding-right: 5em;
    }
        
    article > section
    {
        display: flex;
        flex-direction: row-reverse;
        padding: 2em 2em;
    }
    
    picture, *.media
    {
        flex: 50%;
        order: 2;
        margin: 0em 1em 0em 0em;
    }
    
    div.textContainer
    {
        width: 50%;
        order: 1;
        padding: 0em 0em 0em 1em;
    }
    
    div.onlyText
    {
        width: 50%;
        align-self: flex-end;
        padding: 0em 0em 0em 1em;
    }
}