/*
Theme Name: WDI Mainpage 2024
Author: Simon Schmidt, WOLFRAM Designer und Ingenieure
Author URI: http://wolframdesign.de
Version: 0.1
*/

html, body, button, 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: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* 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;
}
/* CSS reset end */

/* mulish font import */
/* latin-ext 
@font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../wdi-mainpage-2024/fonts/mulish_400_italic_latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }*/
  /* latin */
  @font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(./fonts/mulish_400_italic_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin-ext 
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../wdi-mainpage-2024/fonts/mulish_400_latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }*/
  /* latin */
  @font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(./fonts/mulish_400_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin */
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(./fonts/mulish_600_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* latin */
@font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url(./fonts/mulish_600_italic_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin */
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(./fonts/mulish_700_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin */
@font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url(./fonts/mulish_700_italic_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin-ext 
@font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 900;
	font-display: swap;
	src: url(../wdi-mainpage-2024/fonts/mulish_900_italic_latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }*/
  /* latin */
  @font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 900;
	font-display: swap;
	src: url(./fonts/mulish_900_italic_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
/* latin-ext 
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url(../wdi-mainpage-2024/fonts/mulish_900_latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }*/
  /* latin */
  @font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url(./fonts/mulish_900_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

:root{
	--clear: #FFFFFF; 
	--lightgrey: rgb(250,250,250); 
	--deepdark: #101010;
	--accentsrf: #00b4bb; 
	--accenttypo: #007979; 
	--lightcolor: #e5f7f8; 
	--darkcolor: #235861;
	--colorgradient: linear-gradient(32deg, #8dc63f,#39bb9d);
	--lightgradient: linear-gradient(32deg, #f0f7e8, #ebf6f1);
	--bigradius: 16px;
	--mediumradius: 20px;
	--smallmargin: 16px;
	--mediummargin: 32px;
	--bigmargin: 64px;
}

*, ::before, ::after { 
	box-sizing: border-box; 
	-webkit-transition: color .2s, background-color .2s, border .2s; 
	transition: color .2s, background-color .2s, border .2s;
  }

html{
	font-size:1em;
	width:100%;
	height:100%;
	font-family: 'Mulish', sans-serif;
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body{
	min-height:100%;
	width:100%;
	padding-bottom:40px;
	min-width:320px;
}

.hero-width{
    width:calc(100% - 112px);
	max-width: 1448px;
	margin-left:auto;
	margin-right:auto;
}

.main-width{
	width:calc(100% - 160px);
	max-width:1400px;
	margin-left:auto;
	margin-right:auto;
}

.content-width{
    width:calc(100% - 280px);
    max-width:980px;
}

.sidebar-width{
	width:280px;
}

.clear:after{
    content: '';
    display: block;
    clear: both;
}

.flex{
	display:flex;
}

.space-between{
	justify-content:space-between;
}

.left{
	text-align:left;
}

.right{
	text-align:right;
}

#main_navigation{
    background-color: rgba(248, 248, 248, .72);
    margin-top: 40px;
    padding: 24px 40px;
	padding:14px 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 16px;
    z-index: 999;
	-webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

a#homelink{
	height:48px;
	margin-right:auto;
}

#Logo{
	width: auto;
	height: 100%;
}

#Logo:hover #wolfram, #Logo.hover-active #wolfram{
	transform: translateY(-6.25px);
	transition: transform 0.4s ease-out;
}

#Logo:hover #designer-und-ingenieure, #Logo.hover-active #designer-und-ingenieure{
	transform: translateY(-12.5px);
	transition: transform 0.4s ease-out;
}

#Logo #wolfram {
	transform: translateY(0);
	transition: transform 0.4s ease-out;
}

#Logo #designer-und-ingenieure {
	transform: translateY(0);
	transition: transform 0.4s ease-out;
}

a.homelink{
	line-height:1em;
	margin-right:auto;
}

.homelink img{
    height: 32px;
    width: auto;
}

#main_navigation>ul{
    display: flex;
    column-gap: 48px;
	margin-right: 48px;
}

#main_navigation ul li a{
	text-decoration:none;
	color:black;
	line-height:24px;
	font-weight:600;
}

#main_navigation ul li.current-menu-item a {
    font-weight: bold;
    color: rgb(16, 160, 96);
}

#main_navigation .envelope, #main_navigation #navtoggle{
	height:24px;
	width:24px;
	overflow:hidden;
}

#navtoggle{
	display:none;
}

#main_navigation a.envelope::before{
	content:url(./img/envelope.svg);
}

#main_navigation #navtoggle::before{
	content:url(./img/menu.svg);
}

