a:link { text-decoration: none; }
a:visited { color: #2078C8; }
a:hover { color: #195E9C; }
a:active { text-decoration: none; }


h1{
	color: black;
	font-family: BankGothic Lt BT;
	font-size: 36px;
	text-align: center;
	border-bottom: 1px solid #2078C8;
	line-height: 0.1em;
}

h1 span {
	background:#fff;
	padding:0 10px; 
}

h2{
	width: 100%;
	font-family: BankGothic Lt BT;
	font-size: 36px;
	text-align: center;
	border-bottom: 1px solid #2078C8;
	line-height: 0.1em;
	margin: 10px 0 20px; 
}

h2 span {
	background:#fff;
	padding:0 10px; 
}

p{
	font-family:arial;
	margin: 25px;
	text-align: justify;
	line-height: 2;
	margin-top: 50px;
}

p1{
	color: #2078C8;
	font-family: BankGothic Lt BT;
	font-size: 36px;
	margin-top: -50px;
	margin-left: 75%;
	float: left;
	position: relative;
}

p1:hover {
	 color: #195E9C;
	 cursor: pointer;
}

p2{
	color: #2078C8;
	font-family: BankGothic Lt BT;
	font-size: 36px;
	margin-top: -50px;
	margin-left: 87.5%;
	float: left;
	position: relative;
}

p2:hover {
	 color: #195E9C;
	 cursor: pointer;
}

p3{
	color:#FFFFFF;
	font-family: BankGothic Lt BT;
	font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (1600 - 320)));
	text-align: center;
	margin-top:-5px;
}

p4{
	font-family: arial;
	text-align: center;
	color: #FFFFFF;
}

img {
	max-width: 100%;
	max-height: 100%;
}

header {
	z-index: 1;
	float: left;
	position: fixed;
	margin:0px;
	margin-top: -10px;
	width: 100%;
	background: #F5F5F5;
	text-align: center;
}

#webpage{
	position: relative;
	width:100%;
	min-height: 100vh;
	height:auto;
	padding: 0px;
	object-fit: fill;
	padding-bottom: 2.5rem;;
}

#leisteoben {
		margin-top: 0px;
		background-color: #FFFFFF;
		width: 100%;
		height: 144px;
}

.fotomiete{
	float: left;
	width: calc(100% / 3);
	z-index: 0;
	position:relative;
	border-radius: 15px;
	display: inline-block;
}

.fotomiete .fotomietehover{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.fotomiete:hover .fotomietehover{
	display: inline;
}

#textmitte{
	float:left;
	width: calc(100% / 3);
	position: relative;
	margin-top: 50px;
}

.fotokaufen{
	float:left;
	width: calc(100% / 3);
	z-index: 0;
	position:relative;
	display: inline-block;
}

.fotokaufen .fotokaufenhover{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.fotokaufen:hover .fotokaufenhover{
	display: inline;
}

#Zwischen{
	float: left;
	width:100%;
	height:50px;
	margin-bottom: 25px;
	margin-top: 75px;

}

#Block1{
	
	float:left;
	position:relative;
	width: calc(100% / 3);
	aspect-ratio: 1 / 1;
	
}

#Block2{
	
	float:left;
	position:relative;
	width: calc(100% / 3);
	aspect-ratio: 1 / 1;
}

#Block3{
	
	float:left;
	position:relative;
	width: calc(100% / 3);
	aspect-ratio: 1 / 1;

}

.Foto7{
	position: relative;
	float:left;
	width:95%;
	height:95%;
	margin: 5px;
}

.Foto7_Foto{
	display: block;
	width: 100%;
}

.Foto7_Overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	font-family: Arial;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content:  center;
	opacity: 0;
	transition: opacity 0.25s;
	border-radius: 15px;
}

.Foto7_Overlay > * {
	transform: translateY(20px);
	transition: transform 0.25s;
}

.Foto7_Overlay:hover{
	opacity: 1;
}

.Foto7_Overlay:hover > * {
	transform: translateY(0);
}

.Foto7_Titel{
	font-size: 2em;
	font-weight: bold;
}

.Foto7_Text{
	font-size: 1.25em;
	margin-top:0.25em;
	text-align: center;
}

#footer{
	width:100%;
	margin-top: 50px;
	text-align: center;
	font-size: 13;
	float: left;
	background-color:#2078C8;
}

.slider {
    overflow-x: hidden;
    width: 426px;
	
}
 
.sliderElements,
.sliderElements figure,
.sliderControls {
    margin: 0;
}
 
.sliderElements:after {
    content: ".";
    display: block;
    height: 0.1px;
    clear: both;
    visibility: hidden;
    font-size: 0;
    overflow: hidden;
}
 
