#bild {
width: 100%;
max-width: 500px;
min-width: 330px;
}

#gfooter {
text-align: left;
display: grid;
max-width: 1200px;
margin-right: auto;
margin-left: auto;
padding: 10px 15px 10px 15px;
}

#leistungen,
#p0,
#plus0 {
display: grid;
}

#logo {
margin-right: 20px;
}

#nav a {
text-decoration: none;
color: #FFFFFF;
display: inline-block;
width: 260px;
}

#nav div[active] > a {
color: #000000;
}

#nav img {
background-color: #009fe3;
cursor: pointer;
margin-left: 7px;
}

#nav input[type="checkbox"] + .list0,
#nav input[type="checkbox"] + .list1,
#nav input[type="checkbox"] + .list,
#nav input[type="checkbox"],
.desktop {
display: none;
}

#nav input[type="checkbox"]:checked + .list0,
#nav input[type="checkbox"]:checked + .list1,
#nav input[type="checkbox"]:checked + .list {
display: inline;
}

#nav {
background-color: #009fe3;
z-index: 5;
position: absolute;
top: 10px;
left: 20px;
margin-top: 30px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
box-shadow: 0px 0px 10px grey;
}

#navigation {
text-align: left;
}

.blau {
color: #009fe3;
}

.datum {
font-size: 18px;
line-height: 34px;
}

.extra_nav {
font-size: 16px;
text-decoration: none;
color: #FFFFFF;
width: 100%;
max-width: 1200px;
}

.extra_nav_a,
.extra_nav_div {
font-size: 16px;
text-decoration: none;
color: #FFFFFF;
max-width: 1200px;
}

.footer {
background-color: #009fe3;
margin-top: 20px;
}

.head_subline {
font-size: 35px;
}

.header {
display: inline;
position: absolute;
max-width: 2600px;
min-width: 300px;
top: 0px;
left: 0px;
}

.header_img {
width: 100%;
max-width: 2600px;
min-width: 300px;
top: 0px;
left: 0px;
}

.header_text_box {
text-decoration: none;
text-align: left;
float: right;
position: relative;
width: 450px;
right: 25px;
bottom: 200px;
padding-top: 50px;
padding-right: 10px;
padding-left: 35px;
}

.headline {
font-size: 75px;
color: #009fe3;
font-weight: bolder;
}

.item0 > a {
font-size: 20px;
line-height: 55px;
padding: 0px 8px 0px 16px;
}

.item0, .item1, .item2, .item3, .item4 {
white-space: nowrap;
display: block;
border-bottom: 1px solid #ffffff;
}

.item1 > a {
font-size: 16px;
background-color: #009fe3;
line-height: 50px;
padding: 0px 8px 0px 16px;
}

.item1:last-child, .item2:last-child, .item3:last-child, .item4:last-child {
border: none;
}

.item2 > a {
font-size: 14px;
line-height: 31px;
padding: 0px 12px 0px 18px;
}

.item3 > a {
font-size: 12px;
line-height: 27px;
padding: 0px 6px 0px 24px;
}

.item4 > a {
font-size: 12px;
line-height: 23px;
padding: 0px 0px 0px 30px;
}

.lei_img {
width: 100%;
height: auto;
max-width: 600px;
min-width: 160px;
padding-top: 15px;
padding-bottom: 15px;
}

.linie_r1 {
background-color: #172a6d;
position: absolute;
width: 280px;
height: 4px;
border: none;
margin-top: 4px;
}

.linie_r2 {
background-color: #172a6d;
position: absolute;
width: 29%;
height: 4px;
right: 0px;
border: none;
margin-top: 4px;
}

.list0 img {
vertical-align: middle;
background-color: #FFFFFF;
padding: 10px 8px 10px 0px;
}

.list1 img + a {
background-color: #FFFFFF;
padding-top: 7px;
padding-bottom: 6px;
padding-left: 7px;
}

.logo {
text-align: right;
background-color: #009fe3;
width: 100%;
margin-right: auto;
margin-left: auto;
padding-top: 25px;
padding-bottom: 25px;
}

.main {
text-align: left;
max-width: 1200px;
margin: 30px auto 30 auto;
padding: 10px 15px 25px 15px;
}

.td1 {
border-bottom: 2px solid #FFFFFF;
margin-top: 4px;
margin-bottom: 4px;
}

