/** 
 * main.css
 * 
 * MOBIL-Ansicht: unterhalb von View-Point "LG" (Bootstrap), 992px
 *
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Home
 * 5. Footer
 * 6. Media queries for responsive layout
 * 7. Accessibility helpers
 * 
 */

/* maven-pro-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: 'Maven-Pro';
  font-style: normal;
  font-weight: 400;
  src: url('maven-pro-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* maven-pro-800 - 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: 'Maven-Pro';
  font-style: normal;
  font-weight: 800;
  src: url('maven-pro-v40-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* changa-one-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: 'Changa-One';
   font-style: normal;
   font-weight: 200;
   src: url('changa-one-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root, :host {
  --fa-family-classic: "Font Awesome 7 Free";
  --fa-font-regular: normal 400 1em/1 var(--fa-family-classic);
  /* deprecated: this older custom property will be removed next major release */
  --fa-style-family-classic: var(--fa-family-classic);
}
@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fa-regular-400.woff2");
}
@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("fa-solid-900.woff2");
}

.far {
  --fa-family: var(--fa-family-classic);
  --fa-style: 400;
}
.fa-classic {
  --fa-family: var(--fa-family-classic);
}
.fa-regular {
  --fa-style: 400;
}
.fas {
  --fa-family: var(--fa-family-classic);
  --fa-style: 900;
}
.fa-solid {
  --fa-style: 900;
}



/*********************************************************************
 * 0. COLORS
 *
 */
:root {
	--proform-rosa: #ffdef3;
	--proform-rot: #c61258;
	--proform-grau: #333;
}

/*********************************************************************
 * 1. General HTML tags
 *
 */

* {
	box-sizing: border-box; 
}

body {
	max-width: 1300px; 
	margin: 0 auto !important; 
}

body, td, input[type=text], textarea {
	font-family: 'Maven-Pro', serif;
	font-size: 100%; 
	line-height: 1.5em;
	color: var(--proform-grau); 
}

img {
	max-width: 100%; 
}

h1 {
	font-family: 'Changa-One';
	color: var(--proform-rot);
}

h2 {
	font-weight: normal;
	font-family: 'Changa-One';
	color: var(--proform-rot);
	font-size: 3rem;
}

h3 {
	color: var(--proform-rot);
	font-family: 'Changa-One';
	font-size: 2.4rem;
}

h4 {
	color: var(--proform-rot);
	font-family: 'Changa-One';
	font-size: 1.8rem;
}

a {
	color: var(--proform-rot);
	text-decoration: underline;
}
a:hover,
.nav a:hover {
	color: #000;
	border-color: #aaa; 
}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}


/*********************************************************************
 * 2. Masthead area
 *
 */

.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;
}
.topnav li {
	float: left; 
	margin-right: 1em;
	margin-bottom: 1em;
}
.topnav a {
	padding: 0.25em 0.5em;
	text-decoration: none; 
	display: block;
	background: #eee; 
	color: #333; 
	border: 1px solid #eee; 
}
.topnav a:hover {
	background: #ddd;
	border-color: #ddd; 
}
.topnav li.current a {
	background: #ddd; 
	border-color: #ddd; 
}
.topnav li.edit a {
	background: none; 
}

.languages {
	list-style: none; 
	margin: 0;
	padding: 0; 
	float: right;
	/* width: 30%; */
}
.languages li {
	list-style: none; 
	display: inline-block;
	margin: 0;
	padding: 0;
}
.languages a {
	padding: 0;
	border: none; 
	display: inline;
	/* border-left: 1px solid #ccc;  */
}
.languages li.current a {
	font-weight: bold; 
}
.languages li:first-child a {
	border: none; 
	padding-left: 0;
}

form.search {
	float: right; 
	margin: 0;
	width: 30%; 
	padding-bottom: 1em;
}
form.search input {
	margin: 0;
	padding: 0.25em 0.5em;
	border: 1px solid #ccc; 
	width: 100%; 
}

.breadcrumbs {
	font-size: 80%; 
	width: 70%; 
	float: left;
	clear: both; 
	padding-top: 1em; 
}
.breadcrumbs span:after {
	content: ">";
	color: #999; 
	padding-left: 0.5em;
	padding-right: 0.25em; 
}


/*********************************************************************
 * 2. Main content and sidebar
 *
 */

header {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 1rem;
	color: var(--proform-grau) !important;
}
#header-bg {
	width: 100%;
	max-height: 555px;
	height: calc(100vw * 0.485);
	background-size: contain !important;
	background-repeat: no-repeat !important;
	border-bottom-left-radius: 2.5vw;
	border-bottom-right-radius: 2.5vw;
	}
