/*
 Theme Name:     Zimmermann
 Theme URI:      https://www.aceArt.de
 Description:  	 Zimmermann Theme
 Author:         aceArt
 Author URI:     https://www.aceArt.de
 Template:       Divi
 Version:        1.1
*/

:root {
	--color-white: #fff;
	--color-off-white: #EBE9E9;
	--color-grey: #7D847E;
	--color-dark-grey: #363936;
	--color-green: #AFCB38;

	--box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);

	--font-family-light: "roboto-light", Arial, Helvetica, sans-serif;
	--font-family-regular: "roboto-regular", Arial, Helvetica, sans-serif;
	--font-family-bold: "roboto-black", Arial, Helvetica, sans-serif;

	--font-size-h1: 65px;
	--font-size-h2: 32.5px;
	--font-size-h3: 32.5px;
	--font-size-subheadline: 30px;
	--font-size-intro: 22.5px;
	--font-size-p: 16px;
	--font-size-button: 15px;
	--font-size-footer: 13px;

	--line-height-h1: 65px;
	--line-height-h2: 40px;
	--line-height-h3: 40px;
	--line-height-subheadline: 24px;
	--line-height-intro: 35px;
	--line-height-p: 24px;

}

@media(max-width:1400px) {
	:root {
		--font-size-h3: 28px;
		--line-height-h3: 34px;
	}
}

@media(max-width:1200px) {
	:root {
		--font-size-h3: 26px;
		--line-height-h3: 32px;
	}
}

@media (max-width:980px) {
	:root {
		/* --font-size-h1: 40px; */
		/* H1 Nicht im Design :| */
		--font-size-h1: 25px;
		--font-size-h2: 25px;
		--font-size-h3: 22px;
		--font-size-s: 20px;
		--font-size-subheadline: 15px;
		--font-size-intro: 15px;
		--font-size-p: 15px;
		--font-size-xs: 13px;
		--font-size-button: 13px;


		--line-height-h1: 30px;
		--line-height-h2: 30px;
		--line-height-h3: 30px;
		--line-height-subheadline: 23px;
		--line-height-intro: 23px;
		--line-height-p: 23px;
	}
}

@media (max-width:767px) {
	:root {
		--font-size-h3: 22px;
	}
}

body {
	background-color: var(--color-grey);
	font-family: var(--font-family-light);
	max-width: 1920px;
	margin: auto;
	background-color: #F5F4F4;
}

header {
	position: relative;
	z-index: 9;
}

strong {
	font-family: var(--font-family-bold) !important;
	font-weight: unset !important;
}

h3 strong {
	display: inline-block;
}

.subheadline,
.subheadline :is(p) {
	font-size: var(--font-size-subheadline);
	line-height: var(--line-height-subheadline);
	font-family: var(--font-family-bold);
}

.post-template-default .intro :is(p, .et_pb_text_inner),
.intro :is(p) {
	font-family: var(--font-family-light);
	font-size: var(--font-size-intro);
	line-height: var(--line-height-intro);
}

h1 {
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	font-family: var(--font-family-light);
}

h2 {
	font-size: var(--font-size-h2);
	line-height: var(--line-height-h2);
	font-family: var(--font-family-light);
}

h3,
h3 {
	font-size: var(--font-size-h3) !important;
	line-height: var(--line-height-h3);
	font-family: var(--font-family-light);
}

.et-db #et-boc .et-l h1::before,
.post-date .published::before,
h1::before {
	content: url(/wp-content/themes/child-theme/images/pfeil_headline_gruen.svg);
	display: inline-block;
	width: 39px;
	margin-right: 18px;
}


h2::before,
h3::before,
.blog-carousel article .published:before {
	content: url(/wp-content/themes/child-theme/images/pfeil_headline_gruen.svg);
	display: inline-block;
	width: 22px;
	margin-right: 9px;
	transition: rotate 0.4s;
}

