/*!
Theme Name: DKA Builder
Theme URI: https://digitale-kreativ-agentur.de/
Author: Christoph Benderoth
Author URI: https://www.webcoon.de
Description: Theme für DKA Builder von webcoon
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dkabuilder
Tags:

*/


/*--------------------------------------------------------------
# GLOBAL
--------------------------------------------------------------*/

body {
	font-weight: 400;
	line-height: 1.5em;
	font-size: var(--text-size);
	font-family: var(--text-font-family);
	padding: 0;
	margin: 0;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	color: var(--color-text);
	overflow-y: unset !important;
}

*, *:after, *:before {
	box-sizing: border-box;
}

a {
	color: var(--color-text);
	text-decoration: none;
}

p a {
	color: var(--color-text);
	text-decoration: none;
}

a:hover, p a:hover {
	text-decoration: underline;
}

p {
	margin: 0 0 15px;
}

p:last-child, p:only-child {
	margin: 0;
}

input, textarea {
	box-shadow: unset;
	outline: unset;
	color: var(--color-text);
    font-family: 'Quicksand', sans-serif;
}

strong {
	font-weight: 650;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

img, video {
	width: 100%;
	height: auto;
	display: block;
}

::placeholder { 
	color: var(--color-text);
	opacity: 0.8; 
}
  
:-ms-input-placeholder { 
    color: var(--color-text);
}

::-ms-input-placeholder { 
    color: var(--color-text);
}

.overflow-hidden, .overflow-hidden body {
	overflow: hidden;
}


/*--------------------------------------------------------------
# PAGE
--------------------------------------------------------------*/

#content {
	display: flex;
	flex-direction: column;
	gap: calc(var(--gap) * 2);
	overflow: hidden;
}

#content > section {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	position: relative;
	z-index: 1;
}

.row {
	margin: 0 auto;
	width: var(--width);
	max-width: var(--maxwidth);
	display: grid;
	gap: var(--gap) calc(var(--gap) * 2);
}

.row > .row {
	width: 100%;
	max-width: unset;
}

.row-2 {
	grid-template-columns: 1fr 1fr;
}

.row-2-1 {
	grid-template-columns: 2fr 1fr;
}

.row-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.row-4 {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.fullwidth {
    max-width: unset;
    width: 100%;
}

a.button {
	background: var(--color-main);
	border: 1px solid var(--color-main);
	font-size: var(--font-size) !important;
	transition: all .3s ease;
  	background-position: left;
  	background-size: 100% 100%;
	cursor: pointer !important;
	color: #fff !important;
	display: inline-flex !important;
	align-items: center;
	padding: 10px 30px;
	line-height: 1em;
	border-radius: 100px;
	text-decoration: unset !important;
}

a.button:hover {
	background-size: 400% 100%;
	transition: all .6s ease;
}

.subline {
	margin-bottom: 10px;
}

.subline:last-child {
	margin-bottom: 0px;
}

section .headline, section .text {
	margin-bottom: 30px;
}

.headline:last-child, .text:last-child {
	margin-bottom: 0px;
}

.subline * {
	font-size: var(--subline-size);
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: 400;
}

.headline * {
	font-size: var(--headline-size);
	line-height: 1.2em;
	font-weight: 650;
}

.br img {
	border-radius: var(--br);
}

.center {
	text-align: center;
}


.bg-image img {
	height: 100%;
	object-fit: cover;
}

.bg {
	background: var(--color-bg);
  	padding: calc(var(--gap) * 2) 0;
}

.mt-1 {
	margin-top: var(--gap);
}

.swiper {
	position: relative;
	overflow: hidden;
	-webkit-text-size-adjust: none;
}

.swiper-wrapper {
	display: flex;
}

.swiper-slide {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	position: relative;
}

.swiper-pagination {
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	max-width: var(--maxwidth);
	width: var(--width);
	margin: auto;
	align-items: center;
	display: flex;
	gap: 12px;
	z-index: 9;
}

.swiper-pagination-bullet {
	height: 12px;
	width: 12px;
	background: #fff;
	display: block;
	border-radius: 100%;
	cursor: pointer;
}

.swiper-pagination-bullet-active {
	background: var(--color-main);
}

.swiper-button-next, .swiper-button-prev {
	height: 40px;
	width: 40px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	border: 2px solid var(--color-main);
	position: relative;
	z-index: 2;
	cursor: pointer;
	transition: all .3s ease;
}

.swiper-button-prev img {
	transform: rotate(180deg);
}

.swiper-slide-active {
	z-index: 2;
}

.swiper-fade .swiper-slide:not(.swiper-slide-visible) {
	opacity: 0 !important;
	z-index: 1;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
	background: var(--color-main);
}

.swiper-button-next:hover img, .swiper-button-prev:hover img {
	filter: brightness(100);
}

.swiper-pagination-bullet:nth-child(1):nth-last-child(1) {
  display: none;
}

.text ul {
	list-style: none;
	padding-left: 0;
}
  
.text ul li {
	position: relative;
	padding-left: 20px;
  	margin-bottom: 15px;
}

.text ul li:last-child {
	margin-bottom: 0;
}
  
.text ul li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 10px;
	height: 10px;
	background-color: var(--color-main);
	border-radius: 100px;
}