.row.header-top {
	position: absolute;
	top: 0;
	width: 100%;
	margin: 0 auto;
	padding: 1.5rem 3.5rem 1.5rem 3.5rem;
}
.header-logo {
	width: 185px;
	height: auto;
	border: 0;
}
ul.header-links {
	list-style: none; 
	margin: 0;
	padding: 0.7rem 0 0 0; 
}
ul.header-links li {
	list-style: none; 
	display: inline-block;
	margin: 0;
	padding: 0 1rem 0 0;
	font-weight: bold;
	font-size: 95%;
	line-height: 115%;
}
.header-links a,
.header-links a:link {
	color: var(--proform-grau) !important;
	text-decoration: none;
}
#header-join-team {
	background: #eee;
	border-radius: 1rem;
	color: #333;
	padding: 0.6rem 1.2rem;
	border: 0;
	font-family: 'Changa-One';
	font-weight: normal;
}
.row.header-buttons {
	position: absolute;
}
#header-visit-us {
	position: relative;
	top: -13vw;
	left: 5vw;
	width: 200px;
	text-align: center;
	background: var(--proform-rot);
	border-radius: 1rem;
	color: #fff;
	padding: 0.6rem 1.2rem;
	border: 0;
	font-family: 'Changa-One';
	font-weight: normal;
}
#header-col-visit-us {
	text-align: right;
}
#header-contact-us {
	position: relative;
	top: -13vw;
	left: calc(2vw + 200px);
	width: 200px;
	text-align: center;
	background: var(--proform-rosa);
	border-radius: 1rem;
	border: 2px solid #333;
	color: #333;
	padding: 0.5rem 1.2rem;
	font-family: 'Changa-One';
	font-weight: normal;
}
.col-right {
	text-align: right;
}

.navbar {
	padding: 0;
}
.burger-menu {
	display: none;
	cursor: pointer;
	background: #fff;
	border-radius: 0.5rem;
	border: 0px;
}
.burger-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--proform-rot);
	color: #fff;
	margin: 5px;
}

/* Desktop */
@media (min-width: 1200px) {
	.navbar {
		margin-left: 1rem;
	}
	.row.header-buttons {
	  position: relative;
	}
	#header-visit-us {
	  position: absolute;
	  top: -100px;
	  left: 90px;
	}
	#header-contact-us {
	  position: absolute;
	  top: -100px;
	  left: 330px;
	}
}

/* Mobile  */
@media (max-width: 992px) {
	#nav-list {
		display: none;
		z-index: 1;
	}
  .burger-menu {
	display: block; /* Button anzeigen */
	position: absolute;
	top: 0px;
	right: 5px;
  }
  .header-links {
	position: absolute;
	right: -1rem;
	top: -1.5rem;
	height: fit-content;
	background-color: var(--proform-rosa);
	flex-direction: column;
	width: 50vw;
	transform: translateX(100%); /* Aus dem Bild schieben */
	transition: transform 0.3s ease-in;
	padding: 1rem 1.5rem !important;
	border-bottom-left-radius: 2.5vw;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  }
  ul.header-links li {
	  width: 100%;
  }
  /* Klasse, die per JS hinzugefügt wird */
  .nav-active {
	transform: translateX(0%);
  }
}

@media (max-width: 768px) {
	.row.header-top {
		padding: 1rem 3vw 1rem 3vw;
	}
	.header-logo {
		max-width: 85px;
	}
	.row.header-buttons {
	  position: relative;
	  top: 10vw;
	  min-height: 5rem;
	  margin: 1rem;
	}
	
	#header-col-visit-us,
	#header-col-contact-us {
		text-align: center;
	}
	#header-visit-us {
		margin-bottom: 1rem;
		left: unset;
		right: unset;
  	}
	#header-contact-us {
		margin-bottom: 2rem;
		left: unset;
		right: unset;
	}
}

@media (max-width: 450px) {
	.row.header-top {
		padding: 1.4vh 3% 1.4vh 2.4%;
	}
	.header-logo {
		max-width: 70px;
	}
}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */


#main {
	clear: both;
	width: 100%;
}

#content {
	width: 100%; 
}

#content, #sidebar {
	padding: 1rem 4.5rem 2rem 4.5rem; 
}

body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
.nav .nav {
	padding-left: 1.5em;
	list-style: disc;
}
.nav li {
	margin: 1em 0;
}

.nav-tree li {
	margin-top: 0;
	margin-bottom: 0;
}

.nav a {
	font-weight: bold;
}

.nav-tree li a {
	color: #777; 
}

.nav .current > a {
	color: #333; 
}

#sidebar img + blockquote {
	margin-top: 0; 
}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

/* Mobile Ansicht  */
@media (max-width: 992px) {
	#content, #sidebar {
		padding: 1rem 1.5rem 2rem 1.5rem; 
	}
}

/*********************************************************************
 * 4. Home
 *
 */

