/*
Theme Name: Teamkultur
Description: Template für achtsame-teamkultur.de
Author: Cornelia Agel
Author URI: http://www.sevenminds.de/
Version: 1.0
*/

/* === FONTS === */

@font-face { font-family: 'jostlight'; src: url('fonts/jost-300-light-webfont.woff2') format('woff2'), url('fonts/jost-300-light-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'jostlight_italic'; src: url('fonts/jost-300-lightitalic-webfont.woff2') format('woff2'), url('fonts/jost-300-lightitalic-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'jostregular'; src: url('fonts/jost-400-book-webfont.woff2') format('woff2'), url('fonts/jost-400-book-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'jostitalic'; src: url('fonts/jost-400-bookitalic-webfont.woff2') format('woff2'), url('fonts/jost-400-bookitalic-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'jostmedium'; src: url('fonts/jost-500-medium-webfont.woff2') format('woff2'), url('fonts/jost-500-medium-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'jostmedium_italic'; src: url('fonts/jost-500-mediumitalic-webfont.woff2') format('woff2'), url('fonts/jost-500-mediumitalic-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }
  

/* === RESET === */

body, div, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, ol, ul, li, dl, dt, dd, figure, table, th, td, form, fieldset, legend, input, textarea { margin: 0; padding: 0; }
header, footer, nav, section, aside, article, figure, figcaption { display: block }
table { border-spacing: 0; border-collapse: collapse; }
caption, th, td { text-align: left; text-align: start; vertical-align: top; }
abbr, acronym { font-variant: normal; border-bottom: 1px dotted #666; cursor: help; }
blockquote, q { quotes: none; }
fieldset, img { border: 0; }
ul { list-style-type: none; }
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
del { text-decoration: line-through; }
ins { text-decoration: none; }
*, *:before, *:after { box-sizing: inherit; }

html { position: relative; overflow-y: scroll; height: 100%; overflow-x: hidden; overflow-y:scroll; }
input, button, textarea, select { vertical-align: baseline; *vertical-align: middle; }
button, input.submit { *overflow: visible; }
table { font-size: inherit; }
img, object, embed, video { max-width: 100%; }
a img { border: none; display: block; }
img { height: auto; }


/* === GENERIC === */

.clr { clear: both; }
.clrfix:after { content: "."; clear: both; display: block; visibility: hidden; height: 0; }

.float-left { display: inline; float: left; margin-right: 1.5em; }
.float-right { display: inline; float: right; margin-left: 1.5em; }
.float-none { float: none; }
.center { text-align: center; }
.clear { clear: both; }
.clear-left { clear: left; }
.clear-right { clear: right; }
.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }
.align-justify { text-align: justify; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
strong { font-family: 'jostmedium', sans-serif; font-weight: normal; }
em { font-family: 'jostlight_italic', sans-serif; font-weight: normal; }
strong em, em strong { font-family: 'jostmedium_italic', sans-serif; font-weight: normal; }

.inside { max-width: 1200px; width: 100%; margin: 0 auto; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding-left: 15px; padding-right: 15px; }

.white { background: #fff; }
.transwhite { background-color: rgba(255, 255, 255, 0.8); }
.yellow, .yellow i { background-color: #f0aa00; }
.red, .red i { background-color: #be1214; }
.petrol, .petrol i { background-color: #6f89a7; }
.blockcontent.petrol, .lightpetrol { background-color: rgba(235, 239, 244); }
.darkpetrol, .darkpetrol i { background-color: #395575; }
.blank { background-color: white; }

strong.yellow { color: #f0aa00; background: none transparent; }
strong.red { color: #be1214; background: none transparent; }
strong.petrol { color: #6f89a7; background: none transparent; }


/* === FONTS === */

html { font-size: 100.01%; background-color: #fff; }
body, button, input, select, textarea { line-height: 1.5; color: #2d2d2d; font-family: 'jostlight', sans-serif; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: normal; font-family: 'jostregular', sans-serif; }
h1 { margin: 0 0 1em; color: #395575; }
h2 { margin: 1.25em 0 0.75em; color: #395575; }
h3 { margin: 1.25em 0 1em; color: #395575; }
h4 { margin: 1.25em 0 0.5em; }
p { margin: 0 0 1em; }
p.quote { font-size: 1.5625em; font-style: italic; }
p.meta { font-size: 0.8em; }
a { color: #395575; text-decoration: none; -moz-transition: all .2s ease; -o-transition: all .2s ease; -webkit-transition: all .2s ease; transition: all .2s ease; }
a.button { background-color: #f0aa00; color: #fff; display: inline-block; padding: 0.25em 1em; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; font-weight: normal; font-family: 'jostmedium', sans-serif; font-size: 1.1em; }
a.button:hover { background-color: #f07800; transform: scale(1.2); }

article ul, article ol { margin: 0 0 1.5em; zoom: 1; }
article ul { list-style-type: none; }
article ol { list-style-type: decimal; }
article ol li { margin: 0 0 0 1em; padding: 0 0 0 0.5em; }
article ul li { position: relative; margin: 0 0 0 0.75em; padding: 0 0 0 0.5em; }
article ul li:before { content: "\2022"; color: #324254; position: absolute; left: -0.5em; top:-0.2em; font-size: 1.5em; }
.hl { text-align: center; color: #395575; margin-top: 0; }
/*.petrol .hl { color: #868686; }*/


/* === HEADER === */

#header { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; position: fixed; top: 0; z-index: 99; background: rgba(235,239,244,0.9); width: 100vw; }
body.scrolled #header { -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.16); box-shadow: 0 1px 3px rgba(0,0,0,.16); }
#header .inside { display: table; max-width: 1500px; }
#header .logo, #header .mailphone { display: table-cell; vertical-align: middle; }
#header .logo { color: /*#012f24*/ #395575; }
#header .logo img { float: left; margin-right: 12px; }

#mainmenu { position: relative; font-weight: normal; font-family: 'jostlight', sans-serif; }
#mainmenu li { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }
#mainmenu a { white-space: nowrap; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; display: inline-block; }
#mainmenu ul.sub-menu { list-style: none; }

#header .mailphone a { display: block; position: relative; float: left; text-align: center; }
#header .mailphone a, #header .mailphone .fill { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }
#header .mailphone a span { display: block; width: 100%; text-indent: -9999em; }
#header .mailphone a:hover .fill { fill: #be1214; }
	

/* === MAIN === */

#banner { opacity: 0; }
.stagehome, .stagepage { background-color: rgba(234,234,234,0.9) }
.stagehome { height: 100vh; max-height: 100vh; position: relative; }
.stagehome .banner { background-position: center; background-size: cover; background-repeat: no-repeat; }
.stagehome .inside { max-width: 100%; text-align: center; color: #fff; }
.stagehome h1, .stagehome h2 { color: #fff; }
.stagehome h1 { margin: 0; padding-top: 0.5em; font-weight: normal; font-family: 'jostregular', sans-serif; }
.stagehome h2 { margin: 0 0 0.5em; font-weight: normal; font-family: 'jostmedium', sans-serif; }
.stagehome a.arrow { display: block; padding: 0.5em 0 1em; margin-left: -15px; margin-right: -15px; background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(42, 68, 99,1) 100%); background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(42, 68, 99,1) 100%); background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(42, 68, 99,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#282e37',GradientType=0); }
.stagehome a.arrow img { width: 3vw; max-width: 40px; margin: 0 auto; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }
.stagehome a.arrow:hover img { transform: scale(1.3); }
.stagehome .logo { margin-top: 2.2em; height: 3.5em; }

.stagepage { height: 20vw; }
.stagepage .inside { width: 800px; max-width: 100%; }
.stagepage .banner { width: 100%; height: 20vw; overflow: hidden; background-size: cover; background-repeat: no-repeat; background-position: center; position: fixed; z-index: 0; }

#main { background-color: #fff; position: relative; z-index: 9; }
.blockcontent.combine { background-image: url("images/block-arrow.svg"); background-repeat: no-repeat; background-position: center top; padding-top: 80px; }
.columns { margin-bottom: 2em; }
.clmn { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.layer { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 auto 2em; }
.layer.bg:not(.blank) { background: rgba(255, 255, 255, 0.8); padding-left: 0.75em; padding-right: 0.75em; padding-bottom: 0.75em; }
iframe { width: 100%; display: block; }
#main .wp-block-image { margin-bottom: 2em; }
p.sctnlink { text-align: center; clear: both; }
.blockcontent.nospace-above { padding-top: 0; }
.blockcontent.nospace-below { padding-bottom: 0; }

/* Akkordeon */
article ul.accordion { text-align: center; font-weight: normal; font-family: 'jostregular', sans-serif; }
article ul.accordion li { padding: 0.4em 1em; background: rgba(111, 137, 167, 0.7); color: #fff; -moz-border-radius: 16px; -webkit-border-radius: 16px; border-radius: 16px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; cursor: pointer; position: relative; }
article ul.accordion li:before { content: ""; }
article ul.accordion li:hover, article ul.accordion li.active { background: #f0aa00; transform: scale(1.1); }
.blockcontent.accordions .layer .acctile { -moz-border-radius: 16px; -webkit-border-radius: 16px; border-radius: 16px; background-color: rgba(111, 137, 167, 0.1); padding: 1em; }

article .acctile ul.accordion { font-weight: normal; font-family: 'jostregular', sans-serif; }
article .acctile ul.accordion li { background: rgba(240, 170, 0, 1); }
article .acctile ul.accordion li:hover, article .acctile ul.accordion li.active { background: #be1214; }
article .acctile ul.accordion li.active:after { border-color: rgba(126, 190, 183, 0); border-top-color: #be1214; border-width: 15px; margin-left: -15px; }

/* Sprechblasen */
ul.bubbles li { display: inline-block; width: 100%; padding: 1em 1.5em; margin: 0 0 1.5em; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; background: rgba(111, 137, 167, 0.2); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; position: relative; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }
ul.bubbles li:hover { transform: scale(1.1); }
ul.bubbles li:before { content: ""; }
ul.bubbles li:after { position: absolute; top: 100%; left: 50%; border: solid transparent; content: ""; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(255, 255, 255, 0); border-top-color: rgba(111, 137, 167, 0.2); }
ul.bubbles li:nth-child(even):after { left: 75%; }
ul.bubbles li:nth-child(odd):after { left: 25%;  }

/* Map */
#drdsgvo_map { width: 100%; }
#drdsgvo_map .ol-attribution.ol-uncollapsible img { display: inline-block; }


/* === FOOTER === */

#bottom { padding: 1em 0; color: #fff; position: relative; z-index: 9; }
#bottom .inside > p { margin: 0; text-align: center; font-weight: normal; font-family: 'jostregular', sans-serif; }
#bottom .columns { width: 100%; margin: 0; }
#bottom .clmn { padding: 0; vertical-align: top; }
#bottom .button { background: #fff; color: #395575; display: inline-block; padding: 0.1em 1em 0.1em;font-weight: normal; font-family: 'jostmedium', sans-serif; -moz-border-radius: 16px; -webkit-border-radius: 16px; border-radius: 16px; }

#footer { overflow: hidden; padding: 1.5em 0 1.75em; font-size: 0.9em; background-color: #fff; position: relative; z-index: 9; }
#footer .inside { text-align: center; }
#footer, #footer a { color: #2d2d2d; }
#footer a:hover { color: #dc3c00; }


/* === RESPONSIVE === */

@media screen and (min-width:1024px) {
	h1 { font-size: 2.5em; }
	h2 { font-size: 1.8em; }
	h3 { font-size: 1.5em; }
	h4 { font-size: 1.2em; }
	.stagehome h1 { font-size: 2.3vw; }
	.stagehome h2 { font-size: 3vw; }
	p.readmore { padding: 0.75em 0; }
	
	#menutoggler { display: none; }
	#mainmenu { display: table-cell; vertical-align: bottom; -moz-transition: all .5s ease; -o-transition: all .5s ease; -webkit-transition: all .5s ease; transition: all .5s ease; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding-right: 1em; }
	#mainmenu li { list-style: none; display: inline-block; }
	#mainmenu .menu { text-align: right; }
	#mainmenu .menu > li { padding: 0 20px; position: relative; }
	#mainmenu .menu > li:first-child { margin-left: -15px; }
	#mainmenu a { display: block; white-space: nowrap; color: #224062; }
	#mainmenu .menu > li.current-menu-item > a, #mainmenu .menu > li.current-menu-parent > a { color: #f07800; }
	#mainmenu .menu > li:hover > a { color: #f07800; }
	
	#mainmenu .sub-menu { position: absolute; z-index: 999; top: 70px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; opacity: 0; visibility: hidden; text-align: left; margin-left: -15px; border-top: 1px dashed #d7d7d7; min-width: 100%; }
	#mainmenu li:hover > .sub-menu { visibility: visible; opacity: 1; }
	#mainmenu ul.sub-menu li { display: block; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; border-bottom: 1px solid #dedede; }
	#mainmenu ul.sub-menu li a { line-height: 34px; display: block; padding-left: 15px; padding-right: 15px; background: rgba(255, 255, 255, 0.8); }
	#mainmenu ul.sub-menu li.current-menu-item > a, #mainmenu ul.sub-menu li.current-menu-parent > a { color: #be1214; }
	
	.stagehome .banner { height: 100%; width: 100%; position: fixed; z-index: 0; }
	.stagehome .inside { position: absolute; bottom: 0; left: 0; z-index: 1; background: rgba(66, 103, 145, 0.7); }
	
	.pagecontent, .blockcontent { padding-top: 60px; padding-bottom: 50px; }
	#main.nopad .pagecontent { padding-bottom: 0; }
	#main.nopad .pagecontent + .blockcontent { padding-top: 0; }
	.blockcontent.combine { margin-top: -50px; }
	#scrollto + .blockcontent { padding-top: 100px; }
	.layer.w100 { width: 100%; }
	.layer.w90 { width: 90%; }
	.layer.w80 { width: 80%; }
	.layer.w70 { width: 70%; }
	.layer.w60 { width: 60%; }
	
	article ul.accordion { display: table; border-collapse: separate; border-spacing: 2em 0; width: 100%; font-size: 1.3em; line-height: 1.2; }
	article ul.accordion li { display: table-cell; vertical-align: middle; }
	article ul.accordion.col-3 li { width: 33.3333333333%; }
	article ul.accordion.col-4 li { width: 25%; }
	
	article ul.accordion li:after { top: 100%; left: 50%; border: solid transparent; content: ""; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(111, 137, 167, 0); border-top-color: rgba(111, 137, 167, 0.7); -webkit-transition: border-top-color 0.5s ease; -moz-transition: border-top-color 0.5s ease; -o-transition: border-top-color 0.5s ease; transition: border-top-color 0.5s ease; border-width: 20px; margin-left: -20px; margin-top: -1px; }
	article ul.accordion li:hover:after, article ul.accordion li.active:after { border-top-color: #f0aa00; }
	article .acctile ul.accordion li:after { border-top-color: #f0aa00; }	
	article .acctile ul.accordion li:hover:after, article .acctile ul.accordion li.active:after { border-top-color: #be1214; }
	
	.blockcontent.accordions .layer .acctile { width: calc(100% - 5em); margin: 0 auto; }
	article .acctile ul.accordion { font-size: 1.1em; }
	
	.columns { display: table; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin-left: -0.75em; margin-right: -0.75em; }
	.clmn { display: table-cell; vertical-align: top; }
	.columns.gap { border-spacing: 15px; border-collapse: separate; margin-left: -15px; margin-right: -15px; width: calc(100% + 50px); }
	.table { display: table; }
	.table.lined { background-color: rgba(111, 137, 167, 0.2); }
	.table.petrol, .cell.petrol { color: #fff; }
	.row { display: table-row; }
	.cell { display: table-cell; padding: 1em; }
	.clmn { padding: 0.75em; }
	.clmn.c5, .cell.w5 { width: 5%; }
	.clmn.c10, .cell.w10 { width: 10%; }
	.clmn.c15, .cell.w15 { width: 15%; }
	.clmn.c20, .cell.w20 { width: 20%; }
	.clmn.c25, .cell.w25 { width: 25%; }
	.clmn.c30, .cell.w30 { width: 30%; }
	.clmn.c35, .cell.w35 { width: 35%; }
	.clmn.c40, .cell.w40 { width: 40%; }
	.clmn.c45, .cell.w45 { width: 45%; }
	.clmn.c50, .cell.w50 { width: 50%; }
	.clmn.c55, .cell.w55 { width: 55%; }
	.clmn.c60, .cell.w60 { width: 60%; }
	.clmn.c65, .cell.w65 { width: 65%; }
	.clmn.c70, .cell.w70 { width: 70%; }
	.clmn.c75, .cell.w75, .cell.w75 { width: 75%; }
	.clmn.c80, .cell.w80, .cell.w80 { width: 80%; }
	.clmn.c85, .cell.w85, .cell.w85 { width: 85%; }
	.clmn.c90, .cell.w90, .cell.w90 { width: 90%; }
	.clmn.c95, .cell.w95, .cell.w95 { width: 95%; }
	.clmn.c100, .cell.w100, .table.w100 { width: 100%; }
	.clmn.vtop { vertical-align: top; }
	.clmn.vmiddle { vertical-align: middle; }
	.clmn.vbottom { vertical-align: bottom; }
	
	/* Map */
	#drdsgvo_map { height: 600px; }
  
	#bottom .inside > p { font-size: 1.4em; }
	#bottom .button { margin-left: 1em; }
}
@media screen and (min-width:1200px) {
	#mainmenu .menu > li { padding: 0 20px; }
}

@media screen and (min-width:1100px) and (max-width:1199px) {
	#mainmenu .menu > li { padding: 0 10px; }
}

@media screen and (min-width:1024px) and (max-width:1099px) {
	#mainmenu .menu > li { padding: 0 10px; }
}

@media screen and (max-width:1023px) {
	h1 { font-size: 1.5em; }
	h2 { font-size: 1.25em; }
	h3 { font-size: 1.1em; }
	h4 { font-size: 1em; }
	
	#menutoggler { text-align: right; width: 50px; display: table-cell; position: relative; }
	#menutoggler span { display: inline-block; background: url("images/menutoggler.svg") no-repeat scroll center center; cursor: pointer; width: 39px; height: 25px; position: absolute; right: 0; bottom: 20px; }
	#mainmenu { display: none; position: fixed; border-top: 1px solid rgba(0, 0, 0, 0.25); background: rgba(234, 234, 234, 0.9); z-index: 999; width: 100%; left: 0; }
	#mainmenu li { border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
	#mainmenu li a { display: block; color: #595959; padding-left: 15px; padding-right: 15px; }
	#mainmenu li:hover > a, #mainmenu .menu > li.current-menu-item > a, #mainmenu .menu > li.current-menu-parent > a { color: #be1214; }
	#mainmenu ul.sub-menu li a { padding-left: 15px; }
	#mainmenu ul.menu > li:last-child > a { border-bottom: 0; }
	#mainmenu ul.menu > li > a { font-size: 1.2em; }
	
	.stagehome { height: auto !important; margin-top: 65px; }
	.stagehome .inside { background: rgba(66, 103, 145, 0.9); }
	
	article ul.accordion { margin: 0 0 0.5em; }
	article ul.accordion li { display: inline-block; white-space: nowrap; margin: 0 0.25em 0.5em; }
	
	.pagecontent, .blockcontent { padding-top: 20px; }
	.clmn, .cell { margin-bottom: 1em; }
	.table.hidemobile { display: none; }
	.cell:before { display: block; font-weight: normal; font-family: 'jostmedium', sans-serif; }
	.cell.single:before { content: "Individuum:"; }
	.cell.team:before { content: "Team:"; }
	.cell.label { margin-top: 2em; font-weight: normal; font-family: 'jostmedium', sans-serif; border-bottom: 3px solid rgba(111, 137, 167, 0.5); text-transform: uppercase; padding-bottom: 0.3em; }
	
	/* Map */
	#drdsgvo_map { height: 400px; }
	
	#bottom .inside > p { font-size: 1.2em; }
	#bottom .button { margin: 1em auto 0; display: block; width: 80%; }
}

@media screen and (min-width:700px) and (max-width:1023px) {
	.stagehome h1 { font-size: 3vw; }
	.stagehome h2 { font-size: 4vw; }
}
@media screen and (max-width:699px) {
	.stagehome h1 { font-size: 4vw; }
	.stagehome h2 { font-size: 4.3vw; }
}

@media screen and (min-width:1400px) {
	body, button, input, select, textarea { font-size: 23px; }
	#mainmenu .menu > li > a { padding-bottom: 10px; font-size: 1.2em; }
}

@media screen and (min-width:1100px) and (max-width:1399px) {
	body, button, input, select, textarea { font-size: 21px; }
	#mainmenu .menu > li > a { padding-bottom: 13px; font-size: 1.2em; }
}

@media screen and (min-width:800px) and (max-width:1099px) {
	body, button, input, select, textarea { font-size: 19px; }
	#mainmenu .menu > li > a { padding-bottom: 14px; font-size: 1.1em; }
}

@media screen and (min-width:600px) {
	#header .inside { height: 65px; }
	#header .logo { padding: 10px 0; }
	#header .logo img { height: 40px; }
	#header .mailphone { width: 150px; }
	#header .mailphone a { width: 50px; height: 50px; }
	#header .mailphone a.kontakt { width: 49px; }
	#header .mailphone a.kontakt svg { margin-top: 10px; }
	#header .mailphone a.phone svg { margin-top: 10px; }
	#header .mailphone a.email svg { margin-top: 13px; }
	.stagepage { padding-top: 65px; }
}
@media screen and (min-width:600px) and (max-width: 1023px) {
	#mainmenu { top: 65px; }
}
	
@media screen and (max-width:599px) {
	#header .inside { height: 50px; padding-left: 5px; padding-right: 5px; margin: 0; }
	#header .logo { padding: 5px 20px 5px 0; }
	#header .logo img { height: 30px; }
	#header .mailphone { width: 100px; }
	#header .mailphone a { height: 45px; }
	#menutoggler { width: 39px; }
	#menutoggler span { bottom: 14px; }
	#menutoggler { transform: scale(0.7); } 
	#header .mailphone a svg { transform: scale(0.8); }
	#header .mailphone a.kontakt { width: 28px; }
	#header .mailphone a.phone { width: 35px; }
	#header .mailphone a.email { width: 35px; }
	#header .mailphone a.kontakt svg { margin-top: 8px; }
	#header .mailphone a.phone svg { margin-top: 8px; }
	#header .mailphone a.email svg { margin-top: 11px; }
	#mainmenu { top: 50px; }
	#mainmenu li a { padding-left: 5px; padding-right: 5px; }
	
	.stagehome { margin-top: 50px; }
	.stagepage { padding-top: 50px; }
	.colpics p { display: flex; justify-content: space-evenly; flex-wrap: wrap; }
	.colpics img { float: none; display: inline-block; height: auto; max-height: 30vw; width: auto; max-width: calc(50% - 2em) !important; margin: 1em; }
}

@media screen and (min-width:500px) and (max-width:799px) {
	body, button, input, select, textarea { font-size: 17px; }
}

@media screen and (min-width:500px) {
	.stagepage .banner { margin-bottom: 50px; }
	.alignleft { float: left; margin-right: 2em; }
	.alignright { float: right; margin-left: 2em; }
	img.alignleft, img.alignright { max-width: 50%; }
	ul.bubbles { column-count: 2; column-gap: 1.5em; column-fill: balance; }
	ul.bubbles li:after { border-width: 25px; margin-left: -25px; }
	#footer ul.menu li { display: inline-block; }
	#footer ul.menu li:first-child { margin-left: -15px; }
	#footer ul.menu a { display: block; padding: 0 15px; }
}

@media screen and (max-width:499px) {
	body, button, input, select, textarea { font-size: 15px; }
	#header .mailphone { display: none; }
	.stagepage .banner { margin-bottom: 30px; }
	.alignleft, .alignright { margin-bottom: 1em; display: block; }
	.alignleft:after, .alignright:after { content: "."; clear: both; display: block; visibility: hidden; height: 0; }
	ul.bubbles li:after { border-width: 15px; margin-left: -15px; }
	#footer ul.menu li, #footer ul.menu a { display: block; }
}
