/* Fonts */

@font-face{font-family:BentonSans;font-weight:300;font-display:swap;src:url("fonts/benton-sans-300.woff")format("woff")}
@font-face{font-family:BentonSans;font-weight:400;font-display:swap;src:url("fonts/benton-sans-400.woff")format("woff")}
@font-face{font-family:BentonSans;font-weight:500;font-display:swap;src:url("fonts/benton-sans-500.woff")format("woff")}
@font-face{font-family:Guardian;font-style:normal;font-weight:400;font-display:swap;src:url("fonts/guardian-400.woff")format("woff"),url("fonts/guardian-400.woff2")format("woff2")}


/* Layout */

* {
	margin: 0;
	padding: 0;
}

html, body, #wrapper {
	height: 100%;
}

html {
	scroll-behavior: smooth;
}

body {
	background: #fff;
	margin: 0;
    font-family: BentonSans, Arial, serif;
	font-weight: 400;
	font-size: 20px;
	color: #00175a;
}

#wrapper {
	margin: 0 auto;
	width: 2048px;
}

#header {
	width: 100%;
	height: 82px;
}

#logo {
	width: 350px;
	height: 100px;
	float: left;
}

.logo {
	width: 300px;
	border: 0;
	margin: 32px 0 0 70px;
}

#metaheader {
	min-width: 300px;
	float: right;
	text-align: right;
	margin: 28px 128px 0 0;
	font-family: Guardian, "Times New Roman", serif;
	font-style: normal;
	font-weight: bold;

/* was das ist? keine ahnung! */
/*	font-size: em(24px);*/
	color: #006fcf;
	white-space: nowrap;
}

#background {
	width: 100%;
	height: 90%;
    height: -moz-calc(100% - 82px);
    height: -webkit-calc(100% - 82px);
    height: calc(100% - 82px);
	background-color: #f2f2f2;
}

#background.fullpage {
	height: auto;
}

