html {
    overflow-y:scroll;
}

body {
	background: #ffffff;
	font-family: Arial, Calibri, sans-serif;
	width: 99%;
	counter-reset : h2;
	color: #2b4a84;

}

@keyframes open {
	from {
		right: -40vw;
	}
	to {
		right: 0;
	}
}


.main {
    max-width: 1024px;
	margin: 0px auto;
    background: #cccccc;
    background-image: url("neue-klammer2.png");
    background-size: 350px;
    min-height: 710px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
	position: relative;
}
.bdwunschtext {
	color: white;
	padding:  16px 10px 5px 10px;
	float: left;
	background: #2b4a84;
	min-height: 80px;
	margin-left: 10px;
	box-shadow: 7px 3px 10px 13px rgba(255,255,255,1);
	width: 330px;
}

.logo-outer {
	box-shadow: 7px 3px 10px 13px rgba(255,255,255,1);
	margin-top: 78px;
	margin-left: 60px;
	display: block;
	overflow: hidden;
	width: 458px;
}

.klammern {
	background: #2b4a84;
	float: left;
	clear: left;
	width: 75px;
	padding: 20px 10px;
	text-align: center;
	box-shadow: 7px 3px 10px 13px rgba(255,255,255,1);
	
}

.klammern img {
	width: 100%;
	vertical-align: middle;
}


.bottomcontent a {
	color: white;
	text-decoration: underline;
	font-weight: bold;
}

ul.nav li.current {
	box-shadow: none;
}

.content {
	margin: 16px 60px 16px 60px;
	padding-bottom: 110px;
}

h2:before {
	content : counter(h2,decimal) ". ";
	counter-increment : h2;
}

@media (min-width: 680px) {
	body {
		margin-top: 8vh;
	}
	
	nav {
		border-bottom: solid white 4px;
		height: 54px;
		position: relative;
	}	

	ul.nav a {
		color: white;
		text-decoration: none;
	}

	.bottom {
		height: 90px;
		background-image: linear-gradient(to right,rgba(220,220,220,1), rgba(43,74,132,1));
		width: 100%;
		border-bottom: solid white 4px;
		border-top: solid white 4px;
		position: absolute;
		left: 0;
		bottom: 0;
		text-align: right;
		color: white;
	}

	.bottomcontent {
		padding: 4px 24px;
	}


	ul.nav {
		color: white;
		display: inline;
		margin: 0px;
		list-style: none;
		position: absolute;
		bottom: 0;
		left: 0;
		padding-inline-start: 0px;
		width: 100%;
	}

	ul.nav li {
		font-style: normal;
		font-size: 16px;
		background-color: #2b4a84;
		float: left;
		margin-right: 8px;
		padding: 10px 0 10px 0px;
		max-width: 160px;
		min-width: 120px;
		width: 18%;
		position: relative;
		box-shadow: inset 0 -9px 12px rgba(255,255,255,0.8);
		text-align:center;
	}

	span.stretch {
		letter-spacing: 0.1em;
		display: inline-block;
		font-size: 24pt;
		transform-origin: 0 0;
		margin-bottom: -43px;
		line-height: 1.06em;
	}
	
	.bottomcontent span.stretch {
		font-size: 15pt;
	}

	ul.bullit {
		margin-left: 150px;
		margin-top: 86px;
		font-size: 32pt;
	}
	
	#burgerbutton {
		display: none;
	}
	
	.burgerimage {
		display: none;
	}
}

/* mobile */
@media (max-width: 679px) {

    #burgerbutton {
      display: none;
    }
	
    nav {
		display: block;
		background-color: #fff;
		height: 32px;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 100;
		font-size: 16pt;
		text-align: right;
    }

    nav ul {
		display: none;
		position: fixed;
		top: 30px;
		margin: 0;
		padding: 0;
		width: 100%;
		color: black;
		list-style: none;
    }

    nav ul li {
		display: block;
		width: 34vw;
		min-width: 160px;
		float: right;
		clear: right;
    }

	nav ul a {
		text-decoration: none;
		color: white;
	}

    nav ul a li {
		background-color: #cccccc;
		display: block;
		padding: 8px;
		transition: background 0.5s ease;
		border: solid #a0a0a0 1px;
		box-shadow: 3px 3px 5px 6px #ffffff;

    }

    nav ul a:hover li {
		background-color: #E0E0E0;
		color: #2b4a84;
    }


    #burgerbutton:checked ~ ul {
      display: block;
      animation-name: open;
      animation-duration: 0.5s;
    }


    #burgerbutton:checked ~ .burgerimage {
      transform: rotate(360deg);
    }

	.main {
		padding-top: 36px;
		padding-left: 8px;
		min-height: 500px;
	}
	
	.logo-outer {
		box-shadow: 7px 3px 10px 13px rgba(255,255,255,1);
		margin: 0px;
		top: 20px;
		left: 8px;
		display: block;
		overflow: hidden;
		width: 93vw;
	}

	.bdwunschtext {
		width: 69vw;
		height: 19vw;
		padding: 0;
		min-height: 0px;
		margin-left: 3vw;
	}
	
	.bdwunschtext span.stretch {
		padding: 2vw 2vw;
	}		
	
	.klammern {
		width: 19vw;
		height: 19vw;
		padding: 0;
	}
	
	.klammern img {
		width: 80%;
		padding: 3vw 2vw;
	}

	span.stretch {
		letter-spacing: 0.1em;
		display: inline-block;
		font-size: 5vw;
		transform-origin: 0 0;
		margin-bottom: -43px;
		line-height: 1.06em;
	}

	.bottomcontent {
		padding: 2px 10px;
	}
	
	.bottomcontent span.stretch {
		font-size: 3.4vw;
		letter-spacing: 0;
		line-height: 4vw;
		padding-top: 1vw;
		
	}

	.content {
		margin: 16px;
	}

	
	ul.bullit {
		word-break: normal;
		margin-left: 8vw;
		margin-top: 86px;
		font-size: 6vw;
		color: #2b4a84;
	}
	
	.bottom {
		height: 13vw;
		background-image: linear-gradient(to right,rgba(220,220,220,1), rgba(43,74,132,1));
		width: 100%;
		border-bottom: solid white 4px;
		border-top: solid white 4px;
		position: absolute;
		left: 0;
		bottom: 0;
		text-align: right;
		color: white;
	}
	
	br.conditional {
		display: none;
	}

}

div.references a {
	margin: 8px;
	margin-left: 20px;
	display: block;
	text-decoration: none;
	color: #2b4a84;

}

div.references a:before {
	content:'\25BA   ';
}

@media (max-width: 489px) {
    nav ul li {
		display: block;
		width: 160px;
    }
}	

@media (max-width: 384px) {
	ul.bullit {
		word-break: normal;
		margin-left: 2vw;
		margin-top: 86px;
		font-size: 8vw;
		color: #2b4a84;
	}
}