:root{
    --clr-primary-200: hsl(209, 53%, 84%);
    --clr-primary-300: hsl(226, 13.30%, 54.30%);
    --clr-primary-350: hsl(214, 100%, 35.30%);
    --clr-primary-400: hsl(214, 100.00%, 25.30%); /*#003881*/

    --clr-accent-400: hsl(31, 100%, 47%);

    --clr-neutral-800: #ECECEC;
    color-scheme: only light;
}

*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    box-sizing: border-box;
}

*::placeholder{
    color: #aaa;  
}

html{
    font-size: 20px;
    padding: 0;
    margin: 0;
}

body{
    font-family: 'lato', Arial;
    font-size: 1em;
    line-height: 1.3em;
    color: #4d4d4d;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

h1,h2,h3,h4,h5,h6{
    margin-top: 0;
}

hr{
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

a{
    color: var(--clr-accent-400);
    text-decoration: none;
    cursor: pointer;
}

img{
    display: block;
    max-width: 100%;
}

img.border{
    border: 1px solid #ccc;
}

h1, h2{
    font-family: 'MarckScript';
    font-size: 45px;
    line-height: 1.3em;
    font-weight: 700;
    color: rgb(174, 200, 15);
    letter-spacing: -4.5px;
    margin-bottom: 1.5rem;
}
h1 > div{
    font-family: 'lato_light';
    font-size: 0.6em;
    font-weight: normal;
    line-height: 1.3em;
    font-style: italic;
}

h2.big{
    font-size: 55px;
    line-height: 1.3em;
}

/* h2{
    font-family: 'lato_light';
    font-size: 1.7rem;
    line-height: 1.3em;
    font-weight: bold;
    margin-bottom: 0.7rem;
} */

h3{
    font-family: 'lato_light';
    font-size: 1.3rem;
    line-height: 1.3em;
    font-weight: bold;
}

p{
    margin-top: 0;
}

.clrfix:after{
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
    content: "";
}

.clr{
    clear: both; 
}

.clr10{
    clear: both; 
    height: 10px;
}

.clr20{
    clear: both; 
    height: 20px;
}

.clr30{
    clear: both; 
    height: 30px;
}

.center{
    text-align: center;
}

.uppercase{
    text-transform: uppercase;
}

/* Formulare */
.form-row{
    margin-bottom: 15px;
}

.form-row label{
    display: block;
}

.form-row label .desc{
    color: #aaa;
    font-size: 0.8em;
}

select{
    display: inline-block;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    background-color: #fff;
    padding: 6px 5px 6px 5px;
    cursor: pointer;
    color: #4d4d4d;
    font-family: 'pt_sans', Arial;
}

select[disabled]{
    opacity: 0.3;
}

select option:disabled{
    text-decoration: line-through;
    color: #c2bebe;
}

select.inline{
    width: auto;
}

input[type=text], input[type=password], textarea{
    display: inline-block;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 6px 10px;
    color: #4d4d4d;
    font-family: Arial;
}

input[type=text].error, input[type=password].error, textarea.error{
    border: 1px solid red;
}

input[type=submit], input[type=button], button{
    display: inline-block;
    vertical-align: top;
    background-image: none;
    border: none;
    background-color: #555555;
    color: #fff;
    padding: 7px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    font-family: Arial;
}

input[type=submit].full, input[type=button].full, a.submit-btn.full{
    width: 100%;
}

a.submit-btn{
    display: inline-block;
    vertical-align: top;
    background-image: none;
    border: none;
    background-color: #555555;
    color: #fff;
    padding: 5px 20px 6px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

*.btn{
    display: inline-block;
    vertical-align: top;
    background-image: none;
    border: none;
    background-color: #555555;
    color: #fff;
    padding: 5px 10px 6px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

*.btn.big{
    display: flex;
    align-items: center;
    font-size: 1.2em;
    line-height: 1em;
    width: 100%;
    justify-content: center;

    padding: 0.7em 1em 0.8em 1em;
    background-color: var(--clr-primary-400);
    transition: all 0.3s;
}

*.btn.big:hover{
    background-color: var(--clr-primary-350);
    transform: scale(1.03);
}

*.btn > i{
    margin-right: 10px;
}

input[type=submit].sec, a.submit-btn.sec{
    background-color: #ccc;
    color: #666;
}

a.submit-btn.grau{
    background-color: #e8e4d8;
    color: #4d4d4d;
}

.btn-row{
    display: flex;
    gap: 1rem;
    row-gap: 0.5rem;
}

.btn-row.right{
    justify-content: flex-end;
}

#cookies{
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    font-size: 14px;
    line-height: 1.3em;
    background-color: #f5f5f5;
    border-top: 5px solid #555555;
    text-align: center;
    z-index: 999;
}

.cookie_buttons{
    display: block;
    margin-top: 7px;
}

#login-form{
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
    border: 1px solid #ccc;
    padding: 30px;
}

#login-form input[type=submit]{
    width: 100%;
}

.inp-btn-form{
    position: relative;
}

.inp-btn-form input[type=text]{
    position: relative;
    padding-right: 108px;
    border-radius: 0;
}

.inp-btn-form input[type=submit]{
    position: absolute;
    border-radius: 0;
    top: 0;
    right: 0;
}
/* ENDE Formulare */

/* Container */
.middle{
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
    padding-inline: 15px;
}

.middle.pv{
    padding: 3rem 15px;
}

.pv{
    padding: 3rem 15px;
}

.middle.full{
    max-width: none;
}

@media screen and (max-width: 500px){
    .middle.pv{
        padding: 2rem 15px;
    }
}
/* ENDE Container */

/* Info Messages */
#infomsg-box{
    display: block;
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 90%;
    margin-left: 5%;
}