.bg_start {
	background: url(../images/bg_start.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_bestellen {
	background: url(../images/bg_bestellen.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_einkaufen {
	background: url(../images/bg_einkaufen.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_belohnen {
	background: url(../images/bg_belohnen.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_vorteile_1 {
	background: url(../images/bg_vorteile_1.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_vorteile_2 {
	background: url(../images/bg_vorteile_2.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
	position: relative;
}

.bg_vorteile_3 {
	background: url(../images/bg_vorteile_3.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_vorteile_4 {
	background: url(../images/bg_vorteile_4.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_programm {
	background: url(../images/bg_programm.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

.bg_vorteilsrechner {
	background: url(../images/bg_vorteilsrechner.jpg) no-repeat center center #f2f2f2;
	background-size: cover;
}

#start {
	width: calc(55% - 130px);
	margin: 50px 0 50px 0;
	padding: 20px 80px 60px 50px;
	float: right;
	text-align: left;
	background: none;
}

#content {
	width: calc(100% - 140px);
	margin: 0 auto;
	padding: 25px 0;
	text-align: left;
}

.contentheader, .contentbox {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.contentbox {
	background: #fff;
	margin-bottom: 100px;
}

.contenttext {
	width: 700px;	
	border-top: 80px solid #f2f2f2;
	float: left;
}

.contentpic {
	width: 500px;
	height: 500px;
	float: left;
}

.contentpic.high {
	height: 750px;
}

.contentpic.low {
	height: 360px;
}

.contentpic-footer {
	position: absolute;
	bottom: 20px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
}

.contenttext div, .contentpic div {
	padding: 25px 40px;
	white-space: normal;
}

#start.opaque {
	background: rgba(255, 255, 255, .5);
}

#start.sidenav {
	width: calc(60% - 150px);
	margin: 50px 0 50px 0;
	padding: 25px 150px 50px 50px;
}

.textbox {
	max-width: 850px;
}

#sidenav {
	width: 140px;
	height: 282px;
	position: fixed;
	right: 0;
	top: calc(50% - 106px);
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#footer {
	width: 100%;
	padding: 50px 0 100px 0;
	background: #00175a;
	color: #fff;
	text-align: center;
}

#footer.bottom {
	padding: 100px 0 0 0;
}

#footerbox {
	margin: 0 auto;
	width: 800px;
	text-align: center;
}

#footerbox.large {
	width: 1200px;
}

#footerbox .clear {
	height: 20px;
}

.footerblock {
	vertical-align: middle;
	width: 820px;
	padding: 40px 0;
}

.footertext {
	width: 500px;
	float: left;
	text-align: left;	
	vertical-align: middle;
	line-height: 150%;
}

.footertext.margin_left {
	margin-left: 150px;
}

.footerpic {
	width: 120px;
	float: left;
	vertical-align: middle;
	margin-right: 30px;
}

.footerpic.small {
	width: 100px;
	margin-left: 20px;
}

.move_up {
	margin-top: -30px;
}

.move_down {
	margin-top: 30px;
}

.float_right {
	float: right;
}

.footerpic.float_left {
	margin-right: 50px;
	margin-left: -20px;
}

.footerpic.float_right {
	margin-left: -30px;
}

.footerdiv {
	width: 26%;
	float: left;
}

.footerdiv img {
	width: 90%;
	margin-bottom: 30px;
}

.footerdiv h4 {
	text-transform: uppercase;
}

.footerplus {
	width: 11%;
	float: left;
	text-align: center;
	font-size: 90px;
	font-weight: 500;
	margin-top: 32px;
}


/* Burger Menu */

label.hamburg { 
	display: block;
	width: 42px; height: 32px; 
	position: absolute;
	top: 23px;
	right: 70px;
	margin-left: auto; margin-right: auto;
	border-radius: 4px; 
}

input#hamburg {display:none}

.line { 
	position: absolute; 
	right: 10px;
	height: 5px; width: 28px; 
	background: #555; border-radius: 2px;
	display: block; 
	transition: 0.5s; 
	transform-origin: center;
}

.line:nth-child(1) { top: 8px; }
.line:nth-child(2) { top: 16px; }
.line:nth-child(3) { top: 24px; }

#hamburg:checked + .hamburg .line:nth-child(1), .modal-close .line:nth-child(1) {
	transform: translateY(8px) rotate(-45deg);
}

#hamburg:checked + .hamburg .line:nth-child(2), .modal-close .line:nth-child(2) {
	opacity:0;
}

#hamburg:checked + .hamburg .line:nth-child(3), .modal-close .line:nth-child(3) {
	transform: translateY(-8px) rotate(45deg);
}

nav.topmenu { 
	height: auto; 
	max-height: 0; 
	overflow: hidden; 
	transition: all 0.5s;
	width: 390px;
	position: absolute;
	top: 82px;
	right: 70px;
	background: #fff;
	z-index: 2;
}

.topmenu ul {
	list-style: none;
}

.topmenu ul li a {
	display: block;
	padding: 18px 25px 18px 25px;
	max-height: 7%;
	background: #fff;
	border-top: 1px solid #c7c8cb;
	color: #006fcf;
	text-decoration: none;
	font-family: BentonSans, Arial, serif;
	font-weight: bold;
	font-size: 18px;
	white-space: nowrap;
}

.topmenu ul li a:hover {
	background: #006fcf;
	color: #fff;
}

#metafooter {
	padding: 32px 25px 32px 25px;
	background: #f0f0f0;
	font-size: 14px;
}

#metafooter p, #metafooter p a, #metafooter p a:hover {
	color: #00175a;
}

#metafooter p a, #metafooter p a:hover {
	font-size: 16px;
	text-decoration: none;
}

#metafooter .meta {
	font-size: 16px;
	text-decoration: none;
}

#metafooter .meta a {
	margin-right: 15px;
}

#metafooter .meta a:last-child {
	margin-right: 0;
}

#metafooter .metapic {
	width: 100%;
	border: 0;
	margin: 28px 0 15px -1px;
}

#hamburg:checked + .hamburg  + nav.topmenu { 
	max-height: 780px;
}


/* Content */

h1 {
	font-family: Guardian, "Times New Roman", serif;
	font-size: 48px;
	color: #00175a;
	font-weight: 400;
	margin: 28px 0 28px 0;
	line-height: 125%;
}

#footer h1 {
	font-family: Guardian, "Times New Roman", serif;
	color: #fff;
	font-weight: 400;
}

#footerbox.large h1 {
	margin-bottom: 75px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-weight: 400;
	font-size: 30px;
	color: #006fcf;
	margin: 15px 0 15px 0;
}

#content h3 {
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 50px;
}

h2, p, #start ul, #content ul {
	margin: 20px 0;
}

#start ul li, #content ul li {
	margin: 10px 0 10px 20px;
}

h2, h3, p, #start ul li, #content ul li {
	line-height: 150%;
}

