@charset "UTF-8";

/* variables */

:root {
    --keycolor: rgb(0,83,154);
    --keycolorsecond: rgb(61, 126, 0);
    --keybackground: rgb(34, 34, 34);
    --bodybackground: rgb(223, 225, 217)
}

/* structure */

body {
    background-color: var(--bodybackground);
}
div#container {
    background-color: white;
    box-shadow: 0 0 24px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto
}
header {
    position: relative
}
header #upperheader { 
    background-color: white;
    display: flex;
    padding: 1em 2em; 
}
header img.logo {
    width: 40%;
    max-width: 260px;
}
header #lowerheader {
    position: relative;
}
header #lowerheader img.header {
    /* aspect-ratio: 3/1; */
    object-fit: cover;
    width: 100%;
}
header #lowerheader #titles {
    padding: 4em 1em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}
header #lowerheader #titles * {
    color: white;
}
#teaser {
    position: absolute;
    top: 82%;
    right: 6%;
    width: 22%;
}
section#intro {
    background-color: white;
    color: black;
    padding: 2.5em 2em 1em 2em;
    text-align: center;
}
section#intro > *,
#headercontent,
footer > div,
.marginbox {
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}
section > p,
div#main > p {
    margin-bottom: 1em
}
section#intro > h3 {
    margin-bottom: 1em;
}
div#main {
    background-color: lightblue;
    color: black;
    padding: 2em;
    text-align: center;
}
div.whitebox {
    background-color: white;
    border-radius: 0.25em;
    margin: 2em 0;
    padding: 2em;
}
div.whitebox a.button {
    background-color: var(--keycolor);
    color: white;
    display: inline-block;
    padding: 1em;
    font-weight: 700;
    border-radius: 0.25em;
    transition: all 0.25s;
}
div.whitebox a.button:hover {
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    transform: scale(102%);
}
#upperheader a.button {
    background-color: var(--keycolor);
    border-radius: 0.25em;
    color: white;
    display: inline-block;
    font-size: 0.875em;
    font-weight: 700;
    margin: 0;
    padding: 1em;
    position: absolute;
    right: 2em;
    top: 1em;
    transition: all 0.25s;
}
#upperheader a.button:hover {
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    transform: scale(102%);
}
div.flex-elements {
    display: flex
}
div.flex-elements.small {
    display: flex!important;
    margin-bottom: 1em;
}
div.flex-elements > div {
    flex-basis: 50%;
}
div.flex-elements.small > div {
    flex-basis: 25%;
}
div.flex-elements.small > div label {
    color: var(--keycolor);
    font-size: 1em;
    line-height: 1.5;
}
div.w150 {
    width: 150px
}
div.flex-elements.small div p {
    color: var(--keycolor);
}
.box-container-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    margin: 2em 0 6em 0;
}
.box-container-grid > div {
    background-color: white;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    border-radius: 0.25em;
    font-size: 0.875em;
    overflow: hidden;
    text-align: center;
}
.box-container-grid > div .image-holder img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;;
}
footer {
    background-color: var(--keycolor);
    color: white;
    font-size: 0.75em;
    padding: 2em;
}
footer > section {
    display: flex;
    justify-content: space-between
}
footer > section > div {
    flex-basis: 22%
}
footer .sm-icons {
    display: flex;
}
footer .sm-icons img {
    width: 40px;
    margin-right: 0.5em;
}
footer .sm-icons img:hover {
    opacity: 0.9;
}

/* showmenu pure css */

#menu-btn {
    align-items: center;
    height: 40px;
    cursor: pointer;
    right: 1em;
    position: absolute;
    text-align: left;
    top: 1em;
    transition: all .25s ease-in-out;
    z-index: 999;
    /* border: 3px solid #fff; */
}  
.menu-btn__burger {
    width: 50px;
    height: 4px;
    background: transparent;
}
.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: white;
    transition: all .25s ease-in-out;
}
.menu-btn__burger::before {
    transform: rotate(45deg) translate(12px, 12px);
}
.menu-btn__burger::after {
    transform: rotate(-45deg) translate(-12px, 12px);
}
#footerlogo img.footerlogo {
    margin-bottom: 2em;
    max-width: 160px;
    width: 100%
}
/*
#result-content {
    display: flex;
    justify-content: space-between
}
#result-content > * {
    flex-basis: 48%
}
*/
#result-content div img {
    margin-bottom: 1em;
    width: 100%
}
#result-content p {
    vertical-align: top
}

/* fonts */
* {
    font-family: "Open Sans";
}
strong {
    color: var(--keycolor);
    font-weight: 700;
}
footer strong {
    color: white;
}
h1 {
    font-size: 3.5em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 0.5em;
}
h2 {
    font-size: 1.75 em;
}
#titles h2 {
    margin-bottom: 0;
}
h3 {
    font-size: 1.125em;
}
div#datum h3 {
    margin-top: 0
}
footer h3 {
    margin: 0.5em 0 0;
    line-height: 1.5em
}
p,
ol {
    line-height: 1.4em;
    margin-bottom: 1em
}
section#intro > ol {
    padding-left: 2.3em;
}
section#intro > ol li {
    padding-left: 0.5em;
}
#result.content p,
p.bigger {
    font-size: 1.25em
}
#intro p strong,
#main p strong {
    font-size: 1.5em;
    line-height: 1.2;
}
.small {
    font-size: 0.875rem;
    line-height: 1.4em
}
.smaller {
    font-size: 0.75rem
}
.italic {
    font-style: italic
}
label a {
    text-decoration: underline;
}