#content > section.bg:last-child {
	margin-bottom: 0 !important;
}

#content {
	padding-top: var(--header-height);
	padding-bottom: calc(var(--gap) * 2);
}


/*--------------------------------------------------------------
# SHORTCODE
--------------------------------------------------------------*/

.kontakt {
	background: var(--color-bg);
	border-radius: calc(var(--br) / 2);
	padding: calc(var(--gap) / 2);
	margin-top: calc(var(--gap) / 2);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kontakt > * {
	border-bottom: 1px dashed #0002;
	padding-bottom: 10px;
}

.kontakt > *:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.kontakt ._label {
	display: block;
  	font-size: calc(var(--text-size) * .75);
  	line-height: 1.3em;
}

/*--------------------------------------------------------------
# ANIMATION
--------------------------------------------------------------*/

section > .row {
	transition: transform 1s ease, opacity 1s ease;
	opacity: 0;
	transform: translateY(15px);
	transition-delay: .25s;
}

section > .row.animated {
	opacity: 1;
	transform: translateY(0px);
}


/*--------------------------------------------------------------
# TEXT/BILD
--------------------------------------------------------------*/

.txt-col {
	padding: var(--br) 0;
}


.imgright .col:first-child {
    order: 2;
}

.textbild .fullwidth .col:last-child {
    max-width: calc(var(--maxwidth) / 2 - var(--gap));
	width: calc(86vw / 2 - var(--gap));
}

.fullwidth.imgright .col:last-child {
    margin-left: auto;
}

.textbild .row-2.fullwidth:not(.imgright) .img-col .image img {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.textbild .row-2.fullwidth.imgright .img-col .image img {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.textbild .img-col .image {
	height: 100%;
}

.textbild .img-col .image img {
	height: 100%;
	object-fit: cover;
}


/*--------------------------------------------------------------
# AKKORDEON
--------------------------------------------------------------*/

.akkordeon .row-2.hltop {
	grid-template-columns: 1fr;
}

.akkordeon .row-2:not(.hltop ) {
  grid-template-columns: 1fr 1.4fr;
}

.akkordeon .row-2.hltop .col:first-child {
	text-align: center;
	max-width: calc(var(--maxwidth) / 1.5);
	margin: auto;
}

.akkordeon-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
	max-width: calc(var(--maxwidth) / 1.3);
  	margin: auto;
}

.akkordeon-el {
    overflow: hidden; 
	transition: all .3s ease;
}

.akkordeon-el .headline {
	border-bottom: 1px solid var(--color-main);
  	padding: 14px 0;
    cursor: pointer; 
    transition: all .3s ease;
    margin: 0;
}

.akkordeon-el .headline * {
	font-size: var(--text-size);
}

.akkordeon-el .akkordeon-content {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.akkordeon-el .akkordeon-content .text {
    padding: 20px 0px 30px;
}

.akkordeon-el .headline {
	position: relative;
	cursor: pointer;
	padding-right: 40px;
}

.akkordeon-el .headline::before,
.akkordeon-el .headline::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 14px;
	height: 2px;
	background-color: #000;
	transform-origin: center;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.akkordeon-el .headline::before {
	transform: translateY(-50%) rotate(0deg);
}

.akkordeon-el .headline::after {
	transform: translateY(-50%) rotate(90deg);
	opacity: 1;
}

.akkordeon-el.open .headline::after {
	transform: translateY(-50%) rotate(180deg);
}

.akkordeon-el.open .headline::before {
	transform: translateY(-50%) rotate(90deg);
	opacity: 0;
}



/*--------------------------------------------------------------
# SLIDER
--------------------------------------------------------------*/

/* INTRO SLIDER */

.intro_slider .slide-inner {
	position: relative;
	z-index: 2;
	width: var(--width);
	max-width: var(--maxwidth);
	margin: auto;
	padding: calc(var(--gap) * 2) 0;
	min-height: clamp(400px, 76vh, 680px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.intro_slider .slide-inner .subline *, .intro_slider .slide-inner .headline *, .intro_slider .slide-inner .text * {
	color: #fff;
	max-width: calc(var(--maxwidth) / 2);
}

.intro_slider .slide-inner .headline {
	margin-bottom: 15px;
}

.intro_slider .slide-inner .headline * {
  	font-size: calc(var(--headline-size) * 1.2);
}

.intro_slider .bg-image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.intro_slider .bg-image::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	right: 0;
	z-index: 1;
	background: linear-gradient(90deg,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}



/*--------------------------------------------------------------
# BOXEN
--------------------------------------------------------------*/

.boxen-grid.grid-4 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: calc(var(--gap) / 2);
}

.boxen .image {
	margin-bottom: calc(var(--gap) / 2);
}

.boxen .headline {
	margin-bottom: calc(var(--gap) / 3);
}

.boxen-grid .headline * {
  	font-size: calc(var(--text-size) * 1.3);
}

.boxen-grid .text * {
  	font-size: calc(var(--text-size) * .85);
	line-height: 1.5em;
}


/*--------------------------------------------------------------
# KONTAKT
--------------------------------------------------------------*/

.kontakt-col {
	padding: var(--br) 0;
}

.kontakt-col .image {
	margin-bottom: 20px;
}

.kontakt-col .image img {
	width: 90px;
	border-radius: 100%;
	overflow: hidden;
}

.kontakt-col .kontakt {
	background: unset;
	padding: 0;
}

.kontakt-col .kontakt > *:first-child {
	border-top: 1px dashed #0002;
	padding-top: 10px;
}

.form-col {
	padding: var(--gap);
	background: var(--color-main);
	border-radius: var(--br);
}



/*--------------------------------------------------------------
# KONTAKTFORM
--------------------------------------------------------------*/

.cf-body {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.cf-element {
	margin-bottom: 14px;
	width: 100%;
}

.cf-element.col-12 { width: 100%; }
.cf-element.col-9  { width: calc(75% - 10px); }
.cf-element.col-8  { width: calc(66.66% - 10px); }
.cf-element.col-6  { width: calc(50% - 10px); }
.cf-element.col-4  { width: calc(33.33% - 10px); }
.cf-element.col-3  { width: calc(25% - 10px); }

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.required {
	font-weight: 700;
}

.text-input, .textarea-input {
    width: 100%;
	border: 0;
	padding: 10px 20px;
	font-weight: 400;
	line-height: 1.5em;
	font-size: var(--text-size);
	border-radius: 5px;
	font-family: var(--text-font-family);
	background: transparent;
	color: inherit;
}

.textarea-input {
	min-height: 180px;
	resize: vertical;
}

.modern .cf-textfeld,
.modern .cf-textarea {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #fff;
	border-radius: 100px;
	width: 100%;
	transition: box-shadow .15s ease, border-color .15s ease;
}

.modern .cf-textarea {
	align-items: stretch;
	border-radius: 14px;
}

.modern .cf-textfeld:focus-within,
.modern .cf-textarea:focus-within {
	border-color: var(--color-main);
	box-shadow: 0 0 0 4px #fff3;
}

.modern .cf-textfeld.has-error,
.modern .cf-textarea.has-error,
.cf-auswahlfeld.has-error {
	border-color: #ff5959 !important;
	box-shadow: 0 0 0 4px rgba(255, 89, 89, 0.12);
}

.modern .cf-textfeld label,
.modern .cf-textarea label {
	position: absolute;
	left: 0;
	margin: auto 20px;
	pointer-events: none;
	transform-origin: 0 0;
	transition: opacity .1s ease-in-out, transform .1s ease-in-out;
	color: var(--color-text);
}

.modern .cf-textarea label {
	margin: 12px 20px;
}

.modern .cf-textfeld.-focus label,
.modern .cf-textfeld.-filled label,
.modern .cf-textarea.-focus label,
.modern .cf-textarea.-filled label {
	opacity: .75;
	transform: scale(.70) translateY(-14px) translateX(0px);
}

.modern .cf-textarea.-focus label,
.modern .cf-textarea.-filled label {
	transform: scale(.70) translateY(-8px) translateX(0px);
}

.modern .cf-textfeld input {
	padding: 22px 20px 6px;
}

.modern .cf-textarea textarea {
	padding-top: 28px;
	padding-bottom: 12px;
}

.cf-field-error {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.35em;
	color: #ff5959;
}

.contactform-info {
	padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 8px;
    color: #fff;
	background: #5bca4b;
    border: 2px solid #5bca4b;
	display: block;
}

.contactform-info.error {
    background: #ff5959;
    border-color: #ff5959;
}

.cf-senden {
    border: 1px solid #fff;
    text-align: center;
	padding: 10px 25px;
	line-height: 1em;
	cursor: pointer;
	transition: all .2s ease;
	font-size: var(--text-size);
	background: #fff;
	color: var(--color-text);
	width: auto;
	margin-top: 6px;
	border-radius: 100px;
	font-weight: 600;
}

.cf-senden:focus-visible {
	outline: 3px solid var(--color-main);
	outline-offset: 3px;
}

.cf-senden[disabled] {
	opacity: .7;
	cursor: not-allowed;
}

.cf-privacy {
	position: absolute !important;
	left: -99999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.cf-auswahlfeld {
	border: 0;
	padding: 0;
	margin: 0;
}

.contactform label.checkbox {
	position: relative;
}

.contactform label.checkbox .check-icon {
	position: relative;
	display: inline-block;
	height: 20px;
	width: 20px;
	border: solid 1px #d6dce3;
	background-color: #f0f3f6;
	border-radius: 3px;
	transition: 0.2s all ease-in-out;
	flex: 0 0 auto;
	margin-top: 4px;
}

.contactform label.checkbox .check-icon:before {
	content: '';
	position: absolute;
	inset: 0;
	transition: 0.2s all ease-in-out;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg aria-hidden='true' focusable='false' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='%23fff' d='M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-size: 65%;
	background-position: center center;
	transform: scale(1.3);
	opacity: 0;
}

.contactform label.checkbox input {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: absolute;
}

.contactform label.checkbox input:checked + .check-icon {
	border-color: var(--color-text);
  	background: var(--color-text);
}

.contactform label.checkbox input:checked + .check-icon:before {
	transform: scale(1);
	opacity: 1;
}

.contactform label.checkbox input:focus-visible ~ .check-icon {
	box-shadow: 0 0 0 4px rgba(67, 98, 255, 0.22);
}

.contactform label.checkbox > .label-titel {
	display: inline-flex;
	align-items: flex-start;
}

.contactform .label-titel .label-name {
	margin-left: 10px;
	max-width: calc(100% - 30px);
	font-size: calc(var(--text-size) * .75);
  	line-height: 1.3em;
	color: #fff;
}

.cf-auswahlfeld.has-error .check-icon {
	border-color: #ff5959 !important;
}

@media all and (max-width: 768px) {
	.cf-element.col-6,
	.cf-element.col-4,
	.cf-element.col-3,
	.cf-element.col-8,
	.cf-element.col-9 {
		width: 100%;
	}
}


/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

#header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100vw;
	height: var(--header-height);
	position: absolute;
	z-index: 999;
	padding: var(--header-gap) 0;
	transition: all 0.4s ease;
}

#header.scroll-up {
	position: fixed;
	top: 0px;
	background: #fff;
}

#header.scroll-down {
	top: calc(var(--header-height) * -1.2);
}

.header-row {	
	display:flex;
	margin: 0 auto;
	width: var(--width);
	max-width: var(--maxwidth);
	align-items: center;
	height: 100%;
}

#header .logo img {
	height: calc(var(--header-height) - var(--header-gap) * 2);
	width: auto;
}

.custom-logo-link {
	display: inline-block;
}

.menu-col {
	margin-left: auto;
}

.menu-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
  	align-items: center;
	gap: 40px;
}

.menu {
	display: flex;
}

#header .menu a {
	color: var(--color-text);
}