#main_navigation.opennav #navtoggle::before{
	content:url(./img/close.svg);
}

#main_navigation>ul>li>ul{
	display:none;
}

section{
	margin-top:96px;
}

section.previous-section{
	margin-top:40px;
}

.editor-counter {
    position: sticky;
    top: 15%;
}

#footer{
    background-color: var(--lightgrey);
    padding: 40px 40px 12px;
    border-radius: 16px;
}

#footer p, #footer a{
	line-height:1.4em;
}

#footer .homelink img{
	margin-bottom:24px;
}

#footer hr{
    border: 1px solid white;
    margin: 16px 0;
}

.footermenus{
    display: flex;
    gap: 48px;
}

.footermenus p.navtitle{
	font-weight:900;
	margin-bottom:8px;
}

#footer_navigation>span:not(:last-child)::after{
	content:'|';
	padding:0 8px;
}

h1{
	font-size:3em;
	font-weight:900;
	line-height:1.25em;
	margin-bottom:1em;
	letter-spacing:1.4px;
}

.referenzheader h1{
	margin-bottom:.25em;
}
.referenzheader{
	display:flex;
	justify-content: space-between;
}
.referenzheader #projectnav{
	justify-content: flex-end;
	gap:12px;
	height:36px;
}
#projectnav svg, #projectnav svg path {
    fill: black;
}
.projektliste, .related-posts{
	display:grid;
	grid-template-columns: repeat(3, 1fr);
	gap:48px 24px;
}
.projektliste a, .related-posts a{
	display:block;
}
.projektliste.has-hero a:first-child{
	grid-column:span 3;
}
.projektliste a img, .related-posts a img{
    width: 100%;
    object-fit: cover;
	aspect-ratio: 2 / 1;
	background-color:var(--lightgrey);
	border-radius: 8px;
}
.projektliste.has-hero a:first-child img{
	aspect-ratio: 3 / 1;
	width:100%;
	height:auto;
}
.projektlink{
	align-items:center;
	gap:24px;
}
.projektlink svg{
    fill: black;
    height: 24px;
    width: 24px;
    opacity: .4;
    transition: all .5s;
}
.projektlink_wrapper:hover svg{
	opacity:.8;
}
.projektlink p{
	font-weight:400;
	color:black;
	line-height:1.4em;
}
.projektlinktitel{
	font-weight:600;
}

.awards{
	margin-bottom:24px;
}
/*
.projektliste a{
    color: black;
    margin-bottom: 48px;
    display: inline-block;
	width:100%;
}
.projektliste a:not(:first-child){
    width: calc((100% - 48px) / 3);
    float: left;
	margin-right:24px;
}
.projektliste a:nth-child(3n+1) {
    margin-right: 0;
}
.projektliste a img{
    width: 100%;
    object-fit: cover;
	aspect-ratio: 2 / 1;
	background-color:var(--lightgrey);
	border-radius: 8px;
}
.projektliste a:first-child img{
	aspect-ratio: 3 / 1;
	width:100%;
	height:auto;
}
.projektlink {
    margin: 1em 0 0;
}*/
.circle {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 1em;
    text-align: center;
    padding-top: 7px;
}

svg.linkinactive {
    opacity: .24;
}

h2{
	font-size:2em;
	line-height:1.4em;
	margin-bottom:.8em;
	font-weight:600;
}

h3{
	font-weight:bold;
	text-transform:uppercase;
	margin-bottom:1em;
	line-height:1.4em;
}

p, a{
	font-size:18px;
	line-height:1.8em;
}

pre{
	font-size:18px;
	line-height:1.8em;
	text-transform:uppercase;
	color:#10a060;
	font-weight:600;
}

strong{
	font-weight:700;
}

ol, ul {
    list-style: none;
}

.editor ul li {
    list-style: disc;
    line-height: 1.8em;
    margin-bottom: 15px;
    margin-left: 30px;
    padding-left: 15px;
	font-size:18px;
}

p:not(:last-child){
	margin-bottom:.8em;
}

a{
	text-decoration:none;
	font-weight:600;
	color:rgb(16, 160, 96);
}

button{
	display:inline-block;
	line-height:44px;
	height:44px;
	width:auto;
	max-width:100%;
	border-radius:22px;
	padding:0 16px;
	text-align:center;
	align-self:start;
	font-size: 18px;
	background:var(--lightgrey);
}

.button-1, .button-2{
	display:inline-block;
	line-height:44px;
	height:44px;
	width:auto;
	max-width:100%;
	border-radius:22px;
	padding:0 24px;
	text-align:center;
	align-self:start;
	font-size: 16px;
	margin-right:auto;
}