a {
	color: #00175a;
}

a:hover {
	color: #006fcf;
}

.buttons {padding: 12px 0 10px 0;}
.buttons button, .buttons a.btn {display: inline-block; margin-right: 20px;}
.buttons button:last-child, .buttons a.btn:last-child {margin-right: 0;}

button,a.btn {padding: 12px 35px;border-radius:28px;background:#006fcf;color:#fff;font-family:BentonSans, Arial, serif;font-weight:500;border:1px solid #006FCF;font-size: 20px;cursor:pointer;transition:all 0.5s;text-decoration: none;}
button:hover,a.btn:hover {background:#00175A;}
button.inverse, a.btn.inverse {background:#fff;border:1px solid #006fcf;color:#006fcf}
button.inverse:hover, a.btn.inverse:hover {background:#66A9E2;color:#fff;}
button.inverse.active, button.inverse.active:hover, a.btn.inverse.active, a.btn.inverse.active:hover {background:#006fcf;color:#fff;}

#sidenav .buttons {padding: 0;}
#sidenav button, #sidenav a.btn {width: 110px;margin-top: 8px;margin-bottom: 8px;padding: 14px 25px;border-radius: 28px;font-size: 16px;}

a.circle {
	display: block;
	width: 185px;
	height: 185px;
	border: 2px solid #fff;
	background: #006fcf;
	border-radius: 50%;
	transform:  rotate(-10deg);
	color: #fff;
	text-decoration: none;
	font-family: BentonSans, Arial, serif;
	font-weight: bold;
	font-size: 18px;
	margin: 100px 0 0 40px;
	z-index: 1;
	transition:.3s;
	&:hover{
		background: #00175A;
	}
}

a.circle span {
	display: inline-block;
	text-align: center;
	margin: 45px 10px 20px 10px;
}

.logo_start {
	width: 320px;
	position: absolute;
	bottom: 50px;
	right: 80px;
}

.card {
	width: 120px;
	border: 0;
}

.card.big {
	width: 150px;
}

.floatpic {
	float: left;
	margin-right: 20px;
}

.picbox .pic, .picbox .text {
	display: table-cell;
	vertical-align: middle;
}

.floatpic.one-row {
	margin-top: -18px;
}

.margin_top {
	margin-top: 30px;	
}

.margin_top_xl {
	margin-top: 50px;	
}

.siegel_servicegebuehr {
	width: 50%;
	float: right;
	margin: 0 20px 0 0;
	border: 0;
}

.experience_app {
	float: right;
	margin-top: 20px;
	border: 0;
}

/* Overlay */

.modal {
  background:rgba(0,0,0,0.7);
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  bottom:0;
  transition:all .5s ease-in-out;
  opacity:0;
  z-index:-1;
}

.modal:target {
  opacity:1;
  transition:all .5s ease-in-out;
  z-index:+1;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 80%;
  background-image: linear-gradient(180deg, #ffffff, #006fcf);
  border-radius:4px;
  transform:translate(-50%, -200%);
  transition:all .5s ease-in-out;
  perspective: 1000;
  outline:1px solid transparent;
  opacity:0;
  text-align: center;
  padding: 75px 0 75px 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

.modal-content.bg2 {
  background-image: linear-gradient(180deg, #ffffff, #888888);
}

.modal-content h1 {
	line-height: 125%;
}

.modal:target .modal-content {
  transform:translate(-50%, -50%);
  transition:all .5s ease-in-out;
  transition-delay:.5s;
  z-index:9999;
  opacity:1;
}

.modal-close {
  position: absolute; 
  right: 10px;
  top: 10px;
  text-decoration:none;
  padding: 10px 10px 0 0;
  color:#424242;
  font-weight:800;
  transition:all .5s ease-in-out;
  z-index:+1;
  background: rgba(0,0,0,0);
  text-align: center;
  border-radius: 0 0 0 0;
  margin: 20px 25px -20px 0;
  height: 60px;
}

.modal-close:hover {
  color:#fff;
  background:rgba(0,0,0,0);
}

.modal-area {
  margin: 0 auto;
  width: 500px;
  text-align: center;
}

.modal-area input[type="radio"] {
  display:none;
}

.modal-area label {
  float:left;
  display:block;
  padding:10px 20px;
  font-weight:700;
  cursor:pointer;
  z-index:+2;
  background:rgba(0,0,0,.3);
  color:#fff;
  transition:all .5s ease-in-out;
}

.modal-area input[type="radio"]:checked + label {
  background:#fff;
  color:#424242;
}

.arrowbox {
	margin: -30px auto;
	width: 500px;
	height: 320px;
	background: #f0f0f0;
	color: #00175a;
	clip-path: polygon(0% 0%, 50% 15%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
	white-space: nowrap;
	text-align: center;
}

.arrowbox.top {
	clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
	height: 300px;
	margin: 10px auto 0 auto;
}

.arrowbox.bottom {
	clip-path: polygon(0% 0%, 50% 14%, 100% 0%, 100% 85%, 0% 85%);
	height: 350px;
}

.arrowbox.bottom.xl {
	clip-path: polygon(0% 0%, 50% 11%, 100% 0%, 100% 85%, 0% 85%);
	height: 450px;
}

.arrowbox.dark {
	background: #00175a;
	color: #fff;
}

.arrowbox .arrowcontent {
	padding: 50px 20px 20px 20px;
}

.arrowbox.top .arrowcontent {
	padding-top: 30px;
}

.arrowbox.bottom .arrowcontent {
	padding-top: 80px;
}

.arrowbox img {
	border: 0;
	height: 70px;
	margin: 30px 0 20px 0;
}

.arrowbox.top img, .arrowbox.bottom img {
	margin-top: 20px;
}

.arrowbox .arrowcontent b {
	color: #006fcf;
}


/* Tabs */

.tab-wrapper {
  align-items: center;
}
.tab {
  cursor: pointer;
  padding: 32px 10px;
  min-width: 20%;
  margin:0;
  background:#fff;
  display:inline-block;
  font-weight: 500;
  color:#006fcf;
}
.panels {
  min-height:950px;
  width:100%;
  background: #fff;
}
.panel {
  display: none;
  animation: fadein .8s;
  color: #00175a;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
.radio {
  display:none;
}
#one:checked ~ .panels #one-panel,
#two:checked ~ .panels #two-panel,
#three:checked ~ .panels #three-panel,
#four:checked ~ .panels #four-panel {
  display:block
}
#one:checked ~ .tabs #one-tab,
#two:checked ~ .tabs #two-tab,
#three:checked ~ .tabs #three-tab, 
#four:checked ~ .tabs #four-tab {
  background:#006fcf;
  color:#fff;
}
#one:checked ~ .panels {
	background: url(../images/bg_belohnen_1.jpg) no-repeat center center #fff;
	background-size: cover;
}
#two:checked ~ .panels {
	background: url(../images/bg_belohnen_2.jpg) no-repeat center center #fff;
	background-size: cover;
}
#three:checked ~ .panels {
	background: url(../images/bg_belohnen_3.jpg) no-repeat center center #fff;
	background-size: cover;
}
#four:checked ~ .panels {
	background: url(../images/bg_belohnen_4.jpg) no-repeat center center #fff;
	background-size: cover;
}
.panel-content {
	width: 50%;
	max-width: 600px;
	padding: 100px 50px;
	margin-right: 200px;
	text-align: left;
	float: right;
	background: none;
}
.panel-footer {
	background: #f2f2f2;
	padding: 30px 70px;
	font-size: 14px;
	color: #00175a;
	margin: 0;
}


/* Responsive Styles */

@media only screen and (max-width: 2048px) {

	#wrapper {
		width: 100%;
	}

	.topmenu ul li a {
		font-size: 17px;
	}

	#metafooter {
		padding: 22px 25px 22px 25px;
	}

	#metafooter .metapic {
		margin: 18px 0 5px -1px;
	}

}


/* Mobile Devices */

/* Portrait and Landscape */

@media only screen 
  and (max-device-width: 767px) {

	html, body, #wrapper, #background {
		height: auto;
		width: 100%;
	}

	body {
		font-size: 20px;
	}

	#logo {
		width: 80%;
		height: 100px;
	}

	.logo {
		width: 80%;
		max-width: 300px;
		margin-left: 8%;
	}

	label.hamburg { 
		top: 22px;
		right: 5%;
	}

	nav.topmenu { 
		overflow: hidden; 
		width: 90%;
		right: 5%;
	}

	.topmenu ul li a {
		padding: 10px 25px 10px 25px;
		font-size: 16px;
	}

	#metafooter {
		padding: 12px 25px 12px 25px;
	}

	#metafooter .metapic {
		margin: 8px 0 -2px -1px;
	}

	#metaheader, #sidenav, .footerpic {
		display: none;
	}

	#metafooter {
		background: #ccc;
	}

	#background {
		background-image: none;
	}

	#old {
		width: calc(100% - 60px);
		margin: 0 auto;
		padding: 20px 30px 50px 30px;
		float: none;
		text-align: left;
	}

	#start, #start.sidenav, #start.no-sidenav, #content {
		width: calc(100% - 60px);
		margin: 0 auto;
		padding: 20px 30px 50px 30px;
		float: none;
		text-align: left;
	}

	#wrapper, #start {
		width: 100%;
	}

	.textbox {
		width: 100%;
	}

	#footerbox, #footerbox.large, .footerblock {
		width: 90%;
		margin: 0 auto;
		padding: 20px 0;
	}

	#start.opaque {
		background: none;
	}

	h1 {
		font-size: 28px;
	}

	h2 {
		line-height: 125%;
		font-size: 20px;
	}

	h3 {
		font-size: 24px;
	}

	.buttons a.btn {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	a.circle {
		margin: 0 auto;
	}

	.logo_start {
		width: 320px;
		position: relative;
		top: 20px;
		left: 0;
	}

	#start ul li, #content ul li, .footertext, .modal-content, .panel-content p {
		font-size: 18px;
	}

	.footerblock {
		padding: 10px 0;
	}

	.footertext {
		width: 100%;
		float: none;
	}

	.footertext.margin_left {
		margin-left: 0;
	}

	.footerdiv h4 {
		text-transform: none;
	}

	.modal {
		width: 100%;
		height: 100%;
	}

	.modal-content {
		width: calc(90% - 20px);
		height: calc(90% - 50px);
		padding: 25px 10px;
	}

	.modal-area, .arrowbox {
		width: 90%;
	}

	.arrowcontent {
		width: calc(100% - 40px);
		padding: 0 25px;
		white-space: normal;
	}

	.arrowcontent img {
		max-width: 90%;
	}

	.arrowbox img {
		margin: 20px 0 10px 0;
	}

	.arrowbox.top img, .arrowbox.bottom img {
		margin-top: 5px;
	}

	.tab {
	  padding: 12px 8px;
	  min-width: 10%;
	  max-width: 20%;
	  font-size: 14px;
	}
	
	.panels {
		min-height: 50px;
		height: auto;
	}

	#one:checked ~ .panels, #two:checked ~ .panels, #three:checked ~ .panels, #four:checked ~ .panels {
		background-image: none;
		background-color: #f2f2f2;
	}

	.panel-content {
		width: 90%;
		margin: 0 auto;
		padding: 40px 0;
		float: none;
	}

	.panel-footer {
		background-color: #fff;
	}

	.contentheader, .contentbox {
		width: 100%;

	}

	.contentbox {
		margin-bottom: 40px;
	}

	.contenttext {
		width: 100%;	
		border-top: none;
	}

	.contentpic {
		width: 100%;
		max-height: 500px;
	}

	.contentpic.high {
		max-height: 500px;
	}

	.contentpic.low {
		max-height: 360px;
	}

	.contenttext div, .contentpic div {
		padding: 20px 30px;
	}

}


