/**
* 0 - Body
*/
* {
	box-sizing: border-box;
}

body {
	background-color: #fff;
	font-family: 'Quicksand', sans-serif;
}

iframe {
	width: 100%;
}

p {
	margin: 20px 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	color: #163058;
	line-height: initial;
}

h1 {
	font-size: 1.6em;
	margin: 0 0 20px;
	text-align: center;
}

h2 {
	font-size: 1.4em;
	margin: 20px 0;
	text-align: center;
}

img {
	height: auto;
	max-width: 100%;
}

.inner-container {
	margin: 0 auto;
	max-width: 1320px;
	padding: 0 20px;
}

/**
* 1 - Header
*/
#header-top {
	background-color: #fff;
	padding: 0;
}

#header-main {
	background-color: #163058;
	color: #fff;
	padding: 20px 0 0;
	text-align: center;
}

/**
* 1.1 - Branding
*/
#branding {
	border-bottom: 6px solid #f9c500;
	color: #f9c500;
	font-size: 20px;
	margin: 0 auto;
	max-width: 400px;
	padding: 0.5em 1em;
	text-align: center;
}

#branding a {
	color: #f9c500;
	text-decoration: none;
}

#branding img {
	height: auto;
	width: 100%;
}

#main-nav ul li {
	padding: 0.8em 1em 0.8em;
}

/**
* 1.2 - Navigation
*/

.navlist li {
	display: block;
}

/**
* 1.2.1 - Top Navigation
*/
#header-top {
	background-color: #fff;
	text-align: right;
}

#header-top .navlist a {
	color: #555;
	text-decoration: none;
}

/*
* 1.2.2 - Main Navigation
*/

#show-menu {
	background-color: #f9c500;
	border: 2px solid #f9c500;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin: 20px 0;
	padding: 10px 15px;
}

#show-menu:hover {
	background-color: #163058;
}

#show-menu:focus {
	outline: none;
}

#main-nav {
	display: none;
	font-size: 1.2em;
	float: right;
	padding: 0 0 20px;
	width: 100%;
}

.visible {
	display: block !important;
}

#main-nav a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

#main-nav li {
	border-top: 1px solid #f9c500;
}

#main-nav li:last-of-type {
	border-bottom: 1px solid #f9c500;
}

#main-nav li:hover {
	background-color: #f9c500;
}

#main-nav li:hover a {
	color: #163058;
	font-weight: 700;
}

#main-nav ul {
	margin: 0;
	padding: 0;
}

/**
* 2 - Main
*/
main {
	padding: 0;
}

/**
* 2.1 - Teaser Image
*/
#teaser-image {
	background-image: url('../img/bodenleger-teaser.jpg');
	background-position: center;
	background-size: cover;
	height: 130px;
}

/**************/
/* 2.2 - Form */
/**************/

#teaser-form {
	background-color: #163058;
	color: #f9c500;
	margin: 0 auto;
	padding: 20px 0;
	max-width: 1000px;
}

#teaser-form h2 {
	border-bottom: 1px solid #f9c500;
	border-top: 1px solid #f9c500;
	color: #f9c500;
	padding: 5px 0;
}

/***********************/
/* 2.2.1 - Form Picker */
/***********************/

#form-picker {
	padding: 20px;
	text-align: center;
}

#form-picker button {
	background-color: #f9c500;
	border: 2px solid #163058;
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	padding: 10px 15px;
}

#form-picker button:hover {
	opacity: 0.9;
}

/************************/
/* 2.2.2 - Form Styling */
/************************/

#offerForm {
	padding: 10px;
}

#offerForm .btn {
	background-color: #f9c500;
	border: 1px solid #163058;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	padding: 10px 15px;
}

#offerForm #prevBtn {
	background-color: #bbb;
}

#offerForm .btn:hover {
	opacity: 0.9;
}

#offerForm fieldset {
	border: none;
	padding: 0;
}

#offerForm label {
	display: block;
	font-size: 24px;
	font-weight: bold;
	margin: 10px 0 0;
}

#offerForm select {
	box-sizing: border-box;
	display: block;
	margin: 10px 0 20px;
	padding: 10px 10px 4px;
	width: 100%;
	height: 40px;
	border: none;
	border-bottom: 1px solid lightgrey;
}

#offerForm .radio {
	margin: 0 auto;
	max-width: 500px;
}

#offerForm .radio label,
#offerForm .checkbox label {
	cursor: pointer;
	font-size: 20px;
	line-height: 24px;
	margin-left: 36px;
	text-indent: -34px;
}