.stroke-text {
	display: inline-block;
	font-size: 90px;
	line-height: 1;
	background-image: linear-gradient(135deg, #afcb38 0%, #afcb38 50%, transparent 50.1%);
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #afcb38;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	transition: background-size 0.8s cubic-bezier(0.67, 0.01, 0.15, 0.98);
	background-size: 0 100%;
	background-repeat: no-repeat;
	font-family: var(--font-family-bold);
}

.stroke-text:hover {
	background-size: 220% 100%;
}

.et_pb_image_wrap {
	line-height: 0;
}

.et-db #et-boc .et-l .et_pb_column {
	min-height: 0px !important;
}

.header-shadow .et_pb_column::before {
	content: "";
	background-image: linear-gradient(to bottom, #000000ad -6%, #ffffff00 30%);
	width: 100%;
	height: 100%;
	background-size: cover;
	color: white;
	display: inline-block;
	position: absolute;
	z-index: 2;
}

#page-container #et-boc .header-shadow .et_pb_column .et_pb_image {
	margin-bottom: 0;
}

@media only screen and (max-width: 1620px) {
	.stroke-text {
		font-size: 60px;
	}
}

@media(max-width:1200px) {

	.header-shadow,
	.et-db #et-boc .et-l .et_pb_row.header-shadow {
		margin-top: 70px;
	}
}

@media only screen and (max-width: 980px) {
	.stroke-text {
		font-size: 50px;
	}

	.intro :is(p) {
		font-family: var(--font-family-regular);
	}
}

@media only screen and (max-width: 767px) {

	.et-db #page-container #et-boc .et-l .et_pb_row_3_tb_body,
	body.et-db #page-container .et-db #et-boc .et-l #et-boc .et-l .et_pb_row_3_tb_body.et_pb_row,
	body.et_pb_pagebuilder_layout.single.et-db #page-container #et-boc .et-l #et-boc .et-l .et_pb_row_3_tb_body.et_pb_row,
	body.et_pb_pagebuilder_layout.single.et_full_width_page.et-db #page-container #et-boc .et-l .et_pb_row_3_tb_body.et_pb_row {
		width: 80%;
	}

	.stroke-text:hover {
		background-size: 0 100%;
	}

	.et-db #et-boc .et-l h1::before,
	h1::before,
	h2::before,
	h3::before,
	.blog-carousel article .published::before {
		rotate: 0;
	}
}

p,
span {
	font-size: var(--font-size-p);
	font-family: var(--font-family-regular);
	line-height: var(--line-height-p);
}



@media only screen and (max-width: 980px) {

	.et-db #et-boc .et-l h1::before,
	h1::before {
		width: 20px;
	}

	.post-date .published::before,
	h2::before,
	h3::before {
		width: 18px;
	}
}

/* #region Text-Colors */
.text-white,
.text-white :is(p, span, h1, h2, h3) {
	color: var(--color-white);
}

.text-off-white,
.text-off-white :is(p, span) {
	color: var(--color-off-white);
}

.text-green,
.text-green :is(p, span, h1, h2, h3, h4) {
	color: var(--color-green);
}

.text-grey,
.text-grey :is(p, span, h1, h2, h3, h4) {
	color: var(--color-grey);
}

.text-dark-grey,
.text-dark-grey :is(p, span, h1, h2, h3, h4) {
	color: var(--color-dark-grey);
}

/* #endregion Text-Colors */

/* #region Backgrounds */
.et-db #et-boc .et-l .background-white,
.background-white {
	background-color: var(--color-white);
}

.et-db #et-boc .et-l .background-off-white,
.background-off-white {
	background-color: var(--color-off-white);
}

.et-db #et-boc .et-l .background-grey,
.background-grey {
	background-color: var(--color-grey);
}

.et-db #et-boc .et-l .background-dark-grey,
.background-dark-grey {
	background-color: var(--color-dark-grey);
}

