:root {
    --body-bg: #fff;

    --main-bg-color: #d3711c;
    --secondary-bg-color: #d3711c;

    --Logo-field-bg-color: #fff;
    --Logo-border-color: #d3711c;

    --input-bg-color: #80808012;
    --input-border-color: #a0a0a0;

    --font-size: unset;
    --font-family: system-ui,Helvetica;

    --req-color: red;

    --footer-font-color: #fff;
}

*{
    font-size: var(--font-size);
    font-family: var(--font-family);   
}

.header {
    min-height: 220px;
}

.over_header {
    height: 125px;
    background-color: var(--main-bg-color);
    display: block;
    position: relative;
}

.Logo_field{
    background-color: var(--Logo-field-bg-color);
    height: 200px;
    width: 200px;
    transform: translate(10%, 10%);
    display: flex;
    position: absolute;
    z-index: 1;
}

.header .Logo{
    max-width: 170px;
    width: 170px;
    max-height: 170px;
    height: 170px;
    background: no-repeat center/100% url("../img/Logo.png") ;
    display: block;
    margin: auto;
    border: 2px solid var(--Logo-border-color);
}

.header .sub_header{
    background-color: var(--body-bg);
    width: 100%;
    display: block;
    position: relative;
}

.hinweis_inner_field{
    position: relative;
    bottom: 0px;
    width: calc( 85% - 200px);
    margin-left: calc( 10% + 200px );
    padding-top: 5px;
}
body {
    margin: 0px;
    background-color: var(--body-bg);
}

.main {
    margin-top: 30px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

h1 { font-size: 3.6rem; margin: 0 0 1em; color: var(--main-bg-color);}

h2 { font-size: 2.2rem; margin: 1em 0 0.5em; color: var(--main-bg-color); }

h3 { margin: 1em 0 0.5em; color: var(--main-bg-color); }

.form-group {
	margin-bottom: 1rem;
}

.form-group label{
	display: block;
	width: max-content;
    font-weight: bold;
}

textarea,
input,
button,
select,
#Meldung_index,
#upload{
	color: inherit;
	border: 2px solid var(--input-border-color);
	padding: .5rem;
	font-size: 1rem;
	background: inherit;
	border-radius: .25rem;
	width: 100%;
    background-color: var(--input-bg-color);
}

.form-group #upload_feld{
    background-color: var(--input-bg-color) !important;
    border-color: var(--input-border-color);
}

button,
#Meldung_index,
input[type=submit] {
	background: var(--main-bg-color);
	color: #f8f8f8;
	border-color: var(--input-border-color);
	width: max-content;
	padding: 0.5em 1em;
	font-weight: bold;
	margin-top: 2em;
	font-size: 1.2rem;
    cursor: pointer;
	+ a {
		margin-left: 1rem;
		color: #555;
	}
}

.inputGroup {
    display: block;
    margin: 10px 0;
    position: relative;
}

.inputGroup label {
      width: 100%;
      display: block;
      text-align: left;
      cursor: pointer;
      position: relative;
      z-index: 2;
      transition: color 200ms ease-in;
      overflow: hidden;

      &:before {
        width: 100%;
        height: 10px;
        border-radius: 50%;
        content: '';
        background-color: #5562eb;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale3d(1, 1, 1);
        transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
        opacity: 0;
        z-index: -1;
      }

      &:after {
        width: 32px;
        height: 32px;
        content: '';
        border: 2px solid #D1D7DC;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
        background-repeat: no-repeat;
        background-position: 2px 3px;
        border-radius: 50%;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        transition: all 200ms ease-in;
      }
}

.inputGroup input:checked ~ label {
      color: #fff;

      &:before {
        transform: translate(-50%, -50%) scale3d(56, 56, 1);
        opacity: 1;
      }

      &:after {
        background-color: var(--main-bg-color);
        border-color: var(--main-bg-color);
      }
}

.inputGroup input {
      width: 100%;
      order: 1;
      z-index: 2;
      position: absolute;
      right: 30px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      visibility: hidden;
}


.footer{
    width: 100%;
    height: 100px;
    background: var(--main-bg-color);
    color: var(--footer-font-color);
    display: flex;
    align-items: center;
    justify-content: end;
}

.footer-link-zone{
    margin-right: 30px;
}

.footer-link-zone a {
    text-decoration: none;
    color: var(--footer-font-color);
}

.form_hinweis{
    font-style: italic;
}

.req:after{
    content: " *";
    color: var(--req-color);
}

#beschreibung {
    height: 200px;
}

@media only screen and (max-width: 950px) {
    .header {
        min-height: unset;
    }

    .over_header {
      height: auto;
    }
    .header2{
      display: flex;
    }
    .main {
        width: calc(100% - 10px);
        margin-left: 5px;
        margin-right: 5px;
    }

    .Logo_field {
        position: relative;
        height: 100px;
        width: 100px;
    }

    .header .Logo {
        max-width: 70px;
        width: 70px;
        max-height: 70px;
        height: 70px;
    }

    .header .sub_header {
        transform: unset;
        height: fit-content;
    }

    .hinweis_inner_field {
        margin: auto;
        position: relative;
        width: 85%;
        padding-top: 5px;
    }
}