.infomsg{
    display: block;
    background-color: #d5efc2;
    color: #439800;
    padding: 15px;
    border: 1px solid #92CD59;
}

.infomsg.error{
    display: block;
    background-color: #F2DEDE;
    color: #f64c4c;
    padding: 15px;
    border: 1px solid #e6e6e6;
}
/* ENDE Info Messages */

/* Tabellen */
table.auflistung{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table.auflistung.small{
    font-size: 0.8em;
    line-height: 1.3em;
}

table.auflistung.small select,
table.auflistung.small input{
    font-size: 0.8em;
    padding: 0;
}

table.auflistung.small input{
    padding: 3px;
    width: 50px;
}

table.auflistung thead td{
    background-color: #555555;
    color: #fff;
    padding: 0.5em 0.7em;
    border: 1px solid #ccc;
}

table.auflistung thead tr.second-row td{
    background-color: #a8a8a8;
}

table.auflistung tbody td{
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.3em 0.7em;
    vertical-align: top;
}

table.auflistung tbody tr:nth-child(2n) td{
    background-color: #efefef;
}

table.auflistung tbody tr:hover td{
    background-color: #e8e8e8;
}

table td.small{
    width: 1px;
    white-space: nowrap;
}

table td.center{
    text-align: center;
}

table td.right{
    text-align: right;
}

table td.aktion a{
    color: #383838;
}

table td.aktion a:hover{
    color: #555555;
}

table.simple-data{
    border-spacing: 0;
    border-collapse: collapse;
}

table.simple-data tr td{
    padding: 0 0 0 10px;
    vertical-align: top;
}

table.simple-data thead tr td{
    padding: 0;
    font-weight: bold;
}

table.simple-data.border tr td{
    padding: 5px 10px;
    border: 1px solid #ccc;
}


/* ENDE Tabellen */

/* Paginator */
.paginator.default{
    margin: 10px 0;
    text-align: right;
}

.paginator.default ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: right;
}

.paginator.default ul li{
    display: inline-block;
    padding: 5px;
    border: 1px solid #ccc;
    height: 25px;
    line-height: 14px;
    font-size: 14px;
    min-width: 25px;
    text-align: center;
}

.paginator.default ul li.aktiv{
    background-color: #555555;
    border: 1px solid #555555;
}

.paginator.default ul li a{
    color: #383838;
    text-decoration: none;
}

.paginator.default ul li.aktiv a{
    color: #fff;
}

.paginator.default > .label{
    float: left;
    line-height: 14px;
    font-size: 14px;
    padding: 5px 5px 5px 0;
}

.paginator.selectbox{
    margin: 10px 0;
}

.paginator.selectbox > .label{
    float: right;
    line-height: 20px;
    font-size: 14px;
    padding: 5px;
}

.paginator.selectbox > select{
    display: block;
    float: right;
    width: auto;
    line-height: 14px;
    font-size: 14px;
    padding: 5px;
}
/* ENDE Paginator */


/* Message Boxes */
.note-box, .error-box, .success-box{
    display: flex;
    margin: 30px 30px 0 30px;
    padding: 15px;
    gap: 10px;
    align-items: center;
}

.note-box{
    background-color: #fefdee;
    border: 1px solid #FFB301;
    color: #FFB301;
}

.error-box{
    background-color: #fff1f1;
    border: 1px solid #cf2020;
    color: #cf2020;
}

.success-box{
    background-color: #f2fff1;
    border: 1px solid #429523;
    color: #429523;
}

#infomessages{
    display: block;
    position: relative;
}

.clr-white{
    color: #fff;
}

.clr-blue{
    color: var(--clr-primary-400);
}

.clr-yellow{
    color: var(--clr-accent-400);
}

#top_bar{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 10;
    background-color: #fff;
    transition: all 0.5s;
}

