/*-----------------CSS RESET--------------
----------------------------------------*/
* {
  	margin: 0px;
  	padding: 0px;
  	font-size: 100%;
  	font-weight:normal;
}

ul{
  	list-style:none;
}
 
b,strong{
	font-weight:bold;
}

img, img a, a{
	border:none;
}
/*-----------------ALLGEMEINES--------------
----------------------------------------*/
@font-face{
	font-family:"DIN Schablonierschrift";
    font-display: swap;
	src:url("Fonts/DIN_Schablonierschrift.woff2") format('woff2'),
	url("Fonts/DIN_Schablonierschrift.woff") format('woff'),
	url("Fonts/DIN_Schablonierschrift.ttf") format('truetype');
}
@font-face{
	font-family:"open-sans";
    font-display: swap;
	src:url("Fonts/open-sans-v18-latin-regular.woff2") format('woff2'),
	url("Fonts/open-sans-v18-latin-regular.woff") format('woff'),
	url("Fonts/open-sans-v18-latin-regular.ttf") format('truetype');
}

p{
	padding-bottom: 1em;
}
h1,h2,h3,h4,h5{
	text-decoration: none;
	font-weight: bold;
	padding-bottom:1em;
}
h1{
	font-size:2em;
	padding-bottom:1.5em;
	text-transform: uppercase;
}
h2{
	font-size:1.1em;	
}
h3{
	font-size:1.1em;
}
h4{
	padding:1em 0;	
}
a,
a:link, .mehr  {
 	text-decoration: none;
	font-weight: bold;
	color: #ffffff;
}
a:hover,
a:focus,
a:active,
.aktiv, .aktiv a{
	color: #ce0067;
	text-shadow:.5px .5px .2px #3D1B01;
}
.small{
	font-size: .6em;
}
body { 
	font-family: open-sans, sans serif;
	font-size: 90%;
	font-style: normal;
	font-weight: normal;
	line-height: 1.4em;
	color: #D3D3D3;
	background-color: #000;
	
	text-align:center;
}
main{
	width: 100%;
	max-width: 1500px;
	margin:0 auto;
	background: url(Bilder/case-hg.png);
	position: relative;
}
nav{
	}
header, footer ul{
	width:94%;
	margin:1% auto;
	padding:1em 3%;
	display: flex;
	align-items:center;
	justify-content: space-between;
}
header{
	position:sticky;
	top: -.5em;
	background-color:rgba(0,0,0,.6);
}
header div{
	flex:1;
}
header nav{
	flex:3;
}
footer ul{
	justify-content: space-around;
	width:60%;
	font-size:.9em;
}
#banner{
	text-align: center;
	text-transform: uppercase;
	font-family: 'DIN Schablonierschrift';
	font-size: 4em;
	margin:3em auto;
	color: #ffffff;
}
.logo img:hover{
	opacity: .7;
}
.logo img{
	width: 40%;
	max-width: 100px;
	margin: auto;
}
nav ul{
	display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	font-size:1.2em;
}
nav ul li {
	margin:1em;
}
.weg, #mehr{
    display: none;
}
#untermenu{
	position: absolute;
	top:-9999px;
	opacity:  0;
	line-height: 1;
	transition: opacity 1s ease-in-out;
	background-color:rgba(0,0,0,.6);
}
#untermenu li{
	display:block;
	font-size: 70%;
	margin-bottom: 1.5em;
}
nav>ul li {
	position: relative;
}.mehr:before{
		left:20%;
	}
	.mehr:checked ~ #untermenu{
		display:none;
	}
	#mehr:checked ~ .mehr:before{
		left:3.5em;
		margin-top: -.4em;
		border-left: .4em solid #5B2511;
		border-top: .4em solid transparent;
		border-right: .4em solid transparent;
		border-bottom: .4em solid transparent;
	}
	.mehr:before{
		left:3.5em;
		margin-top: -.2em;
		border-left: .4em solid transparent;
		border-top: .4em solid #AD3306;
		border-bottom: .4em solid transparent;
		border-right: .4em solid transparent;
	}
    .mehr:target ~ #untermenu, .weg:checked ~ #untermenu{
		flex-direction:column;
		text-align: left;
		left:0;
		top:2em;
		width: auto;
		display: block;
		opacity:1;
	}