#header .menu > li > a {
	position: relative;
	display: flex;
  	align-items: center;
	padding: 0;
}

.menu-button a {
	color: #fff !important;
	text-transform: normal;
	position: relative;
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	font-size: var(--font-size) !important;
	font-weight: 400 !important;
	opacity: 1 !important;
	font-family: var(--font-family);
	background: var(--color-main);
	border: 1px solid var(--color-main);
	line-height: 1em;
	border-radius: 100px;
	padding: 10px 25px !important;
	transition: all .4s ease;
}



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

#footer {
	background: var(--color-text);
	color: #fff;
	padding: var(--gap) 0 calc(var(--gap) / 2);
	margin: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}

#footer a {
	color: #fff;
}

#footer .row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: calc(var(--gap) * 1.5);
	align-items: start;
}

#footer .col {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-width: 0;
}

.footer-logo {
	max-width: 200px;
	max-height: 60px;
  	object-position: left;
  	object-fit: contain;
	margin-bottom: 15px;
}


#footer .f-kontakt-row {
	display: flex;
	flex-direction: column;
}

#footer .f-kontakt-row ._label {
	opacity: .75;
	font-size: calc(var(--text-size) * .85);
	line-height: 1.4em;
}

#footer .f-kontakt-row ._value,
#footer .fäkontakt-row ._link {
	line-height: 1.5em;
	word-break: break-word;
}

