/*
Theme Name: KitByte
Author: KitByte.de
Author URI: https://kitbyte.de/
Description: Default KitByte Theme
Version: 1.0
Text Domain: kitbyte
*/

/*
 - colors - 
 white: #fff;
 navy: #282E3E;
 orange: #FFA500;
*/


/* ===== reset ===== */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	line-height: 24px;
	font-family: 'Roboto', sans-serif;
	vertical-align: baseline;
	letter-spacing:0.32px;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

textarea:focus, input:focus{
    outline: none;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
} 

.clearfix::after {
  clear: both;
}

.clearfix {
  *zoom: 1; /* Für den IE6 und IE7 */
}

/* global */
html{
	max-width: 100vw;
	overflow-x: hidden;
}
article > div, header > div, footer > div{
	max-width: 1200px;
	margin: 0 auto;
}

/* ===== header ===== */

/* startseite */
.home header{
	height: 150px;
	position: absolute;
	width: 100%;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	background-color: transparent;
	z-index: 100;
}
.home.scrolled header, .category header{
	height: 70px;
	position: fixed;
	background-color: #282e3e;
	z-index: 100;
	width: 100%;
}

header{
	position: relative;
	height: 70px;
	background-color: #282e3e;
}
header > div{
	position: relative;
}
header .logo, .home.scrolled header .logo{
	position: absolute;
	top: 10px;
	left: 0;
	text-decoration: none;
	border: 3px solid #FFA500;
	width: 116px;
	height: 45px;
	border-radius: 10px;
}
.logo span{
	color: #FFF;
	font-size: 30px;
	font-weight: 700;
	position: absolute;
	top: 10px;
	left: 10px;
	-webkit-transition: color .4s linear;
	transition: color .4s linear;
}
.logo span + span{
	color: #FFA500;
	left: 47px;
}
.scrolled .logo span:first-child{
	color: #FFF !important;
}
.home header .logo{
	top: 50px;
}

header .logo img{
	width: 150px;
	height: 50px;
	background-color: gray;
	display: inline-block;
}

/* navi */
#menu-topnavi,
.home.scrolled #menu-topnavi,
#menu-topnavi-ru,
.home.scrolled #menu-topnavi-ru
{
	position: absolute;
	right: 0;
	top: 17px;
}
.home #menu-topnavi,
.home #menu-topnavi-ru
{
	top: 56px;
}

#menu-topnavi li,
#menu-topnavi-ru li
{
	display: inline-block;
	margin-left: 20px;
}
#menu-topnavi li:first-child,
#menu-topnavi-ru li:first-child
{
	margin-left: 0;
}
#menu-topnavi li a,
#menu-topnavi-ru li a,
#kontaktformular input[type="submit"]
{
	display: inline-block;
	padding: 6px 10px;
	color: #fff;
	font-family: 'Roboto Slab', serif;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	-webkit-transition: .2s linear;
	transition: .2s linear;
}
.no-touchevents #menu-topnavi li a:hover,
#menu-topnavi li.current-menu-item a,
.no-touchevents #menu-topnavi-ru li a:hover,
#menu-topnavi-ru li.current-menu-item a,
#kontaktformular input[type="submit"]
{
	background-color: #FFA500;
	color: #fff !important;
}
.scrolled #menu-topnavi li a,
.scrolled #menu-topnavi-ru li a
{
	color: #fff !important;
}

