/** globale Definitionen **/
:root {
    --fontFamily: Roboto, Arial, Verdana, Helvetica, sans-serif;

    --colorWhite: #fff;
    --colorBlack: #000;

    --colorBlau1: rgb(57, 127, 156);
    --colorBlau2: rgb(66, 138, 168);
    --colorBlau3: rgb(87, 141, 166);
    --colorBlau4: rgb(98, 152, 180);
    --colorBlau5: rgb(209, 221, 229);

    --textColor: #000;
    --borderColor: var(--colorBlau4);
    --bulletColor: #000;

    --aColor: #009ee3;
    --aHoverColor: var(--aColor);

    --btnBackColor: #00f;
    --btnBackHoverColor: #00f;
    --btnTextColor: #fff;
    --btnTextHoverColor: #fff;

    --fontSize: 17px;
    --line-height: 24.2px;

    --h1Size: 30px;
	--h1LineHeight: 33px;
    --h1Color: var(--black);
    --h1BackColor: transparent;

    --h2Size: 20px;
	--h2LineHeight: 20.5px;
    --h2Color: var(--blue);
    --h2BackColor: transparent;

    --h3Size: 16px;
	--h3LineHeight: 40px;
    --h3Color: var(--black);
    --h3BackColor: transparent;
}

/** Schriften **/
@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Regular.woff) format(woff);
    font-weight: normal;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Bold.woff) format(woff);
    font-weight: bold;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Light.woff) format(woff);
    font-weight: lighter;
    font-style: normal;
    font-display: swap
}


/** Reset **/
* {
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
}

p {
    padding: 5px 0;
}

ul,
ol {
    padding: 5px 0 5px 18px;
}

/** Standards **/
#wrapper {
    margin: auto;
    max-width: 900px;
    font-family: var(--fontFamily);
    font-size: var(--fontSize);
    line-height: var(--line-height);
    border: 1px solid var(--colorBlau4);
    -webkit-font-smoothing: antialiased;
}

h2:empty,
h3.empty,
h4.empty,
h5.empty,
h6.empty,
div:empty,
p:empty,
ul.empty,
ol.empty,
section:empty {
    display: none;
}

a[href^="tel:"] {
    white-space: nowrap;
}
a {
    color: var(--aColor);
    text-decoration: none;
}
a:hover {
    color: var(--aHoverColor);
}

ul li::marker {
    color: var(--bulletColor);
}

body {
    color: var(--textColor);
}

h1 {
    color: var(--h1Color);
    background-color: var(--h1BackColor);
    font-size: var(--h1Size);
	line-height: var(--h1LineHeight);
}
h2 {
    color: var(--h2Color);
    background-color: var(--h2BackColor);
    font-size: var(--h2Size);
	line-height: var(--h2LineHeight);
}
h3 {
    color: var(--h3Color);
    background-color: var(--h3BackColor);
    font-size: var(--h3Size);
	line-height: var(--h3LineHeight);
}

.btn, .btn {
    background-color: var(--btnBackColor);
    color: var(--btnTextColor);
}

.btn:hover, .btnMobile:hover {
    color: #fff !important;
}

.noWrap {
    white-space: nowrap;
}

.noMg {
    margin-bottom: 0;
    padding-bottom: 0;
}

header #logos {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 37px;
    padding-bottom: 37px;
}

header #logoHSOS {
    display: block;
    text-align: center;
    max-width: 278px;
    width: 100%;
    margin: 0 auto;
}

header #imgHeader {
    width: 100%;
}

header #applicationDate {
    position: absolute;
    margin-top: -128px;
    right: 35px;
    z-index: 100;
    width: 150px;
    transform: rotateZ(-10deg);
    padding: 25px;
	padding-top: 30.4px;
	padding-bottom: 30.4px;
    background-color: rgb(0, 159, 227);
    border: 4px solid var(--colorWhite);
    border-radius: 100%;
    text-align: center;
    color: var(--colorWhite);
    font-weight: bold;
    font-size: 18px;
}

.grid {
    display: grid;
    grid-template-columns: 1.3fr 314px;
    grid-template-rows: 1fr;
    column-gap: 0; 
	padding-bottom: 5px;
}

.desktop {
    margin-top: -110px;
}

.grid .mods {
    display: flex;
    justify-content: flex-start;
}

.grid .mods div {
    width: 100%;
    max-width: 160px;
    min-height: 103px;
    margin-left: 2.2%;
}

.grid .mods div:first-child {
    margin-left: 7.7%;
}

.grid .mods div svg {
    display: block;
    margin: 0 auto;
    width: 45px;
    /*fill: #678297;*/
    fill: #fff;
}

.grid .mods div p {
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

main {
	/*margin-bottom: 4px;*/
}

#left {
    min-width: 314px;
}

#left section, 
#right section {
    padding-top: 20px;
}

#left section {
    padding-bottom: 10px;
}

#left section:first-child {
    padding-top: 25px;
}

#right section:first-child {
    padding-top: 30px;
}

#left section:last-child,
#right section:last-child {
    padding-bottom: 25px;
}

#left section,
#right section {
    padding-left: 25px;
    padding-right: 25px;
}

#left section div h2 {
    margin-top: 25px;
}