/* Portrait */

@media only screen 
  and (max-device-width: 767px)
  and (orientation: portrait) {

	.buttons a.btn {
		font-size: 16px;
	}

	.footerdiv {
		font-size: 13px;
		width: 28%;
	}

	.footerplus {
		font-size: 24px;
		margin-top: 15px;
		width: 8%;
	}

}


/* Landscape */

@media only screen 
  and (max-device-width: 767px)
  and (orientation: landscape) {

	nav.topmenu { 
		max-width: 400px;
	}

	#start ul li, #content ul li, .footertext, .panel-content p {
		font-size: 12px;
	}

	h2 {
		font-size: 24px;
	}

	.modal-content {
		width: calc(70% - 20px);
	}

	.arrowbox img {
		margin: 20px 0 20px 0;
	}

	.tab {
	  max-width: 25%;
	  font-size: 15px;
	}

	.contenttext {
		width: 70%;	
	}

	.contentpic {
		width: 30%;
		max-height: 600px;
	}

	.contentpic.high {
		max-height: 1200px;
	}

	.contentpic.low {
		max-height: 360px;
	}

	.footerplus {
		font-size: 72px;
		margin-top: 12px;
	}

}


/* Smaller iPads */

/* Portrait and Landscape */

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1023px) {

	body {
		font-size: 17px;
	}

	#start.sidenav {
		margin: 15px 0 15px 0;
		padding: 15px 130px 15px 30px;
	}

	h1 {
		font-size: 30px;
		margin: 10px 0 15px 0;
	}

	h3 {
		font-size: 24px;
	}

	#metaheader {
		margin: 30px 118px 0 0;
		font-size: 18px;
	}

	label.hamburg { 
		right: 60px;
	}

	nav.topmenu { 
		right: 60px;
	}

	.topmenu ul li a {
		padding: 10px 25px 10px 25px;
		font-size: 16px;
	}

	#metafooter {
		padding: 12px 25px 12px 25px;
	}

	#metafooter .metapic {
		margin: 8px 0 -2px -1px;
	}

	#start {
		width: calc(60% - 130px);
		margin-top: 25px;
		padding-top: 25px;
	}

	a.circle {
		margin-top: 50px;
	}

	#start .textbox h1, #content h1 {
		font-size: 30px !important;
	}

	h2 {
		font-size: 19px;
	}

	button, a.btn {
		font-size: 16px;
	}

	.contenttext {
		width: 50%;
		border-top: 60px solid #f2f2f2;
	}

	.contentpic {
		width: 50%;
	}

	.contenttext div, .contentpic div {
		padding: 30px 30px;
	}
	
	#footerbox.large {
		width: 90%;
	}

	.footerplus {
		margin-top: 22px;
	}

	.tab {
		padding: 32px 5px;
		min-width: 18%;
		font-size: 14px;
	}

	.panel-content {
		width: calc(40% - 80px);
		padding: 40px 0;
	}

	.panels {
		min-height: 600px;
	}

	.panel-footer {
		font-size: 12px;
	}

	.modal-content {
	  width: 90%;
	}

}