/* blocks */
article{
	padding: 30px;
	box-sizing: border-box;
}
.home article.stage,
.home article.stage-ru{
	height: 100%;
	width: 100%;
	overflow: hidden;
	z-index: -1;
	max-width: 100%;
	padding: 0;
}
.home article.stage img,
.home article.stage-ru img
{
	min-width: 100vw;
	min-height: 100vh;
	/* filter: brightness(50%); */
}
.home article.stage .blocks-gallery-item,
.home article.stage-ru .blocks-gallery-item{
	filter: brightness(50%);
}
.home article.stage .wp-block-gallery li:nth-child(4),
.home article.stage-ru .wp-block-gallery li:nth-child(4){
	filter: brightness(100%);
}
.home article.stage h1, .home article.stage h1 em,
.home article.stage-ru h1, .home article.stage-ru h1 em{
	color: #fff;
	font-size: 50px;
	font-family: "Roboto Slab", serif;
	position: relative;
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 6px;
	-webkit-transition: .4s linear;
	transition: .4s linear;
}
.home article.stage h1,
.home article.stage-ru h1{
	top: calc(50vh - 100px);
	line-height: 1.4;
	margin-bottom: 0;
	position: absolute;
	width: 100%;
	margin-top: -50px;
}
.home article.stage h1 em,
.home article.stage-ru h1 em{
	font-size: 30px;
	display: block;
	letter-spacing: 4px;
	text-transform: none;
	font-style: normal;
	margin-bottom: 30px;
}
.home article.stage p,
.home article.stage-ru p{
	color: #fff;
	position: absolute;
	top: 50vh;
	left: 50%;
	transform: translate(-50%, 0);
	text-align: center;
	width: 100%;
	margin-top: 80px;
	max-width: 500px;
	display: block;
	-webkit-transition: .4s linear;
	transition: .4s linear;
}

.home article.stage > div,
.home article.stage-ru > div{
	max-width: 100%;
}

.home article.stage .bx-wrapper,
.home article.stage-ru .bx-wrapper{
	border: 0;
	-moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 0;
}
.home article.stage .bx-controls,
.home article.stage-ru .bx-controls{
	position: absolute;
	width: 100%;
}

body .bx-wrapper img{
	max-width: inherit;
}
.page article h1{
	margin-top: 0;
	text-transform: uppercase;
	font-size: 40px;
	font-family: "Roboto Slab", serif;
	font-weight: 700;
	line-height: 48px;
	margin-bottom: 20px;
}
article h2{
	margin-top: 0;
	text-transform: uppercase;
	font-size: 30px;
	font-family: "Roboto Slab", serif;
	font-weight: 700;
	line-height: 38px;
	margin-bottom: 20px;
}
article h3{
	text-transform: uppercase;
	font-size: 22px;
	font-family: "Roboto Slab", serif;
	font-weight: 700;
	line-height: 30px;
	margin-bottom: 20px;
}
article p{
	margin-bottom: 20px;
}

footer{
	background-color: #282e3e;
	color: #fff;
	padding: 20px 0 0 0;
	height: 40px;
}
footer p{
	float: left;
}
footer ul{
	max-width: 1200px;
	margin-right: 20px;
	text-align: right;
	float: right;
}
footer li{
	display: inline-block;
	margin-left: 10px;
}
footer li:first-child{
	margin-left: 0;
}
footer a{
	color: #FFA500;
	display: inline-block;
	text-decoration: none;
	line-height: 24px;
	position: relative;
}
footer a:after,
.category-leistungen article + article.dark a:after,
.category-leistungen-ru article + article.dark a:after
{
	content: "";
	height: 1px;
	width: 0;
	background-color: #FFA500;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	-webkit-transition: .2s linear;
	transition: .2s linear;
}
.no-touchevents footer a:hover:after,
.category-leistungen article + article.dark a:hover:after,
.category-leistungen-ru article + article.dark a:hover:after
{
	width: 100%;
}

article.dark{
	background-color: #282e3e;
	color: #fff;
	max-width: 100%;
	padding: 30px 0;
	box-sizing: border-box;
}
article.dark h2,
article.dark h3{
	color: #FFA500;
}

.category section{
    padding-top: 70px;
}
.category .stage{
	height: 200px;
	overflow: hidden;
	position: relative;
}