.et-db #et-boc .et-l .background-green,
.background-green {
	background-color: var(--color-green);
}

/* #endregion Backgrounds */

/* #region Buttons */
.zimmermann-inline-buttons .et_pb_button_module_wrapper {
	display: inline-block;
}

:is(a.zimmermann-button, .zimmermann-button a, .header-button.zimmermann-button) {
	padding: 10px 20px;
	transition: 0.3s;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	position: relative;
	outline: none;
}

.zimmermann-button.green {
	border: 2px solid var(--color-green);
	background-color: transparent;
	color: var(--color-green);
	font-family: var(--font-family-bold);
}

body .zimmermann-button.green:hover {
	background-color: var(--color-green);
	color: var(--color-white) !important;
}

.zimmermann-button.grey {
	border: 2px solid var(--color-grey);
	background-color: var(--color-grey);
}

.zimmermann-button.grey:hover {
	background-color: transparent;
}

/* #endregion Buttons */


/* #region list points*/

.et_pb_text_inner ul {
	padding-left: 20px;
}

.et_pb_toggle_content li,
.et_pb_blurb_description li,
.et_pb_text_inner li {
	position: relative;
	list-style-type: none;
	line-height: 29px;
	font-size: var(--font-size-p);
	font-family: var(--font-family-regular);
}

.et_pb_toggle_content li:before,
.et_pb_blurb_description li::before,
.et_pb_text_inner li::before {
	content: "";
	position: absolute;
	top: 11px;
	left: -25px;
	width: 17px;
	height: 7px;
	background-repeat: no-repeat;
	background-size: 17px;
	background-image: url("/wp-content/uploads/2023/07/bulletpoint_gruen.svg");
}

.et_pb_toggle_content ul,
.et_pb_blurb_description ul,
.et_pb_text_inner ul {
	padding-left: 25px;
}

@media(max-width:980px) {

	.et_pb_blurb_description li,
	.et_pb_text_inner li,
	.et_pb_toggle_content li {
		line-height: 23px;
	}

	.et_pb_blurb_description li::before,
	.et_pb_text_inner li::before,
	.et_pb_toggle_content li:before {
		top: 8px;
	}
}

/* #endregion list points*/

/* #region outline Headline*/
.outline-row {
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	max-width: 1620px;
	top: 0;
}

.dnxt-text-stroke-fill-wrapper h2 {
	font-family: var(--font-family-bold);
}

.dnxt-text-stroke-fill-wrapper h2::before {
	content: none;
}

/* #endregion outline Headline */


/* #region Button*/

/*databutton*/
body #page-container .et_pb_section .et_pb_button.data-button.zimmermann-button::after,
.data-button.zimmermann-button::after {
	content: "" !important;
	background-image: url("/wp-content/uploads/2023/07/icon_download_gruen.svg");
	background-size: 20px;
	width: 20px;
	height: 20px;
	display: block;
	position: absolute;
	top: 12px;
	left: 5px !important;
}

.et_pb_button.data-button.zimmermann-button:hover::after {
	background-image: url("/wp-content/uploads/2023/08/icon_download_weiss.svg");
}

.data-button-container {
	transition: 0.5s ease-in-out;
	margin-right: 40px;
}

.data-button-container .et_pb_button_module_wrapper {
	background-color: var(--color-green);
	padding: 0;
	clip-path: polygon(0 0, 100% 0, 83% 100%, 0% 100%);
	width: 203px;
	height: 50px;

	bottom: 45px;
}

.data-button-container .data-button {
	display: flex !important;
	align-items: center;
	padding-left: 50px !important;
	width: 200px;
	height: 50px;
	background-color: var(--color-dark-grey) !important;
	clip-path: polygon(0 0, 100% 0, 83% 100%, 0% 100%);
	white-space: nowrap;
	top: 0px;
}

body .data-button-container .et_pb_button.data-button:hover {
	background-color: var(--color-green) !important;
}