.cssSlider {
    overflow-x: hidden;
    background : #ffffff;		
		
		
		
}
 
.sliderElements {
    list-style: none;
    position: relative;
    left: 0;
    width: 1000%;
    margin-bottom: 0.8em;
	margin-left: -35px; 
    -webkit-transition: left .8s ease-in-out;
    -moz-transition: left .8s ease-in-out;
    -o-transition: left .8s ease-in-out;
    transition: left .8s ease-in-out;
}
 
.sliderElements > li {
    float: left;
    width: 10%;
    position: relative;
	
}
 
#slide02:checked ~ .sliderElements {
    left: -100%;
}
 
#slide03:checked ~ .sliderElements {
    left: -200%;
}
 
#slide04:checked ~ .sliderElements {
    left: -300%;
}
 
#slide05:checked ~ .sliderElements {
    left: -400%;
}

#slide06:checked ~ .sliderElements {
    left: -500%;
}

#slide07:checked ~ .sliderElements {
    left: -600%;
}
#slide08:checked ~ .sliderElements {
    left: -700%;
}

#slide09:checked ~ .sliderElements {
    left: -800%;
}

#slide10:checked ~ .sliderElements {
    left: -900%;
}

.sliderElements figcaption {
	text-align:center;
    display: block;
    color: #000000;
    position: bottom;
    padding: 10px;
}
 
.cssSlider input {
    position: absolute;
    left: -99999px;
	margin: auto;
	
}
 
.sliderControls {
    text-align: center;
	margin-left: -38px;
}
 
.sliderControls li {
    display: inline-block;
		
}
 
.sliderControls label {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 10%;
    display: block;
    cursor: pointer;
    background: #aaa;
    color: #aaa;
}
 
.sliderControls label:hover,
#slide01:checked ~ .sliderControls label[for="slide01"],
#slide02:checked ~ .sliderControls label[for="slide02"],
#slide03:checked ~ .sliderControls label[for="slide03"],
#slide04:checked ~ .sliderControls label[for="slide04"],
#slide05:checked ~ .sliderControls label[for="slide05"],
#slide06:checked ~ .sliderControls label[for="slide06"],
#slide07:checked ~ .sliderControls label[for="slide07"],
#slide08:checked ~ .sliderControls label[for="slide08"],
#slide09:checked ~ .sliderControls label[for="slide09"],
#slide10:checked ~ .sliderControls label[for="slide10"]
 {
    background: #609FFF;
    color: #609FFF;
}



@media screen and (max-width: 1480px){
	p {
		line-height: 1.5;
	}
	#textmitte{
		margin-top: 25px;
	}
	
	h1 {
		font-size: 30px;
	}
}

@media screen and (max-width: 1330px){
	p {
		line-height: 1.25;
	}
	
	#textmitte{
		margin-top: 25px;
	}
}

@media screen and (max-width: 1330px){
	#textmitte{
		margin-top: 0;
	}
	
	h1{
		font-size: 26px;
	}
}

@media screen and (max-width: 1150px){
	
	p{
		line-height: 2;
		margin-top:50px;
	}
	
	#textmitte{
		margin-top: 50px;
		margin-bottom: 50px;
	}
	
	.fotomiete{
		width: 50%;
	}
	
	#textmitte{
		width:50%;
	}
	
	.fotokaufen{
		width:50%;
	}
	
	#Block1{
		width:50%;
	}
	
	#Block2{
		width: 50%;
	}
	
	#Block3{
		width: 100%;
		aspect-ratio: 5 / 1;
	}
	
	#footer{
		margin-top: 50px;
	}
	
}

@media screen and (max-width: 1000px){
	
	p{
		line-height: 3;
	}
	
	#textmitte{
	
		margin-top: 150px;
		
	}
	
	.fotokaufen{
		
		margin-top: -250px;
	}
	
}

@media screen and (max-width: 950px) {
	
	.fotokaufen {
		margin-top: -400px;
	}
}

@media screen and (max-width: 800px){
	
	p{
		line-height: 2;
		margin-top:50px;
	}
	
	#leisteoben{
		height: 100px;
	}
	
	#textmitte{
		margin-top: 50px;
	}
	
	.fotomiete{
		width: 100%;
		margin-top: 25px;
	}
	
	#textmitte{
		width:100%;
	}
	
	.fotokaufen{
		width:100%;
		margin-top: 0px;
	}
	
	#Block1{
		width:100%;
	}
	
	#Block2{
		width: 100%;
	}
	
}




@media screen and (max-width: 400px){
	
	#leisteoben{
		height: 50px;
	}
	
	h1 {
		font-size: 22px;
	}
}