

/*body {*/
:root {
	--color-text: #4800d4;
    --color-bg: #e8e8e8;
    --color-link: #ec1752;
    --color-link-hover: #eb1851;
    --color-info: #272526;
    --grid-item-bg: #fdfdff;
    --color-close: #ec1752;
}

.olox_none {
	display: none;
}
.content__close_btn{
	display: block;
  margin-top: 3em;
}


.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon_grid {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}


.grid-wrap {
	/*position: relative;*/
	/*max-width: 1100px;
	margin: 0 auto;
	padding: 0; */
}

.grid-wrap--hidden {
	height: 0;
	overflow: hidden;
}

.grid {
	margin: 0;
	position: relative;
	display: none;

   /* width: 700px;
    height: 500px; */
}

.js .grid {
	display: block;
}

.grid__item {
	/*width: 250px;*/
  position: absolute;
  left: 0px;
  top: 0px;
	width: 100%;
	/*position: relative;
	padding: 1.5rem;
	margin-bottom: 5rem;*/
}

.grid__item-wrap {
	position: relative;
}

.grid__item-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--grid-item-bg);
  /*opacity:0;*/
}
#taetigkeiten .grid__item-bg {
	background: var(--grid-item-bg);
}
#kommunikation .grid__item-bg {
  background: #565f73;
}

.grid__item-img {
	pointer-events: none;
	position: relative;
  width: 100%;
	max-width: 100%;
	margin: 0 auto;
	display: block;
	outline: 1px solid transparent;
}
/*
.grid__item:nth-child(even) .grid__item-img {
	transform: rotate3d(0,0,1,4deg);
}

.grid__item:nth-child(odd) .grid__item-img {
	transform: rotate3d(0,0,1,-4deg);
}*/
.grid__item:nth-child(even) .grid__item-img {
	transform: rotate3d(0,0,1,0deg);
}

.grid__item:nth-child(odd) .grid__item-img {
	transform: rotate3d(0,0,1,0deg);
}

.grid__item-title {
	font-weight: normal;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0 0 0 1rem;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	transform-origin: 0 50%;
}

.grid__item-number {
	font-weight: bold;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 2.65rem;
	margin: 0 0 0.15rem;
}

.grid__item-number > span {
	display: inline-block;
}

.content {
	margin: 0 auto;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
	align-items: center;
	pointer-events: none;
}

.js .content {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
  left:0px;
}

.content__item {
	padding: 10rem 5vw 10rem;
	grid-area: 1 / 1 / 1 / 1;
}

.js .content__item {
	height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	pointer-events: none;
}

.js .content__item--current {
	height: auto;
	opacity: 1;
	/*padding: 3rem 5vw 10rem;*/
	pointer-events: auto;
}

.content__item-intro {
	position: relative;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
	align-items: center;
}

.content__item-img {
	position: relative;
	height: auto;
  width: 100%;
	max-width: 100%;
	display: block;
	margin: 0 auto;
	grid-area: 1 / 1 / 1 / 1;
}

.js .content__item-img {
	visibility: hidden;
}

.content__item-title {
    position: relative;
    font-size: 4vw;
    line-height: 1;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    margin: 0;
    padding: 0 5vw;
    white-space: nowrap;
    grid-area: 1 / 1 / 1 / 1;
    margin-top: 30%;
    color: #fff;
}
.olox_bg {
    background-color:hsla(0,0%,0%,0.3);
}


.content__item-title > span {
	white-space: pre;
	display: inline-block;
}

.content__item-subtitle {
	text-align: center;
	font-size: 1.0rem;
	font-weight: normal;
	margin: 0.5rem auto;
}

.content__item-text {
   margin: 1em;
   text-align: inherit;
}

.content__item-text p {
	margin: 0;
}
.content__item-text p.leistungen {
    margin-bottom: 1em;
}
/*
.content__close {
	position: absolute;
	top: 0.75rem;
	left: 50%;
	z-index: 10000;
	transform: translateX(-50%);
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	color: var(--color-text);
}*/

.olox_close {
    position: absolute;
    z-index: 10000;
    transform: translateX(-50%);
    top: 0;
    right: -30px;
    padding: 10px;
    background: #ffffff;
    cursor: pointer;
    color: #999;
    transition: .1s ease-in-out;
    transition-property: color,opacity;
    border: 0;
}

.content__close:focus {
	outline: none;
}

.content__item--current ~ .content__close {
	pointer-events: auto;
}

.content__indicator {
	position: absolute;
	/*top: calc(100vh - 3rem);*/
  bottom: -50px;
	left: calc(50% - 0.75rem);
	display: none;
}

.js .content__item-title > span,
.js .content__item-subtitle,
.js .content__item-text,
.content__close,
.content__indicator {
	opacity: 0;
}

@media screen and (min-width: 55em) {
  .content__item-intro {
    /* Olox */
    max-width: 70em;
    margin: 0 auto;
  } 
  .text_db {
    /* Olox */
    max-width: 800px;
    text-align: justify;
    margin: 5em auto;
  }
  .js .content__item--current {
    padding: 3rem 5vw 10rem;
  }
  .content__item-subtitle {
    text-align: center;
    font-size: 1.25rem;
    font-weight: normal;
    margin: 3rem auto;
  }

 /* .content__item-text {
    text-align: justify;
    max-width: 800px;
    margin: 5em auto;
  }*/
  .olox_close {
    right: -40px;
    padding: 20px;
  }
  /*.grid-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1rem 0;
  }*/
  .grid {
    margin: 0 auto;
    position: relative;
    display: none;
  }
  .grid__item {
    position: absolute;
    left: 0px;
    top: 0px;
  }

	.grid__item-number {
		right: -2.45rem;
	}
	.grid__item-title {
		margin-left: -0.25rem;
	}
	.content__item-subtitle {
		font-size: 3vw;
	}
	/*.content__item-text {
  		column-count: 2;
  		column-gap: 20px;
  	}
	/*.content__item-img {
		max-width: none;
		height: calc(100vh - 6rem);
	}*/
	.content__item-subtitle {
		max-width: 50%;
	}
	.content__indicator {
		display: block;
	}
}