.home-row-headline {
}
.home-row-subheadline {
	margin-left: 15%;
	margin-right: 15%;
}
.block-read-more {
	font-weight: bold; 
	text-decoration: none;
	position: absolute;
	bottom: 15px;
	cursor: pointer;
}

#home_benefits .col,
#home_solutions .col {
	position: relative;
	background: var(--proform-rosa);
	height: 100%;
	border-radius: 1rem;
}
#home_benefits img,
#home_solutions img {
	width: 100%;
    max-height: 240px;
	height: 240px;
	object-fit: fill;
	border-radius: 1rem;
}
#home_benefits h4 {
	color: var(--proform-grau);
}
#home_benefits p {
	color: var(--proform-rot);
}
#home_solutions .col {
	background: var(--proform-rosa);
}
#home_solutions h4 {
	color: var(--proform-rot);
}
#home_solutions p {
	color: var(--proform-grau);
}
#interpack:hover {
	cursor: pointer;
}
#interpack img {
	width: 100%;
	height: auto;
	border-radius: 1rem;
}
#technology img,
#about img {
	border-radius: 1rem;
}
#home_about img {
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
	width: 100%;
}
#home_about .names {
	min-height: 122px;
	padding: 0.3rem 0.7rem;
	border-top-width: 0;
	border-left-width: 1px;
	border-top-left-radius: 0;
	border-right-width: 1px;
	border-top-right-radius: 0;
	border-bottom-width: 1px;
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
	border-color: var(--proform-grau);
	border-style: solid;
}
#home_about .person-name {
	font-size: 105%;
	font-weight: bold;
}
#home_about .person-job {
	color: #666;
}

#contact_form {
	padding: 1rem 3rem;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
#contact_form input,
#contact_form textarea,
#contact_form checkbox {
	border-radius: 0.3rem;
	border-color: #aaa;
	border-style: solid;
	border-width: 1px;
	padding: 0.2rem 0.4rem;
}
#contact_form label span {
	margin-left: 0.4rem;
	vertical-align: text-bottom;
}
#contact_form input.InputfieldMaxWidth {
	width: 80%;
}
#contact_form input.FieldtypeCheckbox {
	width: 1.4rem;
	height: 1.4rem;
	margin-top: 0.4rem;
	border-radius: 0.5rem;
}
#contact_form textarea {
	width: 100%;
}
#contact_form button {
	border: 0;
	background: var(--proform-rot);
	color: white;
	border-radius: 1rem;
	padding: 0.5rem 2rem;
	font-size: 1.3rem;
	min-width: 150px;
}
#contact_form .field__column {
	display: inline-block;
	margin-bottom: 0.6rem;
}
#contact_form .field__header--hidden,
#wrap_Inputfield_scf-website,
#Inputfield_scf_privacy {
	display: none;
}
.form__item--label {
	display: block;
	font-weight: bold;
}
#wrap_Inputfield_scf_privacy {
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
	font-size: 93%;
}
.form__item--submit {
	text-align: right;
}
.form--success--message,
.form--error--message {
	margin-top: 2rem;
	font-weight: bold;
}
.form--error--message {
	color: var(--proform-rot);
}


/* Mobile Ansicht  */
@media (max-width: 992px) {
	.home-row-subheadline {
		margin-left: unset;
		margin-right: unset;
	}
}

@media only screen and (max-width: 768px) {
	#home_about .col {
		padding: 0 !important;
	}
	#contact_form {
		padding: 1rem;
	}
	#contact_form .field__column {
		width: 100% !important;
	}
	#contact_form input.InputfieldMaxWidth {
		width: 100%;
	}
}


/*********************************************************************
 * 5. Footer
 *
 */

footer {
	clear: both; 
	font-size: 90%; 
	background: var(--proform-rosa);
	border-top-left-radius: 2.5vw;
    border-top-right-radius: 2.5vw;
	margin-top: 3rem;
	padding: 1.5rem 4.5vw 1.5rem 4.5vw;
	color: var(--proform-grau) !important;
}
.footer-logo {
	width: 140px;
	height: auto;
	border: 0;
}
#footer ul {
	list-style: none; 
	margin: 0;
	padding: 0; 
}
#footer li {
	list-style: none; 
	display: inline-block;
	margin: 0;
	padding: 0 0 0 1rem;
}
#footer a,
#footer a:link {
	color: var(--proform-grau) !important;
	text-decoration: none;
}


/*********************************************************************
 * 6. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 992px) {
	/* mobile layout */ 

	.languages {
		width: 100%; 
		margin-bottom: 1em;
	}
	.topnav {
		float: none;
		clear: both; 
		width: 100%; 
	}
	.breadcrumbs {
		margin-bottom: 1em;
		margin-top: 0;
	}

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
		padding-bottom: 0;
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}


/*********************************************************************
 * 7. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

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

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #333;
	color: #fff;
}