.category .stage,
.category .stage > div{
	padding: 0;
	max-width: 100%;
}
.category .stage img{
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.category .stage h1{
	color: #fff;
    font-size: 50px;
    font-family: "Roboto Slab", serif;
    position: relative;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 6px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.category.category-referenzen .stage h1,
.category.category-referenzen-ru .stage h1
{
	color: #282e3e;
}
.category-team article + article,
.category-team-ru article + article
{
	width: 40%;
	display: inline-block;
	text-align: left;
    vertical-align: top;
}
.category-team section,
.category-team-ru section
{
	text-align: center;
}
.avatar{
	margin-right: 30px;
	margin-bottom: 20px;
	float: left;
}
.avatar img{
	border-radius: 4px;
	-webkit-transition: .2s linear;
	transition: .2s linear;
	width: 200px;
	height: 200px;
}
.no-touchevents .category-team article + article .avatar img:hover,
.no-touchevents .category-team-ru article + article .avatar img:hover
{
	-webkit-transform: scale(1.05);
			transform: scale(1.05);
}

article ul{
	margin-bottom: 20px;
	list-style-type: disc;
	list-style-position: inside;
}
article ul.wp-block-gallery{
	list-style: none;
	margin-top: 0;
}
article ul ul{
	margin-bottom: 0px;
	list-style-type: circle;
	list-style-position: inside;
	margin-left: 24px;
}
article.paralax,
article.parallax-ru
{
	overflow: hidden;
	position: relative;
	color: #fff;
	padding-top: 80px;
	padding-bottom: 80px;
}
article.paralax p,
article.parallax-ru p
{
	font-size: 30px;
	text-align: center;
	max-width: 50%;
	margin: 0 auto;
	line-height: 38px;
}
article.paralax img,
article.parallax-ru img
{
	display: none
}
.category-leistungen article + article ul,
.category-leistungen-ru article + article ul
{
	list-style-position: outside;
	left: 20px;
    position: relative;
}
.category-leistungen article + article ul li,
.category-leistungen-ru article + article ul li
{
	font-size: 17px;
	line-height: 20px;
	margin-bottom: 10px;
}
.category-leistungen article + article img,
.category-leistungen-ru article + article img
{
	float: left;
	margin-right: 20px;
	max-width: 480px;
	-webkit-transition: .2s linear;
	transition: .2s linear;
    border-radius: 4px;
	position: relative;
	z-index: 1;
}
.no-touchevents .category-leistungen article + article img:hover,
.no-touchevents .category-leistungen-ru article + article img:hover
{
		-webkit-transform: scale(1.05);
			transform: scale(1.05);
}
.category-leistungen article + article.dark img,
.category-leistungen-ru article + article.dark img
{
	float: right;
	margin-right: 0;
	margin-left: 20px;
}
.category-leistungen article + article.dark a,
.category-leistungen-ru article + article.dark a
{
	color: #FFA500;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}

/* Kontaktformular */
#kontaktformular{
	margin: 0 auto;
	max-width: 647px;
}
#kontaktformular input, #kontaktformular textarea{
	padding: 5px;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    border-radius: 4px;
    box-shadow: none !important;
    background: transparent;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-bottom: transparent;
    border: 1px solid #282E3E;
    color: #282E3E;
    display: block;
    width: 200px;
    margin-bottom: 5px;
}
#kontaktformular input:first-child, #kontaktformular span + input{
	margin-left: 0;
}
#kontaktformular input{
	float: left;
    margin-left: 5px;
}
#kontaktformular textarea{
	width: 634px;
}
#kontaktformular small{
	font-size: 12px;
	line-height: 15px;
	display: block;
	margin-bottom: 5px;
}
#kontaktformular input[type="submit"]{
	border: 0;
	margin-left: 0;
	cursor: pointer;
}
.no-touchevents #kontaktformular input[type="submit"]:hover{
	color: #282E3E;
}
#kontaktformular .datenschutz, #kontaktformular .datenschutz a{
	font-size: 12px;
	line-height: 15px;
}
#kontaktformular .datenschutz{
	margin-bottom: 5px;
	max-width: 634px;
	padding-left: 30px;
	position: relative;
}
#kontaktformular .datenschutz a{
	color: #FFA500;
	text-decoration: none;
	position: relative;
}
#kontaktformular .datenschutz a:after{
	content: "";
	width: 0;
	position: absolute;
	bottom: 0;
	height: 1px;
	background-color: #FFA500;
	left: 50%;
	transform: translate(-50%, 0);
	-webkit-transition: .2s linear;
	transition: .2s linear;
}
.no-touchevents #kontaktformular .datenschutz a:hover:after{
	width: 100%;
}

#kontaktformular input[type="checkbox"]{
	width: 20px;
	height: 20px;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}
#kontaktformular .error, #kontaktformular .success{
	display: block;
	color: red;
	font-weight: 700;
	margin-bottom: 5px;
}
#kontaktformular .success{
	color: green;
}

