/*
	Theme Name: Herzberg, Ludwig & Co. GmbH 2024
	Theme URI: https://www.h-l-c.gmbh/
	Description: Herzberg, Ludwig & Co. GmbH 2024 Theme
	Version: 1.0
	Author: Christoph Karnebogen, Mirco Hueneke
	Author URI: http://www.diewildengestalten.de
*/

/* ------------------- WEBFONT IMPORT (via Google Fonts) ------------------- */

/* lato-300 - 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: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-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: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/eb-garamond-v27-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-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: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/eb-garamond-v27-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: #003a76; /* #003a76 #012346 */
	--red: #bf0517;
	--lightblue: #3c8da7;
	
	--containersize: 1140px;
}



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

body{
	font-family: 'Lato';
	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-family: 'EB Garamond';
	font-weight: 400;
    font-size: 55px;
    text-transform: uppercase;
    line-height: 1.1;
	margin-top: 100px;
	margin-bottom: 100px;
}

h2 {
	font-family: 'EB Garamond';
	font-weight: 400;
    font-size: 42px;
    text-transform: uppercase;
    line-height: 1.1;
}

h3 {
	font-family: 'EB Garamond';
	font-weight: 400;
    font-size: 25px;
    text-transform: uppercase;
    line-height: 1.1;
}

h4 {
	font-family: 'EB Garamond';
	font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.1;
}





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




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

.navbar {
    padding: 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand{
	width: 300px;
	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(--blue);
}

.bun{
	margin: 4px 0;
}

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

.navbar-collapse {
    justify-content: end;
}

.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;
    text-transform: uppercase;
}

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

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

.custom-nav{
	display: flex;
	margin-bottom: 0px;
}

.custom-nav li{
	display: inline-flex;
	padding-left: 15px;
}







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

footer{
	margin: 0px 30px 30px 30px;
}

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

footer .row{
	justify-content: center;
}

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

.footer img{
	width: 175px;
	margin-right: 50px;
}






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

#lay-intro-home, #lay-intro{
	position: relative;
	background-color: #012346;
	color: white;
}

#lay-intro-home h1, #lay-intro h1{
    z-index: 1;
    position: relative;
}

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

#lay-contact{
	padding-top: 150px;
	padding-bottom: 150px;
	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{
	padding-top: 150px;
	padding-bottom: 150px;
}

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

#lay-references{
	padding-top: 150px;
	padding-bottom: 150px;
	position: relative;
}

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

.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);
}

.contact-box {
    font-weight: 700;
    font-size: 25px;
    margin-top: 50px;
    display: inline-block;
    text-align: left;
}

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

.contact-box a{
	display: block;
}

#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;
    line-height: 1.1;
    margin-bottom: 50px;
	margin-top: 0px;
}

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

.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(--lightblue) !important;
	word-break: break-all;
	text-decoration: underline;
}

.ds-im a:hover {
	text-decoration: none;
}

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

.ref-intro{
	margin-bottom: 150px;
}

.fact-bar{
	margin-top: 10px;
	margin-bottom: 30px;
}

.ref-seperator{
	border-bottom: 1px solid var(--blue);
    margin-top: 80px;
    margin-bottom: 100px;
}

.gallery-btn{
    background-color: var(--blue);
    color: white;
    display: inline-block;
    padding: 10px 15px;
    float: right;
    font-weight: bold;
    transform: translateY(-50%);
}

#lay-text li {
	display: inline;
}

#lay-text li:after {
	content: "\A";
	white-space: pre;
}

#lay-text ul li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c"; /* f14a */
    margin-left: -25px;
    padding-right: 10px;
}

#lay-text a {
	text-decoration: underline;
}

#lay-text a:hover {
	text-decoration: none;
}

.ref-box h2{
	margin-top: 50px;
	font-size: 25px;
}

.ref-box{
	margin-bottom: 100px;
	text-align: center;
}

.home #lay-contact{
	padding-top: 0;
}

.home #lay-text li{
    background-color: var(--blue);
    color: white;
    padding: 10px 20px;
    padding-left: 45px;
    display: inline-block;
}













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

@media screen and (max-width: 767.98px) { 
	
	:root {
		--containersize: 100%;
	}
	
	.container{
		padding-left: 40px;
		padding-right: 40px;
	}
	
	#lay-intro .container, #lay-intro-home .container{
		padding-left: 40px;
		padding-right: 40px;
	}
	
	h1 {
		font-size: 32px;
		width: 100% !important;
		margin-top: 50px;
    	margin-bottom: 50px;
		text-align: center;
	}
	
	h2 {
		font-size: 26px;
	}
	
	h3 {
		font-size: 18px;
	}
	
	#lay-text {
		margin-top: 0px;
	}
	
	.home #lay-text {
		padding: 100px 0;
	}
	
	#lay-gallery {
		margin-top: 130px;
	}
	
	#lay-linkboxes {
		margin-top: 130px;
		margin-bottom: -30px;
	}
	
	#lay-contact {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	
	#lay-text-only {
		margin-top: 100px;
		margin-bottom: 100px;
	}
	
    .intro-home-img {
        height: 300px;
        width: 100vw;
    	margin-left: calc( (100vw - var(--containersize)) / 2 * -1 );
    }
	
	.navbar-nav {
		flex-direction: column;
		padding-bottom: 30px;
		padding-top: 0px;
	}
	
	.menu-item {
		margin: 0;
		margin-bottom: 10px;
	}
	
	.gallery-item {
		margin-bottom: 30px;
	}
	
	.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;
	}
	
	.custom-nav {
		display: none;
		margin-bottom: 0px;
	}
	
	.navbar {
		justify-content: left;
	}
	
    .navbar-brand {
        width: 200px;
        margin-right: 0px;
    }
	
	.navbar-toggler {
		position: absolute;
		right: 0;
		top: 50px;
	}
	
	.nav-link {
		padding: 10px !important;	
	}


}
/* ------------------------------------------------ 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;
		text-align: center;
	}
	
	.footer-right {
		margin-top: 20px;
		text-align: center;
	}
	
	h1 {
		font-size: 40px;
	}
	
	#lay-intro-home .container, #lay-intro .container{
		padding-left: 35px;
	}
	
	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;
	}
	
    .navbar-nav {
        padding-bottom: 40px;
        padding-top: 0;
    }
	
}













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

@media (min-width: 992px) and (max-width: 1199.98px) { 
	
	:root {
		--containersize: 960px;
	}
	
	#lay-intro-home .container, #lay-intro .container{
		padding-left: 35px;
	}
	
}











