/*  include font definitions  */
@font-face {
    font-family: OpenSansRegular;
    src: url('type/opensans-regular-webfont.eot');
    src: url('type/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('type/opensans-regular-webfont.woff') format('woff'),
         url('type/opensans-regular-webfont.ttf') format('truetype'),
         url('type/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: OpenSansBold;
    src: url('type/opensans-semibold-webfont.eot');
    src: url('type/opensans-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('type/opensans-semibold-webfont.woff') format('woff'),
         url('type/opensans-semibold-webfont.ttf') format('truetype'),
         url('type/opensans-semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Swiss721Black;
    src: url('type/swiss721bt-black.eot');
    src: url('type/swiss721bt-black.eot?#iefix') format('embedded-opentype'),
         url('type/swiss721bt-black.woff2') format('woff2'),
         url('type/swiss721bt-black.woff') format('woff'),
         url('type/swiss721bt-black.ttf') format('truetype'),
         url('type/swiss721bt-black.svg#Swiss721BT-Black') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*  attributes for all  */
body, h1, h2, h3, h4, h5, h6, p, div, img, a, address, b, i, u, sup, div, span, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
}


/*  tags  */
html
{
	font-size: 16px;
    scroll-behavior: smooth;
}
body
{
	font-family: OpenSansRegular, Verdana, Arial, sans-serif;
	background: #FFFFFF;
	color: #444444;
	text-align: center;
}

a
{
	font-weight: normal;
	color: #F49E00;
	text-decoration: underline;
	transition: color 0.25s ease, border 0.25s ease, background-color 0.25s ease;
}
a:hover
{
	color: #000000;
	text-decoration: none;
}

input, textarea
{
	font-family: inherit;
	font-size: 0.9em;
	padding: 4px;
	border: 1px solid #CCCCCC;
	border-radius: 0px;
	box-shadow: none;
	outline: none;
	transition: color 0.2s ease, background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus
{
	border: 1px solid #006FB4;
	box-shadow: 0 0 3px rgba(244, 158, 0, 0.5);
}

img
{
	max-width: 100%;
}

p
{
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.5em;
	max-width: 52rem;
}
p:not(:last-child)
{
    margin-bottom: 1em;
}

ol, ul
{
	padding-left: 3rem;
	margin: 0 auto 2rem auto;
	font-size: 1.25rem;
	line-height: 1.5em;
	max-width: 52rem;
}
ul
{
	list-style-type: square;
}

address
{
	font-style: normal;
}

h1, h2, h3, h4, h5, h6
{
	font-family: Swiss721Black, Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	word-wrap: break-word;
	color: #006FB4;
	max-width: 52rem;
	margin: 0 auto;
}

h1, h2
{
	font-size: 2.5rem;
	padding-bottom: 1.5rem;
}

h3
{
	font-size: 1.75rem;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

h4
{
	font-size: 1.5rem;
	padding-bottom: 0.25em;
	padding-top: 0.75em;
}

h5
{
	font-size: 1.25rem;
	padding-bottom: 0.25em;
	padding-top: 0.75em;
}

h6
{
	font-size: 1rem;
	padding-bottom: 0.25em;
	padding-top: 0.75em;
}

header
{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 2;
	background: #FFFFFF;
	transition: box-shadow 0.5s ease, background 0.5s ease, border 0.5s ease;
}

nav
{
	position: relative;
	display: block;
	float: right;
	height: 100%;
}

main
{
	position: relative;
	display: block;
	overflow: hidden;
	/*padding-top: 3.5rem;*/
}

section
{
	position: relative;
	display: block;
	overflow: hidden;
}

footer
{
	background: #006FB4;
	color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.5rem;
}
footer p, ul
{
    font-size: inherit;
}
footer i.fa
{
	color: #F49E00;
	margin-right: 0.25rem;
}
footer :is(h1, h2, h3, h4)
{
    color: inherit;
    font-size: 1.375rem;
}
footer a
{
	color: #FFFFFF;
	text-decoration: none;
}
footer a:hover
{
    color: #F49E00;
    text-decoration: none;
    text-shadow: 0 0 .25rem rgba(0, 0, 0, .5);
}
footer .center
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}



/*  ids  */
#contact-bar
{
	position: relative;
	display: block;
	display: none;
	overflow: hidden;
	width: 100%;
	height: 3.5rem;
	background: #006FB4;
	color: #FFFFFF;
	transition: margin 0.5s ease, opacity 0.5s ease;
	z-index: 1;
}
#contact-bar .center
{
	text-align: right;
}
#contact-bar i
{
	color: #F49E00;
	margin-right: 0.25rem;
}
#contact-bar a
{
	color: #FFFFFF;
	text-decoration: none;
}
#contact-bar span
{
	display: inline-block;
	padding: 1rem;
}
#contact-bar span:not(:last-child)
{
	margin-right: 0rem;
}

#hint
{
	opacity: 0;
	transition: opacity 0.25s ease;
}
#hint.visible
{
	opacity: 1;
}

#logo
{
	position: absolute;
	display: block;
	overflow: hidden;
	padding: 1rem;
	background: #FFFFFF;
	/*background: rgba(255, 255, 255, 0.5);*/
	width: 345px;
	margin-left: 2rem;
	/*margin-top: 3.5rem;*/
	z-index: 3;
	top: 0;
}
#logo img
{
	width: 100%;
	float: left;
}

#footer-address address
{
	margin-bottom: 1rem;
}

#footer-contact ul
{
    display: flex;
    flex-flow: column nowrap;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-menu
{
	list-style-type: none;
	font-size: inherit;
    margin: 3rem auto 0 auto;
	padding: 0;
}
#footer-menu li
{
	display: inline-block;
}
#footer-menu li:not(:last-child):after
{
	content: ' \00B7';
	padding: 0 0.25rem;
}

#social-media
{
    display: flex;
    flex-flow: row wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}
#social-media li
{
    margin: 0;
    padding: 0;
}
#social-media li a
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: .5rem;
}
#social-media li a i
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    aspect-ratio: 1;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    margin: 0;
    font-size: 1.5rem;
    color: inherit;
}

#imprint
{
	padding-top: 8rem !important;
}

#imprint p,
#imprint ul,
#imprint ol
{
	font-size: 1.0rem;
	margin-bottom: 1.5rem;
}
#imprint ul,
#imprint ol
{
	padding-left: 2rem;
}


/*  classes  */
.center
{
	position: relative;
	display: block;
	overflow: visible;
	max-width: 1300px;
	margin: 0 auto;
	text-align: center;
}
.margin
{
	padding: 8rem;
}
.margin-small-width
{
	padding: 8rem 1rem;
}
.margin-small-height
{
	padding: 3rem 8rem;
}
.margin-nobottom
{
	padding-bottom: 0rem;
}
.margin-bottom
{
	padding-bottom: 5rem;
}

.lightgrey
{
	position: relative;
	display: block;
	overflow: hidden;
	background-color: #edebe8;
}

.small
{
	font-size: 1.05rem;
}

.text-align-left
{
	text-align: left;
}

.phone
{
	font-size: 1.5rem;
	font-family: OpenSansBold;
	color: #444444;
}
.phone a
{
	text-decoration: none;
	color: inherit;
}

.columns
{
	position: relative;
	display: block;
	overflow: hidden;
}

.col2, .col3, .col4
{
	position: relative;
	display: block;
	float: left;
	box-sizing: border-box;
	padding-left: 1rem;
	padding-right: 1rem;
}
.col2 { width: 50%; }
.col3 { width: 33.33334%; }
.col4 { width: 25%; }

.close
{
	position: absolute;
	display: none;
	right: 3rem;
	top: 3rem;
	width: 50px;
	height: 50px;
	background: #F49E00;
	border: 2px solid #F49E00;
	border-radius: 2px;
	transition: background 0.25s ease, color 0.25s ease;
}
.close:before,
.close:after
{
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: #FFFFFF;
	transform-origin: center center;
	transition: background 0.25s ease, color 0.25s ease;
}
.close:before { transform: rotate(45deg); }
.close:after { transform: rotate(-45deg); }
.close:hover { background: #FFFFFF; }
.close:hover:before, .close:hover:after { background: #F49E00; }

.button,
.mailform .mailformsubmit
{
	display: inline-block;
	background: #F49E00;
	color: #FFFFFF;
	border: 1px solid #F49E00;
	padding: .75rem 1.5rem;
	font-family: OpenSansBold, Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1em;
	font-size: 1.125rem;
	border-radius: 2px;
	cursor: pointer;
}
.mailform .mailformsubmit
{
	margin-top: 1rem;
}
.button:hover,
.mailformsubmit:hover
{
	background: #FFFFFF;
	color: #F49E00;
}


.mailform
{
	display: block;
	overflow: hidden;
	text-align: left;
	max-width: 52rem;
	margin: 0 auto;
	padding: 2rem 0 1rem 0;
}
.mailformerrors,
.mailformnotsent,
.mailformsent
{
	position: relative;
	display: block;
	max-width: 52rem;
	margin: 0.5rem auto 2rem auto !important;
	padding: 1rem 2rem !important;
	box-sizing: border-box;
}
.mailformsent
{
	border: 1px solid #006FB4 !important;
	background: #006FB4 !important;
	color: #FFFFFF !important;
}
.mailform > p
{
	display: block;
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
}
.mailform > p:nth-child(3n+1),
.mailform > p:nth-child(3n+2)
{
	float: left;
	width: 48%;
}
.mailform > p:nth-child(3n+1)
{
	margin-right: 4%;
}
.mailform > p:nth-child(3n)
{
	padding-top: 2rem;
	text-align: center;
}
.mailform textarea
{
	height: 20rem;
}
.mailform .mailformmandatory
{
	font-size: 1rem;
	color: #006FB4 !important;
}