#offerForm .radio input[type='radio'] {
	cursor: pointer;
	height: 24px;
	margin: -2px 5px 0 0;
	width: 24px;
	vertical-align: middle;
}

#offerForm input[type='text'],
#offerForm input[type='number'],
#offerForm input[type='email'],
#offerForm input[type='tel'],
#offerForm textarea {
	border: none;
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-style: italic;
	margin: 10px 0 20px;
	padding: 10px 10px 4px;
	width: 100%;
}

#offerForm textarea {
	min-height: 100px;
	margin: 0 auto;
	max-width: 500px;
}

#offerForm input[type='number']::-webkit-inner-spin-button,
#offerForm input[type='number']::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#offerForm input[type='number'] {
	-moz-appearance: textfield;
}

#offerForm:focus,
#offerForm input:focus,
#offerForm select:focus,
#offerForm textarea:focus {
	outline: none;
	border-color: #f9c500;
}

#offerForm select:hover,
#offerForm textarea:hover {
	border-color: #f9c500;
}

#offerForm .btn {
	font-size: 24px;
	padding: 10px 25px;
}

#offerForm .btn:focus {
	outline: 0;
	box-shadow: 0 0 1pt 1pt #f9c500;
}

/* Mark input boxes that gets an error on validation: */
#offerForm label.invalid {
	color: #f90034;
}

#offerForm input.invalid {
	border-color: #f90034;
}

#offerForm #submitBtn {
	display: none;
}

/**********************/
/* 2.2.3 - Form Steps */
/**********************/

#step-container {
	margin-top: 30px;
	text-align: center;
}

.form-tab {
	display: none;
}

.form-step {
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #f9c500;
	border: none;
	border-radius: 50%;
	display: inline-block;
	opacity: 0.5;
}

.form-step.active {
	opacity: 0.8;
}

.form-step.finish {
	background-color: #4caf50;
}

/****************************/
/* 2.2.4 - Loader Animation */
/****************************/

#loader {
	border: 16px solid #f3f3f3;
	/* Light grey */
	border-top: 16px solid #799dd8;
	/* Blue */
	border-radius: 50%;
	display: none;
	width: 80px;
	height: 80px;
	animation: spin 2s linear infinite;
	margin: 120px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*************************/
/* 2.2.5 - Form Response */
/*************************/

.form-response i {
	color: #f9c500;
	display: block;
	font-size: 120px;
	text-align: center;
}

.form-response .info {
	font-size: 24px;
	padding: 20px 40px;
	text-align: center;
}

#policy {
	color: #fff;
	display: none;
	line-height: 20px;
	margin: 20px auto -20px;
	text-align: center;
}

#policy a {
	color: #f9c500;
	text-decoration: none;
}

#policy a:hover {
	color: #f9c500;
	text-decoration: underline;
}

/**
* 2.3 - Text
*/
#text {
	background-color: #fff;
	font-size: 1.2em;
	line-height: 1.3em;
	overflow-x: hidden;
	padding: 20px 0 0;
}

#text img {
	margin: 20px auto;
}

#toTop {
	background: #f9c500;
	border: 3px solid #f9c500;
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 24px;
	margin: 20px auto;
	padding: 15px 20px;
	text-align: center;
	text-transform: uppercase;
}

#toTop:hover {
	background: #fff;
	color: #f9c500;
}

#toTop:focus {
	outline: none;
}

#text .fullimg {
	display: block !important;
	float: none !important;
	max-width: 100%;
	margin: 10px auto !important;
	text-align: center !important;
}

/**
* 2.4 - Table
*/

table {
	background-color: transparent;
	border-collapse: collapse;
	margin: 20px 0;
}