@media(max-width:980px) {
	.data-button-container .et_pb_button_module_wrapper {
		bottom: 0px;
	}
}

/*databutton*/

.et_pb_button_module_wrapper a.et_pb_button:hover {
	background-color: #363936 !important;
}

blockquote,
.material-button .et_pb_text_inner a,
.material-button .et_pb_text_inner a:hover,
body #page-container .et_pb_section .et_pb_button.arrow,
body #page-container .et_pb_section .et_pb_button.arrow:hover {
	background: var(--color-grey);
	font-family: var(--font-family-bold);
	font-size: var(--font-size-button);

	padding: 8px 40px 6px 15px !important;
	clip-path: polygon(calc(100% - 30px) 0%, 0 0, 0 100%, calc(100% - 0px) 100%, 100% 100%);
	-webkit-clip-path: polygon(calc(100% - 30px) 0%, 0 0, 0 100%, calc(100% - 0px) 100%, 100% 100%);
	color: var(--color-white);
	text-transform: uppercase;
	transition: ease-in 0.3s;
}


blockquote a,
blockquote:hover a {
	padding: 0px;
	color: var(--color-white);
	text-transform: uppercase;
	transition: ease-in 0.3s;
	padding: 0px;
	font-family: var(--font-family-bold);
	font-size: var(--font-size-button);
	line-height: var(--line-height-p);
}

blockquote p a {
	z-index: 10;
}

.material-button .et_pb_text_inner a:hover,
blockquote:hover,
body #page-container .et_pb_section .et_pb_button.arrow:hover {
	background: var(--color-dark-grey);
}

/* button in wysiwyg editor add link + make blockquote*/
blockquote {
	border-left: none;
	padding-left: 0px;
	margin-bottom: 0px;
	width: fit-content;
}

/** iPhone hack for overlapping button #33 */
@supports (-webkit-touch-callout: none) {
	blockquote {
		margin-top: 90px;
	}
}

/* #endregion Button*/


/* .header-image-section {
    height: 100vh;
    max-height: 850px;
} */
/*contact header*/
.contact-section.header-image-section {
	display: flex;
	height: 100vh;
	max-height: 850px;
}

@media(max-width:980px) {
	.header-image-section {
		max-height: 500px;
		margin-top: 70px;
	}

	.tablet-full.header-image-section {
		max-height: initial;
	}

	.contact-section.header-image-section {
		max-height: 450px;
	}
}

@media(max-width:767px) {
	.header-image-section {
		max-height: 300px;
	}

	.contact-section.header-image-section {
		max-height: 280px;
	}
}

/* #region Suchergebnisse */
.search-results article {
	background-color: var(--color-white);
	padding: 30px;
}

.search-results article.et_pb_post .entry-title {
	color: var(--color-dark-grey);
	font-size: var(--font-size-h2);
	line-height: var(--line-height-h2);
	padding-bottom: 10px;
}

.search-results article.et_pb_post .post-meta {
	color: var(--color-dark-grey);
}

.search-results article .post-content p {
	color: var(--color-dark-grey);
}

/* #endregion Suchergebnisse */

/*#region make blog clickable*/

/*add a neceassry position to the blog posts*/
.et_pb_blog_grid .et_pb_post,
.et_pb_posts .et_pb_post {
	position: relative;
}

/*make the title link spread over the entire post*/
.et_pb_blog_grid .et_pb_post .entry-title a:after,
.et_pb_posts .et_pb_post .entry-title a:after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

/*change the mouse cursor into a pointer*/
.et_pb_blog_grid .et_pb_post:hover,
.et_pb_posts .et_pb_post:hover {
	cursor: pointer;
}

/*#endregion make blog clickable*/

@keyframes fade-left {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-10%);
		transform: translateX(-10%);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes fade-bottom {
	0% {
		opacity: 0;
		-webkit-transform: translateY(10%);
		transform: translateY(10%);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}