.tf2 {
background-color: #FFFFFF;
width: 120px;
border: 1px solid #FFFFFF;
padding-left: 5px;
}

.tfr {
line-height: 20px;
}

.ttd {
background-color: #d6d6d6;
line-height: 30px;
}

A {
text-decoration: none;
color: #4a4a4a;
line-height: 25px;
}

DIV, P, TD, TH, UL, LI {
font-size: 18px;
color: #4a4a4a;
line-height: 24px;
}

H1 {
font-size: 48px;
color: #009fe3;
line-height: 40px;
}

H2 {
font-size: 40px;
color: #009fe3;
display: inline;
line-height: 36px;
}

H3 {
font-size: 22px;
color: #009fe3;
display: inline;
line-height: 30px;
}

H4 {
font-size: 20px;
text-transform: uppercase;
color: #009fe3;
}

H5 {
font-size: 18px;
color: #009fe3;
font-weight: bold;
}

H6 {
font-size: 30px;
color: #009fe3;
font-weight: bold;
}

UL {
padding-left: 1em;
}

@media (min-width: 840px) {
#gfooter1,
#gfooter2 {
padding-right: 15px;
}

#gfooter {
grid-template-columns: auto auto auto;
}

#header {
text-align: center;
z-index: 0;
position: absolute;
width: 100%;
top: 297px;
left: 0px;
}

#leistungen {
grid-template-columns: 48% 48%;
}

#leistungengeintrag {
margin-right: 7px;
margin-bottom: 15px;
margin-left: 7px;
}

#p0 {
margin: 0px;
grid-template-columns: auto 5px auto 5px auto 5px auto;
}

#p4, #p8, #p12, #p16 {
height: 5px;
margin: 0px;
grid-column: 1 / 8;
}

#plus0 {
grid-template-columns: auto 10px auto;
}

#plus2, {
height: 5px;
grid-column: 1 / 4;
}

.plus_img {
width: 100%;
height: auto;
padding-left: 15px;
}

.ref_img {
width: 100%;
height: auto;
}
}

@media (min-width: 560px) and (max-width: 839px) {
#gfooter1,
#gfooter2 {
padding-right: 15px;
}

#gfooter {
grid-template-columns: auto auto;
}

#header {
z-index: 0;
position: absolute;
width: 100%;
top: 335px;
left: 0px;
}

#leistungen {
grid-template-columns: 50% 50%;
}

#leistungeneintrag {
margin-bottom: 15px;
}

#p0 {
grid-template-columns: auto 5px auto;
}

#p2, #p4, #p6, #p8, #p10, #p12 {
grid-column: 1 / 4;
height: 5px;
}

.head_subline {
font-size: 30px;
}

.header_text_box {
text-decoration:  none;
text-align: left;
float: right;
position: relative;
width: 400px;
right: 55px;
bottom: 160px;
padding-top: 40px;
padding-right: 5px;
padding-left: 25px;
}

.headline {
font-size: 63px;
color: #009fe3;
font-weight: bold;
}

.linie_r1 {
width: 180px;
}

.plus_img {
width: 100%;
height: auto;
padding-left: 15px;
}

.ref_img {
width: 100%;
height: auto;
}
}

@media (max-width: 559px) {
#gfooter {
grid-template-columns: auto;
}

#header {
z-index: 0;
position: absolute;
width: 100%;
top: 283px;
left: 0px;
}

#leistungen {
width: 100%;
}

#leistungeneintrag {
margin-bottom: 15px;
}

#p0 {
display: block;
}

#p1, #p2, #p3, #p4, #p5, #p6, #p7, #p8, #p9, #p10, #p11, #p12 {
height: 5px;
grid-column: 1 / 4;
}

.head_subline {
font-size: 20px;
line-height: 16px;
}

.header_text_box {
text-decoration: none;
text-align: left;
float: right;
position: relative;
width: 200px;
right: 20px;
bottom: 100px;
padding-top: 30px;
padding-right: 5px;
padding-left: 20px;
}

.headline {
font-size: 35px;
color: #009fe3;
font-weight: bold;
line-height: 20px;
}

.linie_r1 {
width: 330px;
}

.linie_r2 {
width: 80%;
}

.plus_img,
.ref_img {
width: 100%;
height: auto;
}

DIV, P, TD, TH, UL, LI {
font-size: 18px;
}

H1 {
line-height: 50px;
}

#logo {
width: 150px;
height: 150px;
}
}