#footer .f-kontakt-row ._link {
	text-decoration: none;
	opacity: .95;
}

#footer .f-kontakt-row ._link:hover {
	opacity: 1;
	text-decoration: underline;
}

#footer .footer-social {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: grid;
	gap: 10px;
}

#footer .social-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

#footer .social-link:hover {
	text-decoration: underline;
}

#footer .footer-social .icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	flex: 0 0 auto;
	color: #fff;
}

#footer .social-label {
	line-height: 1.2em;
}

#footer .menu {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 10px;
}

#footer .menu a {
	text-decoration: none;
}

#footer .menu a:hover {
	text-decoration: underline;
}

.copyright {
	border-top: 1px solid #fff3;
	padding-top: calc(var(--gap) / 2);
	font-size: calc(var(--text-size) * .75);
	line-height: 1.5em;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-items: center;
}

.copyright .col:last-child .menu {
	align-items: flex-end;
}

@media (max-width: 700px) {
	#footer .kontakt-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.copyright {
		grid-template-columns: 1fr;
	}
}





/*--------------------------------------------------------------
# RECHTSTEXTE
--------------------------------------------------------------*/

.rechtstexte {
	margin-top: var(--gap);
}

.rechtstexte h1 {
	font-size: calc(var(--text-size) * 1.8);
	line-height: 1.3em;
	margin-bottom: 10px;
}