.dots {
    content: '';
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
    border-bottom: 1px dotted var(--borderColor);
}

#right {
    background-color: var(--colorBlau1);
	background-image: url(../img/HSOS-Prisma-RGB-807x3736px.png);

	background-repeat: no-repeat;
	background-size: 100% 100%;
    color: var(--colorWhite);
}

#right section a {
    color: var(--colorWhite);
    text-decoration: none;
}

#right section p {
    padding-left: 25px;
}

#right ul {
    list-style-type: none;
    list-style: none;
	padding-left: 21px;
}

#right ul li {
    padding-bottom: 12px;
	padding-left: 4px;
}

#right ul li:last-child {
    padding-bottom: 0;
}

#right ul li::before {
    content: '…';
    position: absolute;
    top: -4px;
    left: -20px;
    width: 10px;
    height: 1px;
    color: var(--colorWhite);
}

#modalities {
	padding-bottom: 0 !important;
}

#application {
	padding-top: 0 !important;
}

#dgsvo div h2 {
	margin-top: 16px;
	margin-left: 25px;
	padding-top: 18px;
	font-size: 17px;
	line-height: 24.2px;
	font-weight: bold;

	border-top: dotted 2px #fff;
}

.btnDesktop {
	display: block;
}

.btnMobile {
	display: block;
	background-color: #009ce1;
	color: #fff;
	height: 40px;
	line-height: 40px;
	padding-left: 16px;
	padding-right: 16px;
	width: fit-content;
	margin-top: 24px;
	margin-bottom: 8px;
}

footer {
    display: grid;
    grid-template-columns: .7fr .7fr 314px;
    grid-template-rows: .2fr 1.8fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: var(--colorBlau5);
}

footer a {
    color: var(--textColor);
}

#first {
    background-image: url(../img/Flächenmuster.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#contact_title {
    background-color: var(--colorBlau3);
    color: var(--colorWhite);
}

#contact_title h2 {
    padding-top: 6px;
    padding-bottom: 6px;
	margin-left: 23.375px;
}

.cell {
    padding: 25px;
}

.cell:last-child {
	padding-top: 25px;
    padding-left: 1px;
	padding-left: 26px;
}

@media screen and (max-width:866px) {
	.desktop {
		margin-top: -110px;
	}
}

@media screen and (max-width:864px) {
	.desktop {
		margin-top: -88px;
	}
}

@media screen and (max-width:856px) {
	.desktop {
		margin-top: -110px;
	}
}

@media screen and (max-width:820px) {
	.desktop {
		margin-top: -110px;
	}
}

@media screen and (max-width: 768px) {
	.desktop {
		margin-top: -118px;
	}
    .grid {
        display: block;
    }

	header #applicationDate {
		display: none;
	}

	.desktop {
		margin-top: 12px;
        width: 75%;
        margin: 0 auto;
		padding-top: 24px;;
	}

	.grid .mods div:first-child  {
		margin-left: .7%;
	}

	.grid .mods div {
		width: 100%;
		max-width: 160px;
		min-height: 81px;
		margin-left: 20.2%;
	}

	.grid .mods div svg {
		fill: #5e5e5d;
		width: 40px;
	}

	.grid .mods div p {
		color: #5e5e5d;
		font-size: 17px;
		line-height: 22px;
	}

	h1 {
		font-size: 24px;
		line-height: 30px;
		padding-bottom: 1.5%;
	}

	#left section, #right section {
		margin-left: 5%;
		margin-right: 5%;
		padding-left: 0;
		padding-right: 0;
		padding-top: 2%;
		padding-bottom: 1.45%;
	}

	#right section {
		padding-bottom: 5%;
	}

	#job_title {
		padding-top: 1%;
	}

	.dots {
		line-height: 15px;
	}

    footer {
        display: block;
        grid-template-columns: 1fr;
		padding-bottom: 24px;
    }

	#contact_title h2 {
		margin-left: 5%;
		padding-bottom: 14px;
	}

    .cell {
        padding-left: 5%;
		padding-top: 0;
		padding-bottom: 2%;
    }

	.cell:last-child {
		padding-top: 3px;
		padding-left: 5%;
	}

	#last {
		display: none;
	}

	.btnDesktop {
		display: block;
	}

	.btnMobile {
		display: block;
		background-color: #009ce1;
		color: #fff;
		height: 40px;
		line-height: 40px;
		padding-left: 16px;
		padding-right: 16px;
		width: fit-content;
		margin-top: 24px;
		margin-bottom: 8px;
	}

	#first {
		height: 42px;
	}

	#contact_title {
		padding-top: 25px;
		background-color: rgb(209, 221, 229);
		color: var(--textColor);
	}
}

@media screen and (max-width: 500px) {
	.desktop {
		width: 100%;
        margin: auto;
	}

	.grid .mods div {
		width: 100%;
		max-width: 160px;
		min-height: 81px;
		margin-left: 2.2%;
	}

	.grid .mods div:first-child {
		margin-left: 0.7%;
	}

	#left section, #right section {
		margin-left: 5%;
		margin-right: 5%;
		padding-left: 0;
		padding-right: 0;
		padding-top: 2%;
		padding-bottom: 4%;
	}
}