.wohnbereiche {
	margin-bottom:100px;
	background-color:rgb(250,250,250);
	padding-bottom:10px;
}
.wohnbereiche-container {
	max-width:960px;
	width:100%;
	margin:0 auto;
}
.wohnbereiche > .wohnbereiche-container > h2 {
	text-align:center;
}
.wohnbereiche-content {
	position:relative;
}
.wohnbereiche-content-box {
    position:absolute;
    left:30px;
    bottom:-60px;
    width: 360px;
    box-sizing: border-box;
    padding: 30px;
    background-color: rgba(0,0,0,0.7);
    color: white;
}
.wohnbereiche-content-box .btn-hero {
    background-color: rgb(61,205,88);
    color: white;
}

/* Icons */
.wohnbereiche-icons   {
	margin-top:-25px;
	box-sizing:border-box;
	padding-left: 400px;
}
.wohnbereiche-icons  figure {
	display:inline-block;
}
.wohnbereiche-icon  {
	width: 50px;
  	height: 50px;
  	border-radius: 25px;
  	position:relative;
  	margin-left:10px;
}
.wohnbereiche-icon img {
	width:50px;
	height:auto;
	border-radius: 30px;
	/*transform-origin:30px 30px;*/
	
	background-color:rgb(61,205,88);
}


/* Tooltip */

/* Tooltip text */
.wohnbereiche-icon figcaption {
  visibility: hidden;
  width: 180px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #3DCD58;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 510;
  bottom: 120%;
  left: 50%;
  margin-left: -90px; /* half width */

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}
.wohnbereiche-icon figcaption.tooltip-left {
    top: 25%;
	bottom: auto;
	right: 128%;
	left:auto;
}
.wohnbereiche-icon figcaption.tooltip-bottom {
    top: 120%;
    left: 50%;
    bottom: auto;
    margin-left: -90px;
}

/* Tooltip arrow */
.wohnbereiche-icon figcaption::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent;
}
.wohnbereiche-icon figcaption.tooltip-left::after {
    top: 50%;
    left: 100%;
    margin-top: -8px;
    margin-left: 0;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
}
.wohnbereiche-icon figcaption.tooltip-bottom::after {
    top:auto;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.9) transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.wohnbereiche-icon:hover figcaption {
  visibility: visible;
  opacity: 1;
} 

@media only screen and (max-width: 960px) {
	.wohnbereiche {
		margin-bottom: 80px;
	}
	.wohnbereiche-container {
		max-width:100%;
	}
	.wohnbereiche-images img {
		width:100%;
		height:auto;
	}
	.wohnbereiche-icons {
		padding-right:20px;
	}
	.wohnbereiche-icon  {
		width: 45px;
		height: 45px;
		border-radius: 50%;
		margin: 0 5px 5px 0;
	}
	.wohnbereiche-icon img {
		width:45px;
		border-radius: 50%;
	}
	.wohnbereiche-content-box {
		bottom:-70px;
	}
}
@media only screen and (max-width: 767.9px) {
	.wohnbereiche {
		margin-bottom: 60px;
	}
	.wohnbereiche-images  {
		height:60vw;
	}
	.wohnbereiche-images img {
		object-fit: cover;
		height:60vw;
		width:auto;
		object-position: 50% 50%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	.wohnbereiche-icon  {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		margin: 0 5px 5px 0;
	}
	.wohnbereiche-icon img {
		width:40px;
		border-radius: 50%;
	}
}
@media only screen and (max-width: 659.9px) {
	.wohnbereiche {
		margin-bottom: 40px;
	}
	.wohnbereiche-icons {
		margin-top: 50px;
		padding-left: 30px;
	}
	.wohnbereiche-content-box {
		bottom:-40px;
		width:calc(100% - 60px);
	}
	.wohnbereiche-content-box h3 {
		margin-top:0;
	}
	
	.wohnbereiche-icon figcaption {
	  top: 120%;
	  bottom: auto;
	}
	.wohnbereiche-icon figcaption::after {
		top:auto;
		bottom: 100%;
		left: 50%;
		margin-left: -8px;
		border-width: 8px;
		border-style: solid;
		border-color: transparent transparent rgba(255, 255, 255, 0.9) transparent;
	}
}
@media only screen and (max-width: 579.9px) {
	.wohnbereiche {
		margin-bottom: 30px;
	}
	.wohnbereiche-icons {
		margin-top: 32vw;
	}
	.wohnbereiche-content-box {
		bottom:-30vw;
		width:calc(100% - 60px);
	}
}
@media only screen and (max-width: 440px) {
	.wohnbereiche-icons {
		margin-top: 42vw;
	}
	.wohnbereiche-content-box {
		bottom:-40vw;
		width:calc(100% - 60px);
		padding:20px;
	}
}