#matomo_optout{
	border: 1px solid #FFA500;
	border-radius: 4px;
	height: 250px;
	width: 600px;
}
.wp-block-column{
	display: table-cell;
}
.category-kontakt .wp-block-columns .wp-block-column + .wp-block-column .dashicons-admin-home{
	position: absolute;
	left: 0;
}
.category-kontakt .wp-block-columns .wp-block-column + .wp-block-column p{
	position: relative;
	padding-left: 22px;
	display: block;
}
.category-kontakt .wp-block-columns .wp-block-column .dashicons-email-alt{
	position: relative;
	top: 3px;
}
.category-kontakt article p
{
	max-width: 634px;
	margin: 0 auto 20px auto;
}
.category-kontakt h2,
.category-kontakt h3
{
	max-width: 634px;
    margin: 0 auto 20px auto;
}
.category-kontakt .wp-block-columns{
	margin: 0 auto;
	display: table;
	width: 634px;
}

.category-referenzen article + article,
.category-referenzen-ru article + article
{
	padding: 0;
	width: 80%;
	margin: 0 auto;
	position: relative;
}
.category-referenzen article > div,
.category-referenzen-ru article > div
{
	margin: 0;
	max-width: 100%;
}
.category-referenzen article > div > p,
.category-referenzen-ru article > div > p
{
	font-size: 17px;
    line-height: 20px;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 30px 25%;
    float: left;
    box-sizing: border-box;
}
.category-referenzen .referenz,
.category-referenzen-ru .referenz
{
	margin: 0 0 20px 0;
	padding: 30px;
	background-color: #282e3e;
	color: #fff;
	width: calc(50% - 10px);
	float: left;
	min-height: 460px;
	box-sizing: border-box;
	border-radius: 4px;
}
.category-referenzen .referenz:nth-child(odd),
.category-referenzen-ru .referenz:nth-child(odd)
{
	float: right;
}
.category-referenzen .referenz img,
.category-referenzen-ru .referenz img
{
	display: block;
	margin: 0 auto 20px auto;
    border-radius: 4px;
    -webkit-transition: .2s linear;
    transition: .2s linear;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    border: 1px solid #FFA500;
    padding: 5px;
}
.category-referenzen .referenz img:hover,
.category-referenzen-ru .referenz img:hover
{
	-webkit-transform: scale(1.00);
    transform: scale(1.00);
}
.category-referenzen .referenz h2,
.category-referenzen .referenz h2 a,
.category-referenzen-ru .referenz h2,
.category-referenzen-ru .referenz h2 a
{
	font-size: 20px;
    display: block;
    text-transform: none;
    font-style: normal;
    margin-bottom: 10px;
    color: #FFA500;
    text-decoration: none;
}


/* =================== RESPONSIVE =================== */
.mobile_only{
	display: none;
}