/* Portrait */

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1023px) 
  and (orientation: portrait) {

	#start {
		width: 65%;
		padding-right: 20px;
	}

	#start.sidenav {
		width: calc(75% - 130px);
	}

	.logo_start {
		bottom: 200px;
	}

	#footerbox {
		width: 80%;
	}

	#footerbox h1 {
		font-size: 30px;
	}

	.footerblock {
		width: 100%;
	}

	.footertext {
		width: 80%;
		font-size: 16px;
	}

	.footertext.margin_left {
		margin-left: 0;
	}

	.footerpic {
		display: none;
	}

	.footerplus {
		margin-top: -5px;
	}

	.tab {
	  min-width: 22%;
	}

	.panel-content {
		width: 40%;
		padding: 40px 0;
		margin-right: 120px;
	}

	.panel-footer {
		font-size: 10px;
	}

	.contenttext {
		width: 60%;
		border-top: 40px solid #f2f2f2;
	}

	.contentpic {
		width: 40%;
	}

	.contenttext div, .contentpic div {
		padding: 10px 20px;
	}

	.siegel_servicegebuehr {
		width: 75%;
		margin-right: 0;
	}

}


/* iPad 12.9" */

/* Portrait and Landscape */

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) {

	body {
		font-size: 18px;
	}

	.tab {
		padding: 32px 5px;
		min-width: 18%;
	}

	.panels {
		min-height:700px;
	}

	.panel-content {
		width: 45%;
		padding: 60px 0;
		margin-right: 150px;
	}

}

/* Portrait */

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {

	body {
		font-size: 17px;
	}

	.tab {
		padding: 32px 10px;
		min-width: 20%;
	}

	.panels {
		min-height:950px;
	}

	#metaheader {
		margin-top: 30px;
	}

	#start {
		width: calc(70% - 130px);
		margin-top: 25px;
		padding-top: 25px;
	}

	#start .btn {
		font-size: 17px;
	}

	.logo_start {
		bottom: 200px;
	}

	.buttons button, .buttons a.btn {
		margin-right: 12px;
	}

	.textbox .buttons .btn {
		font-size: 16px;
	}

	.contenttext {
		width: 60%;	
	}

	.contentpic {
		width: 40%;
	}

	.contenttext div, .contentpic div {
		padding: 25px 40px 10px 40px;
	}

	#footerbox.large {
		width: 90%;
	}

	.panel-footer {
		font-size: 13px;
	}

	.modal-content {
	  width: 90%;
	}

	.footerplus {
		margin-top: 12px;
	}

	.tab {
		padding: 32px 5px;
		min-width: 18%;
	}

}