
/* =========================================================
d2 css
========================================================= */

/* ---------------------------------------------------------
GLOBAL
--------------------------------------------------------- */

html {
background-color: #EBF7D3;
scroll-behavior: smooth;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

body {
width: 100%;
min-height: 100vh;
margin: 0;
font-family: "Open Sans", Arial, sans-serif;
font-size: 1rem;
line-height: 1.6;
letter-spacing: .05em;
color: #636161;
background-color: #EBF7D3;
/* Platz für den festen Footer */
padding-bottom: 40px;
}

#wrapper {
width: 100%;
min-height: 100vh;
margin: 0;
border: 0;
}

/* ---------------------------------------------------------
LINKS
--------------------------------------------------------- */

a {
color: #48A048;
}

a:focus-visible,
button:focus-visible {
outline: 3px solid #475959;
outline-offset: 4px;
}

/* ---------------------------------------------------------
TEXT
--------------------------------------------------------- */

p {
margin-top: 0;
margin-bottom: 15px;
border: 0px solid #369;

}

.bold {
margin-bottom: 0;
font-weight: 700;
}

.boldrot {
margin-bottom: 0;
font-weight: 700;
color: #FF0000;
}

.klein {
font-size: .8rem;
font-style: italic;
color: #5E7328;
}

.unterpkt2,
.unterpkt2 li {
margin-top: 0;
margin-left: 4em;
padding-top: 0;
padding-left: .8em;
font-size: .9em;

background-image: url("pkt.png");
background-position: left top;
background-repeat: no-repeat;
border: 0;


}

/* ---------------------------------------------------------
HEADINGS
--------------------------------------------------------- */

h1 {
padding-top: 60px;
padding-bottom: 25px;
font-family: "Open Sans", Arial, sans-serif;
font-size: 1.3rem;
font-weight: 700;
letter-spacing: .1em;
text-decoration: underline;
text-transform: uppercase;
border: 0;

}

h2 {
margin-top: 10px;
margin-bottom: 10px;
font-size: 1.5rem;
line-height: 1.3;
}

h3 {
margin-top: 15px;
margin-bottom: 15px;
font-size: 1.2rem;
line-height: 1.3;
}

h4 {
margin-top: 1em;
margin-bottom: 1em;
font-size: 1rem;
font-weight: 700;
line-height: 1.3;
border: 0;
}

h5 {
margin: 0;
padding: 0;
font-size: .3rem;
line-height: .3rem;
border: 0;
}

hr {
margin-top: 1.5em;
margin-bottom: 1.5em;
}

/* ---------------------------------------------------------
ACCESSIBILITY
--------------------------------------------------------- */

.hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}

/* ---------------------------------------------------------
HEADER
--------------------------------------------------------- */

#headernav {/*-------hellgrün m streifen unten-------*/
position: fixed;
top: 30px;
left: 0;
z-index: 999;
display: block;
width: 100%;
height: 70px;
background:
    rgba(210, 230, 170, .96)
   url("str2.png") left bottom repeat-x;
border: 0;
}

#toptop {
width: 100%;
height: 30px;
margin-top: -30px;
padding: 0;
background-image: url("str2.png");
}

#logoname {
float: right;
display: block;
width: 260px;
height: 60px;
margin-top: 5px;
margin-right: 12%;
background-image: url("logo-d2.png");
background-position: right top;
background-repeat: no-repeat;
background-size: contain;

}

/* ---------------------------------------------------------
DESKTOP NAVIGATION
--------------------------------------------------------- */

.navbar {
display: block;
width: 60%;
margin-top: 0;
margin-left: 10%;
}

.wichtigtop {
margin-top: 20px;
}

.wichtig {
margin-top: 2px;
}

.navbar ul {
margin: 0;
padding: 0;
}

.navbar li {
display: inline-block;
margin: 0;
padding: 0 3% 0 0;
vertical-align: top;
}

.navbar a {
display: block;
margin-top: 0;

color: #475959;
text-decoration: none;

}

.navbar a:hover {
text-decoration: underline;
}

.navbar a[aria-current="page"] {
text-decoration: underline;
}

/* ---------------------------------------------------------
HAUPTNAVIGATION
--------------------------------------------------------- */

#navi {
width: 100%;
height: auto;
margin: 0;
padding: 0;
}

/* ---------------------------------------------------------
HAUPTINHALT
--------------------------------------------------------- */

main {
width: 100%;
padding-bottom: 55px;
}

section {
width: 80%;
max-width: 1400px;
min-height: 100%;
margin: 40px auto 30px;
}

/* ---------------------------------------------------------
STARTSEITE
--------------------------------------------------------- */

#philo {
width: 100%;
max-width: 648px;
padding-top: 75px;
padding-bottom: 30px;
}