@media (max-width: 1259px){
	article > div, header > div, footer > div{
		max-width: calc(100vw - 60px);
	}
	.category-team article + article,
	.category-team-ru article + article
	{
		width: 49%;
	}
}
@media (max-width: 1023px){
	.avatar{
		float: none;
	}
	.category-leistungen article + article img,
	.category-leistungen-ru article + article img
	{
		max-width: 300px;
	}
	.home article.stage h1, .home article.stage h1 em{
		font-size: 35px;
	}
	.home article.stage p{
		margin-top: 30px;
	}
	footer p{
		font-size: 12px;
	}
}
@media (max-width: 767px){
	#menu-topnavi li,
	#menu-topnavi-ru li
	{
		display: block;
		margin-left: 0;
	}
	.mobile_only{
		display: block;
	}
	.home header .logo{
		top: 30px;
	}
	#navopener{
		position: absolute;
		right: 0;
		top: 17px;
		width: 40px;
		z-index: 110;
	}
	.scrolled #navopener{
		top: 17px;
	}
	#navopener span{
		width: 40px;
		height: 6px;
		background-color: #fff;
		display: block;
		margin-top: 5px;
		-webkit-transition: .4s linear;
		transition: .4s linear;
		position: absolute;
		top: 0;
		left: 0;
		border-radius: 3px;
	}
	#navopener span:nth-child(2){
		top: 12px;
	}
	#navopener span:nth-child(3){
		top: 24px;
	}
	#navopener.opened span:nth-child(1){
		transform: rotate(45deg);
		top: 10px;
		left: -2px;
	}
	#navopener.opened span:nth-child(2){
		opacity: 0;
	}
	#navopener.opened span:nth-child(3){
		transform: rotate(-45deg);
		top: 10px;
		left: -2px;
	}

	.home header, .home.scrolled header, .category header{
		height: 70px;
		position: fixed;
		background-color: #282e3e;
		z-index: 100;
		width: 100vw;
		transform: none;
		left: 0;
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}
	.home header .logo{
		position: absolute;
		top: 10px;
		left: 0;
		text-decoration: none;
		border: 3px solid #FFA500;
		width: 116px;
		height: 45px;
		border-radius: 10px;
		box-sizing: border-box;
	}
	.logo span:first-child{
		color: #fff !important;
	}
	.home #menu-topnavi,
	.home #menu-topnavi-ru
	{
		position: absolute;
		right: -10px;
	    top: 70px;
	}
	article > div, header > div, footer > div{
	    max-width: 100vw;
	}
	article{
		padding: 10px;
	}
	article.dark{
		padding: 20px 10px;
	}
	#menu-topnavi,
	#menu-topnavi-ru
	{
		background-color: #282e3e;
		padding: 10px;
		top: 70px;
		position: fixed;
		right: -10px;
		left: -10px;
		display: block;
		transform: translate(100%, 0);
		-webkit-transition: .4s linear;
		transition: .4s linear;
	}
	#menu-topnavi.opened,
	#menu-topnavi-ru.opened
	{
		transform: translate(0, 0);
	}
	.category #menu-topnavi,
	.category #menu-topnavi-ru
	{
		left: 0;
		right: 0;
	}
	#menu-topnavi li a,
	#menu-topnavi-ru li a
	{
	    min-width: 150px;
    	display: inline-block;
    	color: #fff !important;
	}
	.category-team article + article,
	.category-team-ru article + article
	{
		width: 100%;
	}
	.category .stage{
		height: 100px;
	}
	.category .stage h1{
		font-size: 30px;
	}
	article h2{
		font-size: 24px;
	}
	.home article.stage h1, .home article.stage h1 em {
	    font-size: 20px;
	}
	.home article.stage h1{
		top: 50vh;
	}
	.home article.stage h1 em{
		margin-bottom: 10px;
	}
	.home article.stage p{
		max-width: calc(100% - 20px);
		width: 350px;
		margin-top: 60px;
	}
	footer{
		height: 130px;
    	position: relative;
	}
	footer p{
		float: none;
	    position: absolute;
	    bottom: 10px;
	    left: 10px;
	}
	footer ul{
		display: block;
		float: none;
		text-align: left;
	}
	footer li{
		display: block;
	}
	footer li:first-child{
		margin-left: 10px;
	}
	header .logo, .home.scrolled header .logo{
		width: 128px !important;
		box-sizing: border-box;
	}
	.logo span{
		top: 7px;
	}
	.logo span + span{
		left: 50px !important;
	}
	.avatar{
		margin: 0 auto;
		text-align: center;
	}
	.avatar + h2, .avatar + h2 + p{
		text-align: center;
	}
	.avatar img{
		width: auto;
		height: auto;
		margin: 0 auto;
	}
	.category-kontakt .wp-block-columns,
	.category-kontakt .wp-block-columns .wp-block-column{
		display: block;
	}
	#kontaktformular input, #kontaktformular textarea{
		margin-left: 0;
		width: 100%;
		box-sizing: border-box;
		float: none;
	}
	#kontaktformular{
		max-width: 400px;
	}
	.category-kontakt .wp-block-columns{
		width: auto;
	}
	.category-kontakt article p,
	.category-kontakt h2,
	.category-kontakt h3{
		margin: 0 0 20px 0;
	}
	.category-kontakt .dashicons{
	    width: 40px;
	}
	.category-kontakt .wp-block-columns .wp-block-column + .wp-block-column p{
	    padding-left: 45px;
	}
}

@media (max-width: 421px){
	.home article.stage h1 {
	    top: calc(50vh - 30px);
	}
	#kontaktformular{
		max-width: 100%;
	}
}
