/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #666;
    font-size: 62.5%;
}

::-moz-selection {
    background-color: #666;
    color: white;
    text-shadow: none;
}

::selection {
    background: #666;
    color: white;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1.0rem 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	background-color: white;
	font-family: "Raleway", sans-serif;
	font-size: 1.8rem;
	font-weight: 200;
}

h1,
h2,
h3 {
	font-weight: 200;
}

address {
	font-style: normal;
	margin-bottom: 0;
}
address + p {
	margin-top: 0;
}

p,
address {
	line-height: 2.3rem;
}

a {
	color: inherit;
}

header {
	background-color: white;
}

header .bar a,
main .link a  {
	color: #cc042d;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	text-decoration: none;
}

header .bar a span,
main .link a span {
	vertical-align: top;
	margin-right: 0.5rem;
}

main h2,
main a {
	color: #cc042d;
}

main h2 {
	font-size: 3.6rem;
	margin-top: 2.5rem;
}

main p:nth-child(2) {
	font-size: 2.4rem;
	line-height: 3.2rem;
}

main .link {
	display: none;
}

.eyecatcher h3,
.teaser h3 {
	margin-top: 4.0rem;
	padding-bottom: 2.0rem;
	border-bottom: 1px solid rgba(255,255,255,0.75);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 2.4rem;
	letter-spacing: 0.35rem;
	color: white;
	text-transform: uppercase;
}

.eyecatcher a,
.teaser address,
.teaser p {
	font-family: Tinos, serif;
	font-size: 1.4rem;
	font-weight: 400;
	font-style: italic;
	color: white;
	text-decoration: none;
}

.eyecatcher p {
	line-height: 1.8rem;
}

footer {
	font-size: 1.2rem;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
}

footer a {
	text-decoration: none;
}


/*------------------------------------*\
    Layout
\*------------------------------------*/

html,
body {
	height: 100%;
}