#philo img {
display: block;
width: 100%;
height: auto;
}

#block {
width: 100%;
padding-bottom: 60px;
}

.txt {
width: 100%;
margin: 0;
}

/* ---------------------------------------------------------
BILDER IM TEXT
--------------------------------------------------------- */

#bld_re,
#bld_lks {
max-width: 35%;
margin: 0 10px 10px;
padding: 6px 6px 0;
background-color: #fff;

}

#bld_re {
float: right;
}

#bld_lks {
float: left;
}

img.skali {
display: block;
width: 100%;
height: auto;
border: 0;

}

/* ---------------------------------------------------------
CURRICULUM
--------------------------------------------------------- */

.bild {
display: inline-block;
width: 200px;
margin: 0 auto 20px 5em;
padding: 5px;
font-size: .8rem;
line-height: 1.1;
font-style: italic;
text-align: center;
vertical-align: middle;
background: #fff;
border: 0;
}

.bild_r {
display: inline-block;
float: right;
width: 160px;
margin: 0 auto 20px 5em;
padding: 5px;
font-size: .8rem;
line-height: 1.1;
font-style: italic;
text-align: center;
vertical-align: middle;
background: #fff;
border: 0;
}

.bild img,
.bild_r img {
display: block;
width: 100%;
height: auto;
}


/* --------------------------------------------------
   Curriculum Vitae
   Bilder, Bildunterschriften und responsive Darstellung
   -------------------------------------------------- */

/* Allgemeine Grundeinstellung für Bilder 
#cv img {
    max-width: 200px;
    height: auto;
    display: block;
}*/


/* --------------------------------------------------
   Bild rechts neben dem Text
   -------------------------------------------------- 

.cv .bild_r {
    float: right;
    margin: 0 0 20px 25px;
	width: 200px;
padding: 5px;
font-size: .8rem;
line-height: 1.1;
font-style: italic;
text-align: center;
vertical-align: middle;
background: #fff;
border: 0px solid #369;
}

.cv .bild_r img {
   width: 100%;
    height: auto;*/
}

/*.cv .bild_r figcaption {
    margin-top: 5px;
    font-size: 0.85em;
    line-height: 1.3;
    text-align: center;
	
}*/


/* --------------------------------------------------
   Bilder innerhalb des Lebenslaufs
   -------------------------------------------------- 

.cv .bild {
    float: left;
    width: 200px;
    margin: 5px 25px 20px 0;
	padding: 5px;
font-size: .8rem;
line-height: 1.1;
font-style: italic;
text-align: center;
vertical-align: middle;
background: #fff;
border: 0px solid #369;
}

.cv .bild img {
    width: 100%;
    height: auto;
}


/* Bildunterschriften 
.cv figure figcaption {
    margin-top: 7px;
    font-size: 0.85em;
    line-height: 1.4;
    color: #555;
}*/


/* --------------------------------------------------
   Nach schwebenden Bildern wieder sauber aufräumen
   -------------------------------------------------- */

.txt::after {
    content: "";
    display: table;
    clear: both;
}


/* --------------------------------------------------
   Links
   -------------------------------------------------- */

.cv a {
    overflow-wrap: break-word;
}


/* --------------------------------------------------
   Mobile Darstellung
   -------------------------------------------------- */

@media (max-width: 700px) {

    #cv .bild_r,
    #cv figure.bild {
        float: none;
        width: 80%;
        max-width: 180px;
        margin: 20px auto;
    }

    #cv .bild_r img,
    #cv figure.bild img {
        width: 100%;
        height: auto;
    }

    #cv figure figcaption {
        text-align: left;
    }
}


/* --------------------------------------------------
   Sehr kleine Smartphones
   -------------------------------------------------- */

@media (max-width: 450px) {

    #cv .bild_r,
    #cv figure.bild {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #cv figure figcaption {
        font-size: 0.9em;
    }
}




/* ---------------------------------------------------------
PROJEKTE / FOTOGALERIE
--------------------------------------------------------- */

#foto_s {
width: 100%;
padding: 10px 0 30px;
}

.gal_a {
display: flex;
flex-wrap: wrap;
gap: 0;
margin: 0;
padding: 0;
list-style: none;
border: 0px solid #369;
}

.gal_a li {
display: inline-block;
margin: 0;
padding: 0;
list-style: none;

}

.gal_a_cont_first,
.gal_a_cont {
display: inline-block;
width: 180px;
height: 220px;
font-size: .8rem;
border: 0px solid #ccc;
}

.gal_a_thumb,
.gal_b_thumb {
display: inline-block;
margin: 0;
padding: 10px;
font-style: italic;
line-height: 1.2;
text-align: center;
vertical-align: middle;

}