.responsive-table thead {
	clip: rect(0 0 0 0);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.responsive-table tr {
	background-color: #fff5dc;
	display: block;
	padding: 20px;
}

.responsive-table tr:nth-of-type(2n) {
	background-color: #d7d9e1;
}

.responsive-table td {
	display: block;
	padding: 5px 0;
}

.responsive-table tbody td::before {
	content: attr(data-label);
	display: block;
	font-weight: 700;
}

.responsive-table tbody tr td:first-of-type {
	border-bottom: 2px solid #f9c500;
	display: block;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.responsive-table tbody tr:nth-of-type(2n) td:first-of-type {
	border-bottom: 2px solid #163058;
	display: block;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.responsive-table tbody td:first-of-type::before {
	content: none;
}

/**
* 2.5 - Tiles
*/

#tiles {
	background-color: #fff;
	padding: 20px;
}

.tile {
	background-color: #e7eaee;
	margin: 10px auto;
	max-width: 400px;
	position: relative;
}

.tile:hover {
	-webkit-box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.5);
}

.tile a {
	color: #163058;
	font-size: 1.2em;
	font-weight: 700;
	text-decoration: none;
}

.tile-image img {
	width: 100%;
}

.tile:hover .tile-image img {
	-webkit-filter: grayscale(50%);
	filter: grayscale(50%);
}

.tile-text {
	color: #163058;
	text-decoration: none;
	padding: 20px 20px;
}

.tile-text p {
	font-size: 1em;
	line-height: 1.3em;
}

/**
* 3 - Footer
*/

/**
* 3.1 - Main Footer
*/

#main-footer {
	background-color: #163058;
	color: #fff;
	padding: 20px 0;
}

#main-footer a {
	color: #f9c500;
	padding-bottom: 2px;
	text-decoration: none;
}

#main-footer a:hover {
	border-bottom: 1px dotted #f9c500;
}

#main-footer h4 {
	border-bottom: 1px solid #f9c500;
	color: #f9c500;
	font-size: 1.2em;
	font-weight: normal;
	padding: 0 0 5px;
}

#main-footer ul {
	padding: 0;
	list-style-type: none;
}

#main-footer ul li {
	background-color: #f9c500;
	border: 2px solid #f9c500;
	color: #fff;
	display: inline-block;
	padding: 8px 16px;
	margin: 0 5px 10px 0;
}

#main-footer ul li:hover {
	background-color: #163058;
}

#main-footer ul li a {
	color: #fff;
	text-decoration: none;
}

/**
* 3.2 - Bottom Footer
*/

#bottom-footer {
	background-color: #fff;
	color: #555;
	padding: 0;
	position: relative;
}

#bottom-footer .inner-container {
	padding: 0;
}

#bottom-footer a {
	color: #163058;
	text-decoration: none;
}

#bottom-footer a:hover {
	border-bottom: 1px dotted #163058;
	padding-bottom: 2px;
}

#bottom-footer p {
	margin: 0;
}

#bottom-footer ul {
	display: block;
	list-style-type: none;
	margin-bottom: 60px;
	padding: 0;
	text-align: center;
	width: 100%;
}

#bottom-footer ul li {
	border-top: 1px solid #163058;
	padding: 10px 0;
}

#bottom-footer ul li:last-of-type {
	border-bottom: 1px solid #163058;
}

#bottom-footer ul li:hover {
	background-color: #e7eaee;
}

#bottom-footer ul li a {
	color: #163058;
	font-size: 1.2em;
	text-decoration: none;
}

#bottom-footer .copyright {
	bottom: 10px;
	padding: 0 20px;
	position: absolute;
}

#bottom-footer .copyright p {
	text-align: center;
}

/**
* 3.3 - Rating
*/

.rating {
	text-align: center;
}

.ratingTitle {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 5px;
}

.ratingNumbers {
	color: #f9c500;
	font-size: 2.2em;
}

.ratingCustomers {
	margin-top: 10px;
}

/**
* 3.2 - Footer Brand
*/
.footerBrand img {
	display: none;
	margin: 20px auto 0;
	max-width: 300px;
	width: 100%;
}