img{
    display: block;
    max-width: 100%;
}

.datenschutz{
    display: grid;
    grid-template-columns: 25px 1fr;
    font-size: 14px;
    line-height: 1.3em;
}

.captcha{
    max-width: 140px;
}

.pflicht{
    float: right;
    font-size: 12px;
    color: #aaa;
}

a#logo{
    color: inherit;
    text-transform: uppercase;
    text-align: center;
}

a#logo .logo_big_text{
    color: var(--clr-primary-400);
    font-size: 2rem;
    line-height: 1.3em;
}

a#logo .logo_small_text{
    font-size: 1.5rem;
    line-height: 1.3em;

}

/* Utility */
.flex{
    --gap: 10px;
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--gap);
    row-gap: var(--row-gap, var(--gap));
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-acenter{
    display: flex;
    align-items: center;
}

.flex-right{
    justify-content: flex-end;
}

.grid{
    --gap: 1rem;
    --row-gap: 1rem;
    --min-width: 300px;
    --template: repeat(auto-fit, minmax(var(--min-width), 1fr));
    display: grid;
    grid-template-columns: var(--template);
    column-gap: var(--gap);
    row-gap: var(--row-gap, var(--gap));
}

.hide{
    display: none !important;
}

header{
    position: relative;
    height: 120px;
}

nav#main-nav{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

nav#main-nav ul{
    display: flex;
    gap: 1px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    list-style-type: none;
    padding: 0;
    width: 640px;
    box-shadow: rgba(0, 0, 0, 0.6) -0.94px -0.34px 4px 0px;
}

nav#main-nav ul > li{
    flex: 1;
}

nav#main-nav ul > li a{
    display: block;
    background-color: rgb(174, 200, 15);
    color: #fff;
    text-transform: uppercase;
    font-size: 17px;
    font-family: Arial;
    text-align: center;
    font: normal normal normal 17px/1.4em 'DINNeuzeitGrotesk',sans-serif;
    padding: 7px;
}

nav#main-nav ul > li a.active{
    background-color: #a0a09f;
}

nav#main-nav ul > li a:hover{
    background-color: #bada55;
}

a#logo{
    position: absolute;
    top: 10px;
    left: 2%;
    width: 212px;
}

a#logo img{
    display: block;
    width: 100%;
}


@media screen and (max-width: 1200px){
    nav#main-nav ul{
        margin: 0 30px 0 230px;
    }
}

.grey_box{
    background-color: #f7f7f7;
    padding: 2rem;
    max-width: 932px;
    margin: 0 auto;
}

.col50-50{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.green-bg{
    background-color: rgb(174, 200, 15);  
}

.green-bg h2{
    color: #fff;
}

.bg-image img{
    --min-h: 470px;

    width: 100%;
    height: 100%;
    min-height: var(--min-h, 470px);
    object-fit: cover;
    object-position: 50% 50%;
    max-width: 100%;
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column{
    flex-direction: column;
}

.p-400{
    padding: 3rem;
}

*.btn_on_green{
    display: inline-block !important;
    font-weight: bold !important;
    border: 4px solid #fff !important;
    padding: 0.5em 1em !important;
    color: #000 !important;
    background-color: rgb(174, 200, 15) !important;
}

*.btn_on_green:hover{
    border: 4px solid #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}

.mb-400{
    margin-bottom: 3rem;
}

nav#footer_navi{
    padding: 0 30px 30px 0
}

nav#footer_navi ul{
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav#footer_navi ul a{
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.auto-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1px;
}


#human_basement img{
    margin: 0 auto 20px auto;
}

@media screen and (min-width: 870px){
    #human_basement img{
        margin: 0;
    }

    #human_basement{
        position: relative;
        width: 100%;
        aspect-ratio: 1/0.8;
    }

    #human_basement > *{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #human_basement > *:nth-child(1){
        transform: translate(-163%, -200%);
    }

    #human_basement > *:nth-child(3){
        transform: translate(-50%, -230%);
    }

    #human_basement > *:nth-child(7){
        transform: translate(70%, -185%);
    }

    #human_basement > *:nth-child(8){
        transform: translate(80%, -50%);
    }

    #human_basement > *:nth-child(2){
        transform: translate(60%, 90%);
    }

    #human_basement > *:nth-child(9){
        transform: translate(-50%, 200%);
    }

    #human_basement > *:nth-child(6){
        transform: translate(-160%, 95%);
    }

    #human_basement > *:nth-child(5){
        transform: translate(-170%, -50%);
    }

}

#kontakt_form{
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#kontakt_form .col50-50{
    gap: 1rem;
}

@media screen and (max-width: 500px){
    #kontakt_form .col50-50{
        gap: 0;
        grid-template-columns: 1fr;
    }
}