.gal_a_thumb img,
.gal_b_thumb img {
display: block;
width: 160px;
height: 160px;
margin: 0 0 10px !important;
padding: 0 !important;
object-fit: cover;
background: #fff !important;
border: 3px solid #fff;
}

.gal_a_thumb img:hover {
box-shadow: 0 0 10px rgba(108, 132, 60, .75);
}

.gal_b_cont_first,
.gal_b_cont {
display: inline-block;
width: 180px;
height: 180px;
font-size: .8rem;
border: 0px solid #ccc;
}

/* ---------------------------------------------------------
FOOTER
--------------------------------------------------------- */

footer {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 900;
width: 100%;
min-height: 30px;
/*background: url("str_m.png") left bottom repeat-x;*/
background-image: url("str2.png");
background-color: #bcd291;
}

#fuss {
width: 100%;
min-height: 30px;
}

#fuss_m {
display: none;
}

#fuss li {
display: inline-block;

min-height: 22px;
margin: 0;
padding: 0 90px 0 0;

vertical-align: top;

}

#fuss a {
display: block;
color: #fff;
}

/* ---------------------------------------------------------
ZURÜCK NACH OBEN
--------------------------------------------------------- */

.back-to-top {
position: fixed;
right: 40px;
bottom: 45px;
z-index: 950;


display: block;

width: 40px;
height: 35px;
margin: 3px;
padding: 3px;

background:
    rgba(210, 220, 160, .75)
    url("to-top.png") center center no-repeat;

border: 0;


}

.back-to-top[hidden] {
display: none;
}

/* ---------------------------------------------------------
TABLET / KLEINERE DESKTOPS
--------------------------------------------------------- */

@media (max-width: 1300px) {

body {
    font-size: .9rem;
    line-height: 1.4;
}

section {
    width: 95%;
}

#philo {
    padding-top: 90px;
}

#headernav {
    height: 75px;
}

.navbar {
    width: 95%;
    margin-top: 1em;
    margin-left: 2.5%;
}

#logoname {
    margin-top: 5px;
    margin-right: 10%;
}

.wichtig {
    margin-top: .2em;
}

#bld,
#bld_re,
#bld_lks {
    margin-top: 0;
}


}

/* ---------------------------------------------------------
MOBILE Navigation
--------------------------------------------------------- */

#mobileMenu {
    display: none;
}

@media (max-width: 835px) {

body {
    width: 100%;
    padding-bottom: 40px;
}


/* Header */

#headernav {
    top: 0;
    height: 75px;
    z-index: 800;
}

#toptop {
    display: none;
}

#logoname {
    float: right;
    width: 260px;
    height: 50px;
    margin-top: 12px;
    margin-right: 2%;
    background-image: url("logo-d2.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
}




/* Inhalt */

section {
    width: 95%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0;
}

#philo {
    padding-top: 60px;
    padding-bottom: 10px;
}

#block {
    padding-bottom: 45px;
}


/* Bilder */

#bld,
#bld_re,
#bld_lks {
    width: 35%;
    margin: 0 10px 15px 0;
}


/* Footer */

footer {
display: block;
    min-height: 30px;
    background-image: url("str2.png");
}

#fuss {
    display: none;
}

#fuss_m {
    display: block;

    width: 80%;
    min-height: 30px;
    margin-top: 2.5px;
    margin-left: 30px;

    font-size: .9rem;
}

#fuss_m ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

#fuss_m li {
    display: inline-block;

    min-height: 22px;
    margin: 0;
    padding: 0 25px 0 0;

    vertical-align: top;
}

#fuss_m a {
    display: block;
    color: #fff;
}


/* Zurück nach oben */

.back-to-top {
    right: 5px;
    bottom: 40px;
}

}

/* ---------------------------------------------------------
KLEINE SMARTPHONES
--------------------------------------------------------- */

@media (max-width: 460px) {

#wrapper {
    width: 100%;
    padding-bottom: 25px;
}

section {
    padding-top: 0;
}
.unterpkt2,
.unterpkt2 li {
margin-left: 1em;
background-image: url("pkt_m.png");

}

.gal_a_thumb,
.gal_b_thumb {
margin-left: 25%;
}


/* Curriculum 

.bild_r {
    margin: 0 0 10px 10px;
}

.bild {
    width: 80%;
    margin: 0 0 10px 10%;
}
*/

/* Textbilder 

#bld,
#bld_re,
#bld_lks {
    width: 45%;
    margin: 0 10px 10px 0;
}*/


/* Galerie */

/*li.gal_a_cont,
li.gal_b_cont {
    display: none;
}


/* Logo */

#logoname {
    width: 220px;
    margin-right: 2%;
}

}

/* ---------------------------------------------------------
REDUZIERTE BEWEGUNG
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

html {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
}

}