.container {
	background-image: url('../img/background.png');
	background-size: 1200px;
	background-position-y: 45px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

.container,
footer {
	position: relative;
	max-width: 1200px;
	min-height: 100%;
/* 	min-height: calc(100% + 4.5rem); */
	margin: 0 auto;
}

.container::after {
	content: "";
	display: block;
	position: absolute;
	width: 80%;
	height: 0.6rem;
	left: 10%;
	bottom: 4.2rem;
	background-color: #cc042d;
}

footer {
	position: absolute;
	bottom: 0;
	min-height: 4.5rem;
	line-height: 4.5rem;
	width: 100%;
	background-color: white;
}

.wrapper {
	width: 80%;
	margin: 0 auto;
	box-sizing: border-box;
}

header {
	position: relative;
}

header .bar {
	position: relative;
	height: 4.5rem;
	background-color: white;
	line-height: 4.5rem;
}

header .bar .logo-wrapper {
	position: absolute;
	right: -12.5%;
	top: 0;
	height: 11.0rem;
	width: 300px;
	z-index: 50;
}

header .bar .logo-wrapper:before {
	content: "";
	display: block;
	position: absolute;
	top: 4.5rem;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12.35rem 17.25rem 0 17.25rem;
	border-color: #ffffff transparent transparent transparent;
}

header .bar .logo-wrapper .logo {
	width: 42.5%;
	position: absolute;
	top: 12.5%;
	right: 37.5%;
	z-index: 70;
}

.eyecatcher {
	position: absolute;
	bottom: -75px;
	left: 10px;
	z-index: 100;
	width: 280px;
	height: 250px;
	-webkit-transform: rotate(-8deg);
	   -moz-transform: rotate(-8deg);
	   		transform: rotate(-8deg);
	text-align: center;
	background-image: url('../img/hexagon.png');
	background-repeat: no-repeat;
	background-size: contain;

}

.eyecatcher div {
	width: 70%;
	position: absolute;
	left: 15%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
	   		transform: translateY(-50%);
}

main.wrapper {
	margin-top: 9.0rem;
}

main p {
	float: left;
	width: 50%;
	margin: 0;
	box-sizing: border-box;
}

main p:nth-child(2) {
	padding-right: 2.0rem;
}
main p:nth-child(3) {
	padding-left: 2.0rem;
}

.teasers {
	width: 100%;
	height: 24.5rem;
	margin: 8.5rem 0 0;
}

.clear {
	height: 17.0rem;
}

.teaser {
	position: relative;
	float: left;
	width: 25%;
	height: 100%;
	color: white;
	background-color: #888;
	box-sizing: border-box;
	background-size: cover;
	background-position: center;
}

.teaser:nth-child(2) {
	background-color: #cc042d;
}

.teaser.double {
	width: 50%;
}

.teaser-content {
	width: 70%;
	margin: 0 auto;
	text-align: center;
}

.teaser img {
	margin-top: 1.0rem;
	width: 100%;
	max-width: 21.0rem;
}

.teaser.double > img {
	position: absolute;
	height: 95%;
	bottom: 0;
}

.teaser.double > .teaser-content {
	float: right;
	width: 35%;
	margin-right: 15%;
}


/*------------------------------------*\
    Flexslider
\*------------------------------------*/

.flexslider,
.flexslider .slides,
.flexslider .slides li,
.flexslider .overlay {
	height: 0;
	padding-bottom: 41%;
	width: 100%;
}

.flexslider {
	border: none;
}

.flexslider .slides li {
	background-size: cover;
	background-position: center;
}

.flexslider .slides li.mann {
	background-image: url('../img/mann.jpg');
	background-position: 0% 25%;
}

.flexslider .slides li.frau {
	background-image: url('../img/frau.jpg');
	background-position: 80% 80%;
}

.flexslider .slides li.kind {
	background-image: url('../img/kind.jpg');
	background-position: center 25%;
}

.flexslider .overlay {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../img/background.png');
	background-size: 1200px;
	z-index: 5;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 925px) and (min-width: 701px) {

	.teaser,
	.teaser.double {
		width: 33.333333%;
	}

	.teaser.double img {
		display: none;
	}

	.teaser.double > .teaser-content {
		float: none;
		width: 70%;
		margin: 0 auto;
	}

}

@media screen and (max-width: 770px) {

	.eyecatcher {
		bottom: -90px;
		width: 155px;
		height: 138px;
	}

	.eyecatcher h3 {
		font-size: 1.4rem;
		letter-spacing: 0.2rem;
		line-height: 2.0rem;
		margin-top: 3.0rem;
		border-bottom: none;
	}

	.eyecatcher br,
	.eyecatcher p {
		display: none;
	}

}

@media screen and (max-width: 700px) {

	.flexslider,
	.flexslider .slides,
	.flexslider .slides li,
	.flexslider .overlay {
		height: 287px;
		padding-bottom: 0;
	}

	.flexslider .slides li.mann {
		background-position: 35% 0%;
	}

	.flexslider .slides li.frau {
		background-position: 85% 0%;
	}

	.flexslider .slides li.kind {
		background-position: 80% 0%;
	}

	.teasers {
		height: 49.0rem;
	}

	.teaser {
		width: 50%;
		height: 24.5rem;
	}

	.teaser.double {
		width: 100%;
		border-top: 1px solid rgba(255,255,255,0.4);
	}

}

@media screen and (max-width: 655px) {

	.flexslider .overlay,
	.container {
		background-size: 800px;
	}

	header .bar .logo-wrapper .logo {
		width: 30.0%;
		right: 23%;
	}

	header .bar .logo-wrapper:before {
		border-width: 8.25rem 11.5rem 0 11.5rem;
	}

	main p {
		display: block;
		width: 100%;
	}

	main p:nth-child(3) {
		margin-top: 2.0rem;
	}

	main p:nth-child(n) {
		padding: 0;
	}

}

@media screen and (max-width: 550px) {

	header .bar a {
		display: none;
	}

	main .link {
		display: block;
		margin-top: 2.0rem;
	}

}

@media screen and (max-width: 480px) {

	.teasers {
		height: 73.5rem;
	}

	.teaser {
		width: 100%;
		height: 24.5rem;
	}

	.teaser.double {
		border-top: none;
	}

}

@media screen and (max-width: 430px) {

	.teasers {
		height: 85.0rem;
	}

	.teaser.double {
		height: 36.0rem;
	}

	.teaser.double > .teaser-content {
		float: none;
		width: 70%;
		margin: 0 auto;
	}

	.teaser.double > img {
		height: 50%;
	}

}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.imprint.wrapper.datenschutz p{
      float: none;
      width: 100%;
      margin-bottom: 25px;
      font-size: 1em;
}