/* tables */

td {
    padding-right: 1em
}
#informationen tr td:first-child {
    padding-top: 7px
}
footer table {
    font-size: 0.9em
}
footer td {
    line-height: 1.6em
}

/* forms */

#submit {
    padding-top: 1em;
}
#datum {
    margin-top: 1em;
    margin-bottom: 3em
}
#informationen {
    float: left
}
#buttons {
    margin-bottom: 2em
}
.buttons a {
    background-color: white;
    color: blue;
    display: block;
    padding: 1em;
    font-weight: 700;
    border-radius: 0.25em;
    transition: all 0.25s;
}
.buttons a:hover {
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    transform: scale(102%);
}
.icons a img {
    max-width: 80px;
}
div.fieldset.clearfix input,
div.fieldset.clearfix + input {
    margin-top: 0
}
div#kontakt input[name='strasse'] {
    float: left;
    width: 70%!important
}
div#kontakt input[name='nr'] {
    float: right;
    width: 28%!important
}
div#kontakt input[name='plz'] {
    float: left;
    width: 28%!important
}
div#kontakt input[name='ort'] {
    float: right;
    width: 70%!important
}
div#informationen input[name='strasse'] {
    float: left;
    width: calc(100% - 3.5em)!important
}
div#informationen input[name='nr'] {
    float: right;
    width: 3em!important
}
div#informationen input[name='plz'] {
    float: left;
    width: 3em!important
}
div#informationen input[name='ort'] {
    float: right;
    width: calc(100% - 3.5em)!important
}
#informationen input.editable,
#informationen input#dat,
#informationen input#fz {
    border: solid 1px rgb(39, 50, 111);
    color: rgb(255, 255, 255)
}
input#kontrolle,
input#dat,
input#modell {
    display: none
}
input[type='text'],
input[type='email'] {
    border: solid 1px var(--keycolor);
    display: block;
    width: 100%;
    color: var(--keycolor);
    margin: 0.75em 0;
    padding: 0.4em 0.6em 0.6em
}
input[type='submit'],
a.button,
button#print {
    background-color: var(--keycolor);
    border: none;
    color: white;
    display: inline-block;
    font-weight: 700;
    margin: 1em 0 2em;
    padding: 0.4em 1.2em 0.6em;
    text-transform: uppercase;
    transition: box-shadow 0.15s, background-color 0.25s
}
a.button.back {
    background-color: transparent;
    border: none;
    color: var(--keycolor);
    font-weight: 400;
    padding: 0;
    text-transform: none;
}
button#print:hover {
    background-color: lightgrey;
}
select {
    border: solid 1px;
    padding: 0.35em 0.5em;
    width: 100%
}
#buttons input[type='submit'] {
    padding-top: 0.3em;
    padding-bottom: 0.4em
}
input[type='submit']:hover,
#bearbeiten:hover,
a.button:hover {
    box-shadow: 0 7px 3px -4px rgb(0, 0, 0, 0.5);
}
a.button.back:hover {
    background-color: transparent;
    box-shadow: none;
    color: var(--keycolor);
    font-weight: 400;
    padding: 0;
    text-decoration: underline;
}
input[type='checkbox'] {
    margin-right: 1.25em;
    appearance: none
}
td input[type='text'],
td input[type='email'] {
    background-color: transparent;
    display: inline-block;
    margin: 0;
    padding: 0.25em 0.6em
}
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-moz-placeholder {
    /* Firefox 18- */
    color: var(--keycolor);
    font-size: 0.8571428571428571em;
    opacity: 1
}
#antwort div label.css-radio-label:first-of-type {
    margin-bottom: 0.75em
}
input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 2.25em;
    /* height: 20px; */
    display: inline-block;
    line-height: 24px;
    background-repeat: no-repeat;
    background-image: url(../images/buttons/checkbox-off.png);
    background-size: 24px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=checkbox].css-checkbox + label.css-label.small {
    padding-left: 3.125em;
}
input[type=checkbox].css-checkbox:checked + label.css-label {
    background-image: url(../images/buttons/checkbox-on.png);
    background-position: 0 0;
}
label.css-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
label[for="newsletter"] {
    margin: 1em 0
}
input[type=radio] {
    /* display: none */
    visibility: hidden
}
input[type=radio] + label.css-radio-label {
    background-image: url(../images/buttons/radio.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.1;
    padding-left: 2em;
    display: inline-block;
    height: 32px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 32px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=radio]:checked + label.css-radio-label {
    background-position: 0 -32px
}