/*
	Theme Name: AL Immobilien 2024
	Theme URI: https://www.al-immo.de/
	Description: AL Immobilien 2024 Theme
	Version: 1.0
	Author: Christoph Karnebogen, Mirco Hueneke
	Author URI: http://www.diewildengestalten.de
*/

/* ------------------- WEBFONT IMPORT ------------------- */

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v21-latin-400.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/poppins-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





/* ------------------- VARIABLES ------------------- */
/* fuer IE extra script css-vars.js laden */
:root {
	--blue: #00529c;
	--red: #bf0517;
	--lightblue: rgba(0,82,156,0.05);
	
	--containersize: 1140px;
}



/* ------------------- BASIC ------------------- */

body{
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;	
	font-size: 14px;
	color: var(--blue);
}

::focus {
    outline: 0 !important;
}

.effect, a, .menu-item{
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a{
	color: inherit !important;
}

p{
	line-height: 2;
}

p:last-child{
	margin-bottom: 0;
}

b, strong{
    font-weight: 700;	
}

ul{
	padding-left: 15px;
	line-height: 2;
}

ul{
	list-style: square;
}




/* --------------- HEADINGS AND TXT --------------- */

h1 {
    font-weight: 700;
    font-size: 55px;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
    line-height: 1.1;
	margin-top: 100px;
	margin-bottom: 80px;
}

h2 {
    font-weight: 700;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
    line-height: 1.1;
	margin-bottom: 150px;
}

h3 {
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
    line-height: 1.1;
}

h4 {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
    line-height: 1.1;
}





/* -------------------- COLORS -------------------- */




/* ------------------- NAVIGATION ------------------- */

header{
	background-color: var(--lightblue);
	margin-top: 30px;
	margin-left: 30px;
	margin-right: 30px;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand{
	width: 220px;
	margin-top: 40px;
	margin-bottom: 40px;
}

.navbar-toggler {
    padding: 0;
    border: 0;
}

.navbar-toggler:focus {
	outline: none;
}

.patty, .bun{
	width: 35px;
	height: 4px;
	background-color: var(--red);
}

.bun{
	margin: 4px 0;
}

.navbar-nav {
    flex-direction: row;
    justify-content: center;
    padding-bottom: 90px;
	padding-top: 10px;
}

.menu-item {
    display: inline-flex;
    background-color: white;
    margin: 0 15px;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.5;
}

.nav-link {
    padding: 15px !important;
    font-weight: 700;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
    text-transform: uppercase;
}

.menu-item:hover {
	transform: perspective(1px) scale(1.05);
}

.navbar-toggler:not(.collapsed) .patty{
	background-color: transparent;
}







/* ----------------- FOOTER ----------------- */

footer{
	background-color: var(--lightblue);	
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 200px;
	padding: 50px 65px 50px 65px;
}

.home footer{
	margin-top: 30px;
}

footer .row{
	justify-content: center;
}

.footer-left {
    margin-right: 30px;
    padding-right: 30px;
    border-right: 4px solid var(--red);
    display: flex;
    align-items: flex-end;
}

.footer img{
	width: 75px;
	margin-right: 20px;
	margin-top: -10px;
    transform: translateY(-4px);
}

.dwg {
    height: 30px;
    color: var(--blue);
    font-size: 10px;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dwg a{
	opacity: 0.5;
}

.dwg a:hover{
	text-decoration: none;
	opacity: 1;
}






/* ----------------- ELEMENTS ----------------- */

#lay-intro-home, #lay-intro{
	position: relative;
}

#lay-intro-home h1, #lay-intro h1{
    /* width: calc(100% + 50% + 30px); */
    z-index: 1;
    position: relative;
}

#lay-linkboxes{
	margin-top: 200px;
	margin-bottom: -100px;
}

#lay-contact{
	margin-top: 200px;
	padding-top: 150px;
	padding-bottom: 150px;
	background-color: var(--lightblue);
    margin-left: 30px;
    margin-right: 30px;
	position: relative;
}

#lay-contact:before{
	content: ' ';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url('img/al-icon-reduced.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 80%;	
	opacity: 0.04;
}

#lay-text-only{
	margin-top: 200px;
	margin-bottom: 200px;
}

#lay-text{
	margin-top: 200px;
}

#lay-gallery{
	margin-top: 200px;
}