/**
* 4 - Responsive
*/

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.5em;
	}

	.responsive-table td {
		-webkit-column-gap: 3vw;
		-moz-column-gap: 3vw;
		column-gap: 3vw;
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: 1fr 2fr;
		grid-template-columns: 1fr 2fr;
		padding: 5px 0;
	}

	.responsive-table tbody td::before {
		content: attr(data-label);
		float: left;
		font-weight: 700;
		padding-right: 1.78em;
	}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	h2 {
		font-size: 1.6em;
	}

	#header-main {
		padding: 20px 0;
	}

	.navlist li {
		display: inline-block;
	}

	#teaser-image {
		height: 350px;
	}

	#teaser-form {
		margin: -175px auto 40px;
	}

	#text {
		padding: 20px;
	}

	#text img {
		display: block;
		margin: 10px auto;
		max-width: 60%;
	}

	#text .fullimg {
		max-width: 90%;
	}

	.row {
		text-align: center;
	}

	[class*='col-'] {
		text-align: left;
	}

	#tiles .col-3 {
		display: inline-flex;
		padding: 0 10px;
		width: 50%;
	}

	#main-footer {
		padding: 20px;
	}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	h2 {
		font-size: 1.7em;
		margin-top: 30px;
	}

	#header-main {
		padding: 20px;
	}

	#branding {
		border: none;
		float: left;
		max-width: 250px;
		padding: 0.5em 0 0.3em;
	}

	#show-menu {
		display: none;
	}

	#main-nav {
		display: unset;
		font-size: 1.2em;
		float: right;
		padding: 0;
		width: auto;
	}

	#main-nav ul li {
		border: none;
		padding: 0.8em 0.4em 0.8em;
	}

	#main-nav ul li:last-of-type {
		border: none;
		margin-right: -1em;
	}

	#main-nav ul li:hover {
		border-radius: 10px;
	}

	#offerForm .radio label,
	#offerForm .checkbox label {
		font-size: 24px;
		line-height: 32px;
	}

	#text {
		padding: 0 0 20px;
	}

	#text .inner-container {
		max-width: 920px;
	}

	#text img {
		float: right;
		margin: 0 0 20px 20px;
		max-width: 35%;
	}

	#text img:nth-of-type(2n) {
		float: left;
		margin: 0 20px 20px 0;
	}

	#text .fullimg {
		max-width: 80%;
	}

	#main-footer .col-4 {
		padding: 0 10px;
		position: relative;
	}

	#main-footer ul {
		color: #fff;
		text-align: left;
	}

	#main-footer ul li {
		background-color: unset;
		border: none;
		color: #fff;
		display: block;
		line-height: 1.6em;
		padding: unset;
		margin: 0;
	}

	#main-footer ul li:before {
		color: #f9c500;
		content: '+';
		padding-right: 5px;
		padding-bottom: 2px;
	}

	#main-footer ul li a {
		border-bottom: 1px dotted #fff;
		padding-bottom: 2px;
	}

	#main-footer ul li a:hover {
		border-bottom: 1px dotted #f9c500;
		color: #f9c500;
	}

	.rating {
		margin-bottom: 80px;
	}

	.footerBrand img {
		bottom: 20px;
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	#bottom-footer {
		padding: 10px 20px;
	}

	#main-footer .col-6 {
		padding: 0 10px;
	}

	#bottom-footer ul {
		margin: 0;
		text-align: right;
	}

	#bottom-footer ul li {
		border: none;
		display: inline-block;
		margin-right: 15px;
		padding: 0 0 5px;
	}

	#bottom-footer ul li:last-of-type {
		border: none;
		margin-right: 0;
	}

	#bottom-footer ul li:hover {
		background-color: unset;
	}

	#bottom-footer ul li a {
		cursor: pointer;
		font-size: 1em;
	}

	#bottom-footer .copyright {
		padding: 10px 20px;
		position: relative;
	}

	#bottom-footer .copyright p {
		text-align: left;
	}

	table {
		font-size: 16px;
		margin: 20px 0 40px;
	}

	.responsive-table thead {
		clip: auto;
		-webkit-clip-path: none;
		clip-path: none;
		height: auto;
		overflow: hidden;
		position: relative;
		width: auto;
	}

	.responsive-table thead tr {
		background-color: transparent;
		border-bottom: 3px solid #163058;
	}

	.responsive-table tr {
		background-color: #d7d9e1;
		display: table-row;
	}

	.responsive-table tr:nth-of-type(2n) {
		background-color: transparent;
	}

	.responsive-table th,
	.responsive-table td {
		display: table-cell;
		padding: 10px;
	}

	.responsive-table td:first-of-type {
		font-weight: 700;
		padding-right: 30px;
	}

	.responsive-table tbody td:before {
		content: none;
	}

	.responsive-table tbody tr td:first-of-type,
	.responsive-table tbody tr:nth-of-type(2n) td:first-of-type {
		border: none;
		font-size: initial;
	}
}

/* Extra large devices (large laptops and desktops, 1320px and up) */
@media only screen and (min-width: 1320px) {
	h2 {
		font-size: 1.8em;
	}

	.inner-container {
		padding: 0;
	}

	#branding {
		max-width: 300px;
		padding: 0.4em 0 0.3em;
	}

	#main-nav ul li {
		padding: 0.8em 1em 0.8em;
	}

	#text img {
		max-width: 30%;
	}

	table {
		font-size: 16px;
		margin: 20px -190px 40px;
	}

	.preise {
		margin: 20px auto 40px;
	}

	#bottom-footer .copyright {
		padding: 10px;
	}
}