.button-1{
	background:var(--colorgradient);
	color:white;
}

.button-2{
	background:var(--lightgradient);
	color:rgb(16, 160, 96);
}

.mejs-controls button{
	border-radius:0;
}

.tags li {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 20px;
    margin-right: 8px;
	margin-bottom:8px;
}

.tags li.branchen-tag{
	background:rgba(16, 160, 96, .16);
}

.tags li.leistungen-tag{
    border: 1px solid silver;
}

@media(max-width:1280px){

	#main_navigation>ul{
		column-gap: 24px;
		margin-right:24px;
	}
	#main_navigation ul li a {
		font-weight: 400;
	}
	#main_navigation ul li.current-menu-item a {
		font-weight: 600;
	}
	section{
		margin-top:48px;
	}
}

@media(max-width:980px){

	body {
		padding-bottom: 8px;
	}
	#main_navigation{
		padding:16px 24px;
		margin-top:8px;
		top:8px;
	}
	.hero-width{
		width:calc(100% - 16px);
	}
	.main-width{
		width:calc(100% - 40px);
	}
	.content-width{
		width:100%;
	}
	.sidebar-width{
		width:100%;
	}
	h1{
		font-size:2em;
		letter-spacing:1.2px;
	}
	h2{
		font-size:1.6em;
		line-height:1.2em;
	}
	p, a, ul li, ol li, button, pre{
		font-size:16px;
	}
	.projektliste{
		grid-template-columns: repeat(2, 1fr);
	}
	.projektliste.has-hero a:first-child{
        grid-column: span 2; 
    }
	.referenzheader .sidebar-width.editor-counters{
		width:auto;
		margin-top:0;
	}

}
@media(max-width:840px){

	#main_navigation>ul{
		display:none;
		position: fixed;        
		top: 0;
        left: 0;
        background: white;
        height: 100vh;
        width: 100%;
		flex-direction:column;
		justify-content: center;
        text-align: center;
	}
	#main_navigation.opennav>ul{
		display:flex;
	}
	#main_navigation>ul a{
		padding:24px 36px;
		border-bottom:1px solid #f4f4f4;
		display:block;
	}
	#main_navigation>ul li:last-child a{
		border-bottom:none;
	}
	#navtoggle{
		display:block;
		z-index:99;
		width:24px;
		height:24px;
		justify-content:center;
		align-items: center;
		margin-left:24px;
		cursor:pointer;
	}
	#footer{
		padding:24px;
	}
	#footer .footermenus{
		display:block;
		margin-top:24px;
	}
	#footer .flex{
		flex-direction:column;
	}
	#footer .flex.keepflex{
		flex-direction:row;
	}
	.footermenus p.navtitle{
		display:flex;
		justify-content: space-between;
		margin-top:12px;
		margin-bottom:0;
		padding:12px;
		text-align:left;
		background-color:white;
		border-radius:8px;
		font-weight:400;
	}
	.navtitle:after {
		content: '\002B';
		font-weight: 400;
		margin: 0 8px;
		text-align: center;
		font-size: 1.4em;
		align-self: center;
	}
	.services_navigation, .company_navigation{
		max-height:0;
		overflow:hidden;
		transition:max-height 0.2s ease-out;
		border-radius: 0 0 8px 8px;
	}
	p.openfooternav.navtitle{
		border-radius: 8px 8px 0 0;
	}
	.services_navigation li, .company_navigation li{
		display:block;
		padding:12px;
		text-align:left;
		background-color:white;
	}
}

@media(max-width:720px){
	.projektliste, .related-posts{
		grid-template-columns: 1fr;
	}
	.projektliste a:first-child, .projektliste.has-hero a:first-child{
        grid-column: span 1; 
    }
	.projektliste a:first-child img, .projektliste.has-hero a:first-child img{
		aspect-ratio: 2 / 1;
	}
	.projektlink{
		gap:12px;
	}
	.referenzheader{
		flex-direction:column-reverse;
		margin-top:24px;
		gap:24px;
	}
	.referenzheader .editor-counters{
		justify-content: center;
	}
	.referenzheader #projectnav{
		gap:24px;
	}

	h1{
		font-size:1.6em;
	}
	h2{
		font-size:1.4em;
	}
	.tags li {
		padding: 6px 10px;
		border-radius: 14px;
		font-size:.88em;
	}
	#Logo:hover #wolfram{
		transform: translateY(0);
	}
	
	#Logo:hover #designer-und-ingenieure{
		transform: translateY(0);
	}
	a#homelink {
		height: 48px;
		margin-right: auto;
	}
}