.sprungmarke{
	visibility: hidden;
	height: 0px !important;
	position: absolute;
	margin: -20%;
}
#icons{
	display: flex;
	flex-wrap:wrap;
    justify-content: center;
}
#icons li{
	width: 10%;
	margin: 2em;
}
#box, .offcanvas{
		display: none;
}
#inhalt {
  width: 100%;
  padding:3em 0;
  scroll-snap-type: y proximity;
}
article{
	width: 80%;
	margin:0 auto;
}
.seiten{
  scroll-snap-align: start;
	padding:2em 0 20em 0;
	background: url(Bilder/scheune-hg.png);
	background-size: contain;
	overflow-y: hidden;
}
.leistungen .seiten{
	padding:2em 0 20em 0;
	background: url(Bilder/case-hg.png);
}
.seiten:last-child{
	padding-bottom:2em;
}
#icons img{
	width: 100%;
	max-width: 200px;
	cursor: pointer;
}
#icons img:hover{
	opacity: .6;
}
.seiten:before{
	margin:inherit;
	height:inherit;
}
.flex{
	display: flex;
	justify-content:space-between;
}
.mail{
	display: block;
	font-weight: normal;
}
.mail img{
	width:20%;
	max-width: 30px;
	vertical-align: middle;
	margin:.3em;
}

.mail img:hover{
	opacity: .6;
}
#franz, #justin{
	text-align: left;
}
.leistungen .text,.leistungen article figure {
	width: 47%;
	text-align: left;
}
.leistungen article figure img{
	width: 100%;
}
.leistungen .seiten h1{
	font-family: 'DIN Schablonierschrift';
	font-size: 2.3em;
}

#eintrag  {
	text-align: left;
	margin-bottom:3em;
	border-bottom: 1px solid;
}
#bild img {
	width: auto;
	border:1px solid;
	padding: 3px;
	max-height: 100px;
}
#galerie{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3em;
}
#galerie a>figure img {
	flex: 1;
	margin:0 1em 0 0;
	height:13vw;
	max-height: 200px;
	border: 1px solid ;
	padding:3px;
}
#infos {
	display: flex;
	flex-wrap: wrap;
	font-size: 1.2em;
	padding:1em 0;
}
#infos #offen, #infos #anfahrt {
	margin-right: 3em;
}
address{
	font-style: normal;
}
form{
	max-width: 500px;
	margin:3em auto;
	text-align: left;
}
form #radiobutton{
		display:flex;
		justify-content: flex-start;
	}
	form #radiobutton span:first-child{
		flex:1;
	}
	form #radiobutton span:last-child{
		flex:3;
	}
	form input[type="radio"] {
    margin: 0px 0.3em 0px 1em;
}
label{
	font-weight:bold;
	text-align: left;
	cursor: pointer;
	display:block;
}
form input[type='checkbox'],form input[type='radio']{
	display: inline;
	width: auto;
}
input{
	width: 100%;
	padding:2px;
	display:block;
	margin-bottom:3%;
}
textarea{
	width: 100%;
	height:100px;
	display: block;
	padding:2px;
	margin-bottom:6%;
}
button{
	padding:3px;
	width: auto;
	cursor: pointer;
	font-weight: bold;
}
.error{
	box-shadow: #F00 0px 0px 1.5px 1px;
}
.success{
	box-shadow: none;
	color: green;
}
#thumb{
	border:2px solid;
	display: none;
}
#links li:first-child #thumb{
	display: block;
	float: left;
	margin-right: 5%;
	height: inherit;
}
#thumb:hover{
	opacity: 0.7;
	cursor: pointer;
}