.rechtstexte h2 {
	font-size: calc(var(--text-size) * 1.3);
	line-height: 1.3em;
	margin-bottom: 10px;
	margin-top: 30px;
}

.rechtstexte h3 {
	font-size: var(--text-size);
	line-height: 1.3em;
	margin-bottom: 10px;
	margin-top: 30px;
}

.rechtstexte h4 {
	font-size: var(--text-size);
	text-decoration: underline;
	font-weight: 400;
	line-height: 1.3em;
	margin-bottom: 10px;
	margin-top: 30px;
}

.rechtstexte h5 {
	font-size: var(--text-size);
	font-weight: 400;
	line-height: 1.3em;
	margin-bottom: 10px;
	margin-top: 30px;
}


/*--------------------------------------------------------------
# ERROR
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# RESPONSIVE
--------------------------------------------------------------*/

@media all and (max-width: 1240px) {
	#footer .row-4 {
		grid-template-columns: 1fr 1fr;
	  }
}


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

    :root {
        --header-height: 80px;
    }


    /*--------------------------------------------------------------
    # HEADER
    --------------------------------------------------------------*/

    .no-scroll #header{
		position: fixed;
		top: 0px;
	}

    .logo-col {
        position: relative;
        z-index: 3;
    }

	.menu-col {
		display: none;
	}

	.header-logo .custom-logo {
		height: 100%;
		width: auto;
	}

	.mobil-menu-button {
		position: absolute;
		right: calc((100% - var(--width)) / 2);
		top: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		bottom: 0;
		margin: auto;
		height: 40px;
		justify-content: space-around;
		padding: 12px 0;
		cursor: pointer;
		z-index: 9;
	}

	.line--burger {
		width: 42px;
		height: 2px;
		display: block;
		background: var(--color-main);
		transition: all 0.2s ease !important;
	}

	body.h-wh #header:not(.scroll-up, .active) .line--burger {
		background: #fff;
	}

	.line--burger:last-child {
		width: 30px;
	}

	#header.active .mobil-menu-button .line--burger:first-child {
		transform: rotate(-45deg);
		width: 32px !important;
	}

	#header.active .mobil-menu-button .line--burger:last-child {
		transform: rotate(45deg);
		margin-top: -15px;
		width: 32px !important;
	}

	.menu-col {
		background: #fff;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		padding: calc(var(--header-height) + 10px) 7vw 60px;
		display: flex;
		flex-direction: column;
		transform: translateX(110%);
		transition: all 0.45s ease;
        margin: 0;
        width: 100vw;
        max-width: 100vw;
        gap: 0;
	}

	#header.active .menu-col {
		transform: translateX(0);
	}

    .menu-col .menu-left-container {
        order: 1;
    }

    .menu-col .menu-right-container {
        order: 2;
    }

    .menu-col .menu-button-container {
        order: 3;
        margin-top: 40px;
    }

	.menu-col > *{
		width: 100%;
	}

	.menu-col ul {
		padding: 0;
		list-style: none;
		flex-direction: column;
    	gap: 0;
    	width: 100%;
	}

	#header .menu > li > a {
		font-size: 16px;
	}

	.menu {
		display: block;
	}

	#header .menu-col ul li {
		padding: 8px 0;
    	border-bottom: 1px solid #0003;
		display: flex;
    	align-items: center;
		width: 100%;
	}

	.menu-col ul li a {
		width: 100%;
		display: flex;
		align-items: center;
		height: 40px;
	}

	.menu-col ul li.menu-button {
		border-bottom: 0 !important;
		margin-top: 10px !important;
	}

	.menu-col ul li.menu-button a {
		width: fit-content !important;
	}


    /*--------------------------------------------------------------
    # CONTENT
    --------------------------------------------------------------*/

	#content {
		gap: calc(var(--gap) * 2);
	}

    .row-2 {
        grid-template-columns: 1fr;
    }

	.boxen-grid {
  		grid-template-columns: 1fr !important;
		gap: var(--gap) !important;
	}

	.bg {
		padding: calc(var(--gap) * 2) 0;
	}

	.imgright .col:first-child {
		order: 1;
		padding-top: 0 !important;
	}

	.imgright .col:last-child {
		order: 2;
	}

	.txt-col {
  		padding: 0;
	}

	.kontakt-col {
  		padding: 0;
	}

    .headline * {
        font-size: 28px;
        line-height: 1.3em;
    }

	.textbild .fullwidth .col:last-child, .outro .fullwidth .col:last-child {
		max-width: var(--maxwidth);
		width: var(--width);
		margin-left: auto;
		margin-right: auto;
	}

	.textbild .fullwidth .col:first-child {
		width: 93vw;
	}

	.textbild .fullwidth.imgright .col:first-child {
		margin-left: auto;
	}

	.h-c-1 .row .col:last-child {
		padding-bottom: 0;
	}

	.textbild .row-2:not(.imgright) .col:last-child {
		padding-top: 0;
	}

    .intro_slider .headline *, .intro .headline * {
        font-size: 40px;
        line-height: 1.1em;
    }

	.intro {
		padding: 180px 0 0px;
	}

	.intro .text {
		font-size: 20px;
		line-height: 1.3em;
	}

	.intro .row-2-1 {
		grid-template-columns: 1fr;
	}

	.intro .row-2-1 .col:first-child {
		order: 2;
	}

	.intro .row-2-1 .col:last-child {
		order: 1;
	}

	.intro .bg-image {
		top: 50px;
		height: 130vw;
		min-height: unset;
	}

	.intro .img_c .col {
		max-width: 60vw;
	}

	.text-col-2 {
		column-gap: 0;
		columns: 1;
	}
	
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

	.t-r-1 .col:first-child {
		padding-right: unset;
		order: 2;
	}

	.t-r-2 .col:last-child {
		padding-left: unset;
	}

	.t-r-2 .image {
		margin: -20px auto 30px 21.9%;
		width: 30%;
	}

	.t-r-1 .image {
		margin: 30px 21.9% -20px auto;
    	width: 30%;
	}

	.list-box {
		position: unset;
		margin: 0 0 var(--gap);
		top: unset;
		transform: unset;
		width: 100%;
		min-height: unset;
	}

	ul.aufzaehlungen {
		grid-template-columns: 1fr;
	}

	.t-r-2 .col:first-child {
		padding-left: 0;
	}

}


@media all and (max-width: 768px) {

	.cf-element.col-6 {
		width: 100%;
	}

    .grid-2 {
        grid-template-columns: 1fr;
    }

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

	#footer .row-4 {
		grid-template-columns: 1fr;
		gap: calc(var(--gap) / 1.5);
	}

	#footer .col--social {
		order: 4;
	}

	#footer .row.copyright {
  		gap: calc(var(--gap) / 1.5);
	}

	.copyright {
		text-align: left;
	}

	.copyright-text {
		order: 2;
	}

	#footer .copyrigh .menu {
  		justify-content: flex-start;
	}


}



@media all and (max-width: 480px) {

	:root {
		--font-size: 16px;
	}

	.subline * {
		font-size: 13px;
		line-height: 1.2em;
	}

	.headline * {
		font-size: 27px;
		line-height: 1.3em;
	}

	.intro_slider .headline *, .intro .headline * {
		font-size: 32px;
		line-height: 1.1em;
	}

	.akkordeon-el .headline * {
		font-size: 18px;
		line-height: 1.3em;
	}

	.intro .text {
		font-size: 18px;
		line-height: 1.3em;
	}

}