.intro-home-img{
	height: 100%;
	width: calc( 100% + ( 100vw - var(--containersize) ) / 2 - 15px );
    background-size: cover;
    background-position: center center;
}

.intro-seperator{
	height: 4px;
	width: calc( 100% + ( 100vw - var(--containersize) ) / 2 - 15px );
	margin-left: calc( ( ( 100vw - var(--containersize) ) / 2 ) * -1 + 15px );
	background-color: var(--red);
	margin-bottom: 80px;
}

.intro-bg {
    background-color: var(--lightblue);
    width: calc(100% - 60px);
    height: 80vw;
    position: absolute;
    top: 0;
    left: 30px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 25%, 0% 100%);
    z-index: -1;
}

.linkbox:hover{
	text-decoration: none;
}

.linkbox:hover .linkbox-img-wrap{
	transform: scale(1.05);
}

.linkbox .row{
	margin-bottom: 100px;
}

.linkbox img{
	width: 100%;
}

.linkbox h3{
	padding-left: 15px;
	margin-bottom: 50px;
}

.linkbox h3:after{
    content: ' ';
    display: block;
    width: 165px;
    height: 4px;
    background-color: var(--red);
    margin-top: 45px;
	margin-left: -100px;
}

.linkbox .link-headline {
    display: flex;
    align-items: end;
	z-index: 1;
}

.linkbox-img-wrap{
	width: 100%;
	height: 5px;
	padding-top: 100%;
    background-size: cover;
    background-position: center center;
}

.link-special h3{
	text-align: right;
}

.link-special h3:after {
	margin-left: calc(100% - 65px);
}

#lay-contact h2{
	margin-bottom: 50px;
}

.contact-box{
	text-transform: uppercase;
	font-weight: 700;
	font-size: 25px;
    letter-spacing: 0.15em; /* em nimmt die Schrifthöhe als Ausgangspunkt */
	margin-top: 50px;
}

.phone, .mail{
	width: 25px;
	margin-right: 30px;
	transform: translateY(-2px);
}

.contact-box a{
	display: block;
}

.phone-wrap:after {
    content: ' ';
    display: inline-block;
    width: 218px;
    height: 4px;
    background-color: var(--red);
    transform: translateY(-10px);
    margin-left: 10px;
}

#lay-text h2 {
    margin-bottom: 80px;
}

.gallery-preview{
	width: 100%;
	padding-top: 100%;
    background-size: cover;
    background-position: center center;
}

.gallery-item{
	margin-bottom: 50px;
}

.gallery-item h4 {
    text-align: right;
    position: relative;
    margin-right: 30px;
    padding-right: 20px;
    margin-top: 20px;
}

.gallery-item h4:after {
    content: ' ';
    display: block;
    width: 4px;
    height: 80px;
    background-color: var(--red);
    margin-top: 0px;
    margin-left: 0px;
    position: absolute;
    right: 0;
    top: -50px;
}

.gallery-item:hover{
	text-decoration: none;
}

.gallery-item:hover .gallery-preview{
	transform: scale(1.05);
}

.ds-im h1 {
	font-weight: 700;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.1;
    margin-bottom: 50px;
	margin-top: 0px;
}

.ds-im h2 {
    margin-top: 50px;
    font-size: 20px;
    margin-bottom: 10px;
}

.ds-im h3 {
    margin-bottom: 10px;
    margin-top: 40px;
    font-weight: bold;
    font-size: 16px;
}

.ds-im h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 30px;
}

.ds-im ul {
    padding-left: 15px;
}

.ds-im a {
    color: var(--red) !important;
	word-break: break-all;
}

#lay-gallery h2{
	text-align: center;
	margin-bottom: 50px;
}















/* ------------------------------------------------ MOBILE ------------------------------------------------ */