.lightbox:target{
	visibility: visible;
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.65);  
	transition: opacity .5s, visibility .5s, background .3s;
}
.lightbox:target > #bildanzeige{
	visibility: visible;
	opacity: 1;
	transition: opacity .6s;
}
.lightbox{
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 2; 
	cursor: default;
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.55);   
	transition: opacity .5s, visibility .5s, background .3s;
}
.lightbox #bildanzeige{
	border: 4px solid #060;
	position: relative;
	padding:5%;
	 border-radius:20px;
    border:3px double #fff;
	display: inline-block;    
	box-shadow: 0 0 50px rgba(0,0,0,10); 
    max-width: 87vw;
    overflow: hidden;
	background: url(Bilder/case-hg.png);
}
#bildanzeige figcaption{
	font-size: 150%;
	margin:1em 0 0 0 ;
	text-align: center;
}
#bildanzeige img{
	margin: auto ;
	height:inherit;
	width:100%;
}
#bildanzeige img.hochkant{
	width:inherit;
	height:80vh ;
}
.box{
	display: block;
	cursor: pointer;
	height: 100%;
	width:  100%;
	position: absolute;
}
.schliessen:hover, a.next:hover, a.back:hover, span.back, span.next {
	opacity: 0.5;
}
.schliessen {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #fff;
	line-height:0.8;
	padding:3px 5px;
}
.schliessen:after {
	content: "x";
	font-size: 30px;
	color: #333;
	font-family:"DIN Schablonierschrift";
}
.next{
	position: absolute;
	bottom: 50%;
	right: 2%;
	cursor: pointer;
}
.back {
	position: absolute;
	left: 2%;
	bottom:50%;
	cursor: pointer;
}
span.back, span.next{
	cursor: auto;
}
.next:after {
	content: ">";
	font-size: 40px;
	color: #fff;
	font-family:"DIN Schablonierschrift";
	font-weight: bold;
}
.back:after {
	content: "<";
	font-size: 40px;
	color: #fff;
	font-family:"DIN Schablonierschrift";
	font-weight: bold;
}
/*RESPONSIVE*/

@media only screen and (max-width:930px){
	nav>ul {
		font-size: 1em;
	}
}
@media only screen and (max-width:800px){
  body{
	font-size: .9em;
  }
  header{
    padding: 2% 0;
	width: 100%;
  }
  .logo img{
	width: 50%;
  }
	nav ul li{
		margin:1em;
	}
	h1{
		font-size:1.2em;
	}

@media only screen and (max-width:700px){
	nav>ul{
	font-size: 1.1em;
  }
  #banner{
	font-size: 3em;
  }
}
@media only screen and (max-width:500px){
	
	.offcanvas{
		display: block;
		background:url(Bilder/menu.png) no-repeat center ;
		background-size: contain;
		z-index: 2;
		padding:1em;
	}
	
	.offcanvas a{
		display: block;
		color:#000;
		padding:3px;
	}
	
	.offcanvas:hover{
		opacity: .7;
	}
	
	#menu:target ~ #box{
		position: absolute;
		width: 100vw;
		height: 150vh;
		display: block;
		background:rgba(0,0,0,.7);
		top:-50vh;
		cursor: pointer;
		z-index: 1;
		left: 0;
	}
	#menu:target{
		display: none;
	}
	#navi{
		position: absolute;
		left: -100%;
		top:0;
		opacity: 0;
		transition: 0.4s all ease-in-out ;
		width: 0;
	}
nav>ul{
	  height: 90vh;
	  display: flex;
	  justify-content: space-around;
	  font-size: 1.6em;
	  text-align: left;
}
	#menu:target ~ .offcanvas:after{
		content:"ausblenden"; 
	}
	#menu:target ~ #navi{
		flex-direction:column;
		left: 0%;
		top:2em;
		z-index: 1;
		padding:0 5%;
		opacity: 1;
		transition: 0.7s all ease-in-out;
		width: 50%;
		height:60vh;
		text-align:left;
	}
	#galerie a>img {
    min-height: 90px;
    height: 24vw;
		margin: 0px 1vw 0.5em 0px;
	}
	#banner{
		font-size: 2em;
	}#icons li{
	width: 15%;
	margin: 1em;
	}
	#icons figcaption{
		font-size:.8em;
	}
	.mail img, header .mail img{
		width:20%;
    margin: .5em;
	}
	.email{
		display: none;
	}
	address{
		font-size:.8em;
	}
}
@media only screen and (max-width:400px){
	#galerie a>img {
    height: 50vw;
		margin: 0px 0 0.5em 0px;
	}
}
@media only screen and (max-width:350px){	
	nav #menu li{
		font-size: .63em;
	}
	.mail img{
	display:none;
}
	header ul, footer ul{
    font-size: 14px;
	}
	header ul li, footer ul li{
		margin: 0 0 5% 3%;
	}
	#logo img {
    min-width: 100px;
	}#banner {
    font-size: 1.5em;
	}
}
@media only screen and (max-width:280px){
	header ul, footer ul{
    font-size: 12px;
		flex-wrap: wrap;
	}
	#banner{
		font-size: 1em;
	}
}