@media screen and (max-width: 767.98px) { 
	
	:root {
		--containersize: 100%;
	}
	
	.container{
		padding-left: 40px;
		padding-right: 40px;
	}
	
	header .container{
		padding-left: 30px;
		padding-right: 30px;
	}
	
	#lay-intro .container, #lay-intro-home .container{
		padding-left: 60px;
		padding-right: 60px;
	}
	
	h1 {
		font-size: 32px;
		width: 100% !important;
		margin-top: 50px;
    	margin-bottom: 30px;
	}
	
	h2 {
		font-size: 26px;
		margin-bottom: 80px;
	}
	
	h3 {
		font-size: 18px;
	}
	
	#lay-text {
		margin-top: 130px;
	}
	
	#lay-gallery {
		margin-top: 130px;
	}
	
	#lay-linkboxes {
		margin-top: 130px;
		margin-bottom: -30px;
	}
	
	#lay-contact {
		margin-top: 130px;
		padding-top: 80px;
		padding-bottom: 80px;
	}
	
	#lay-text-only {
		margin-top: 100px;
		margin-bottom: 100px;
	}
	
	.intro-seperator {
		width: 75%;
		margin-left: calc(((100vw - var(--containersize)) / 2)* -1 + 30px);
		margin-bottom: 35px;
	}
	
	.intro-home-img {
		height: 270px;
		width: 100%;
	}
	
	.navbar-nav {
		flex-direction: column;
		padding-bottom: 30px;
	}
	
	.menu-item {
		margin: 0;
		margin-bottom: 10px;
	}
	
	.gallery-item {
		margin-bottom: 30px;
	}
	
	footer {
		margin-top: 130px;
		padding: 50px 50px 40px 50px;
	}
	
	.footer-left {
		margin-right: 0px;
		padding-right: 0px;
		border-right: 0;
		flex-direction: column;
		align-items: center;
	}
	
	.footer-left div{
		margin-top: 15px;
	}
	
	.footer-right {
		margin-top: 15px;
	}
	
	footer .row {
		justify-content: center;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.intro-home-text{
		margin-bottom: 40px;
	}
	
	.linkbox .row {
		margin-bottom: 30px;
	}
	
	.linkbox h3 {
		padding-left: 0;
		margin-bottom: 30px;
	}
	
	.linkbox h3:after {
		width: 130px;
		margin-top: 30px;
		margin-left: -60px;
	}
	
	.link-special h3 {
		text-align: left;
	}
	
	.phone-wrap:after {
		display: none;
	}
	
	.contact-box {
		font-size: 18px;
	}
	
	.phone, .mail {
		width: 20px;
		margin-right: 20px;
		transform: translateY(-1px);
	}
	
	.navbar-brand {
		width: 180px;
	}
	
	.gallery-item h4:after {
		display: none;
	}
	
	.gallery-item h4 {
		text-align: center;
		margin-right: 0;
		padding-right: 0;
		font-size: 12px;
	}
	
}
/* ------------------------------------------------ Extra small devices ------------------------------------------------ */

@media screen and (max-width: 575.98px) { 
	
	
	
}












/* ------------------------------------------------ TABLET ------------------------------------------------ */

@media (min-width: 768px) and (max-width: 991.98px) { 
	
	:root {
		--containersize: 720px;
	}
	
	.footer-left {
		margin-right: 0px;
		padding-right: 0px;
		border-right: 0;
		flex: 0 0 100%;
        justify-content: center;
	}
	
	.footer-right {
		margin-top: 20px;
		text-align: center;
	}
	
	footer {
		padding-bottom: 35px;
	}
	
	header .container{
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.intro-home-img {
		height: 300px;
	}
	
	h1 {
		font-size: 55px;
		margin-top: 50px;
	}
	
	#lay-intro-home .container, #lay-intro .container{
		padding-left: 35px;
	}
	
	.intro-seperator {
		margin-left: calc(((100vw - var(--containersize)) / 2)* -1 + -5px);
	}
	
	h3 {
		font-size: 18px;
	}
	
	.linkbox h3 {
		margin-bottom: 30px;
		padding-left: 0px;
	}
	
	.linkbox h3:after {
		margin-top: 30px;
	}
	
	.linkbox .row {
		margin-bottom: 80px;
	}
	
	#lay-linkboxes {
		margin-bottom: -80px;
	}
	
}













/* ------------------------------------------------ Small Computers ------------------------------------------------ */

@media (min-width: 992px) and (max-width: 1199.98px) { 
	
	:root {
		--containersize: 960px;
	}
	
	#lay-intro-home .container, #lay-intro .container{
		padding-left: 35px;
	}
	
	.intro-seperator {
		margin-left: calc(((100vw - var(--containersize)) / 2)* -1 + -5px);
	}
	
	header .container{
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.intro-home-img {
		height: 400px;
	}
	
}











