@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600&display=swap');

:root {
	--col-white: #fff;
	--col-black: #333;
	--col-teal: #315850;

	--col-grey-100: #f4f5f2;
	--col-grey-200: #e9ebe6;
	--col-grey-300: #d9dbd5;
	--col-grey-400: #b8b9b4;
	--col-grey-500: #9a9b99;
	--col-grey-600: #767774;
	--col-grey-700: #6a6b67;
	--col-grey-800: #5d605a;
	--col-grey-900: #3f423c;

	--col-green-100: #eaffcd;
	--col-green-200: #dcf5b8;
	--col-green-300: #bef76e;
	--col-green-400: #a4ff1f;
	--col-green-500: #64a800;
	--col-green-600: #477703;
	--col-green-700: #395e03;
	--col-green-800: #365706;
	--col-green-900: #2b4405;

	--col-canvas: var(--col-grey-300);
	--col-header-bg: var(--col-white);
	--col-header-fg: var(--col-black);
	--col-header-link: var(--col-black);
	--col-header-border: var(--col-grey-500);
	--col-footer-bg: var(--col-black);
	--col-footer-fg: var(--col-grey-300);
	--col-footer-link: var(--col-white);
	--col-main-bg: var(--col-white);
	--col-main-fg: var(--col-grey-900);
	--col-codethink: var(--col-green-500);
	--col-codethink-bright: var(--col-green-400);
}

@media screen {
	html {
		text-rendering: geometricPrecision;
		background: var(--col-canvas);
		margin: 0;
	}
}
html {
	font-family: 'Open Sans', sans-serif;
}
html, body {
	margin: 0;
	padding: 0;
}
body {
	/* `vw` units don't always account for scrollbars, so the footer may
	 * overflow. If that happens, we don't want to see it. */
	overflow-x: hidden;
}
a:link,
a:visited,
a:active {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

header, footer {
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0 36px;
	font-size: 14px;
	font-weight: 200;
}
header {
	display: flex;
	color: var(--col-header-fg);
	background: var(--col-header-bg);
}
header > nav > a {
	font-size: 16px;
	padding: 0px 18px;
	transition: 100ms ease-in-out all;
}
header nav a span {
	display: inline-block;
	padding: 0.25rem 0;
}
header a:link,
header a:visited,
header a:active {
	color: var(--col-header-link);
}
header nav a:hover {
	color: var(--col-green-800);
	text-decoration: none;
}
header nav a:hover span {
	box-shadow: 0 -2px 0 var(--col-codethink) inset;
}
header nav a.active span {
	box-shadow: 0 -4px 0 var(--col-codethink) inset;
}
header nav a.active:hover {
	color: var(--col-header-link)
}

footer {
	position: relative;
	color: var(--col-footer-fg);
	background: var(--col-footer-bg);
	/* An exception to the mostly fixed-size spacings, we need this top padding
	 * to be relative to the viewport width to keep consistency with the angled
	 * border. */
	padding: 2vw 36px 30px 36px;
	z-index: 200;
}
footer::before {
	content: '';
	border-color: transparent transparent var(--col-footer-bg) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}
.angled-divider {
	background-color: var(--col-codethink);
	height: 100px;
	position: relative;
	z-index: 100;
}
.angled-divider::before {
	content: '';
	border-color: transparent transparent var(--col-codethink) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}

footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
	color: var(--col-footer-link);
}
section#sitemap {
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
	align-items: center;
}
section#sitemap > nav {
	display: flex;
	align-items: baseline;
	justify-content: space-evenly;
	flex: 1 0 auto;
}
section#sitemap > nav > ul {
	padding: 0;
	list-style: none;
	margin: 10px 0;
}
section#sitemap > nav > ul > li {
	white-space: nowrap;
}

section#impressum {
	text-align: center;
}

h3 { -webkit-column-break-before: always; }

main {
	margin: 0;
	background: var(--col-main-bg);
	color: var(--col-main-fg);
}

#logo {
	height: 36px;
	margin: 24px 0;
}
#splash {
	padding: 200px 15% 30px 15%;
	margin: 0;
	background-position: center;
}
@media only screen and (max-width: 1024px) {
	#splash {
		padding: 150px 30px 30px 30px;
	}
}
.scene-darkgreen {
	background-color: var(--col-teal);
}

#emblem {
	height: 60px;
	margin: 16px 30px;
}
 
/*
 * Styling for the CTA section of the angled footer.
 *
 * Things to note:
 *   - The text is centred using flexbox, so adding more direct
 *     children to the CTA section will change how things are
 *     aligned and arranged.
 *   - The ::before psuedo-element is used to create the angled
 *     top part of the CTA to match the angled footer. This uses
 *     a border sized relative to the viewport width, hence `vw`
 *     units being used in the padding here, to keep the padding
 *     relative to the increasing height of the angled sections
 *     as the viewport width increases.
 */
#contact {
	background-color: var(--col-green-200);
	color: var(--col-green-600);
	padding: 1vw 15% 5vw 15%;
	display: flex;
	justify-content: space-around;
	position: relative;
	z-index: 100;
}
#contact::before {
	content: '';
	border-color: transparent transparent var(--col-green-200) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}
#contact h3 {
	display: flex;
}
#contact a {
	color: var(--col-green-600);
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
#contact a svg {
	width: 20px;
	height: 20px;
	margin: 0 6px 0 12px;
}
#contact a:first-of-type svg {
	margin: 0 6px 0 0;
}
#contact > #details > ul {
	list-style: none;
	font-size: 18px;
	padding: 0;
	font-weight: 600;
}

.visible-xs {
	display: none;
}
.hidden-xs {
	display: flex;
}

@media only screen and (max-width: 1024px) {
	.visible-xs {
		display: flex;
	}
	.hidden-xs {
		display: none;
	}
	header {
		flex-direction: column;
		padding: 0 12px;
	}
	header nav {
		display: flex;
		width: 100%;
		overflow-x: auto;
	}
	header > nav > a {
		padding: 0;
		flex: 1 0 auto;
	}
	section#sitemap {
		flex-direction: column-reverse;
	}
	section#sitemap > nav {
		display: flex;
		justify-content: space-evenly;
		width: 100%;
		text-align: center;
	}
	section#sitemap > nav > ul {
		flex: 1 0 0;
	}

	#contact {
		padding: 3vw 60px 7vw 60px;
	}

	main {
		margin-top: 90px;
	}
	header.visible-xs {
		height: 90px;
		position: absolute;
		width: 100%;
		top: 0;
		padding: 0;
	}
	header.visible-xs nav {
		position: absolute;
		height: 100vh;
		left: 0;
		width: 100%;
		pointer-events: none;
	}
	header.visible-xs:focus-within {
		position: fixed;
	}
	header.visible-xs nav .bg {
		position: absolute;
		top: 90px;
		right: 0;
		bottom: 0;
		left: 0;
		visibility: hidden;
		opacity: 0;
		transition: opacity 300ms ease-in-out;
		background-color: var(--col-grey-900);
	}
	header.visible-xs nav:focus-within .bg {
		visibility: visible;
		opacity: .6;
	}
	header.visible-xs nav .button {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		z-index: 1;
		-webkit-appearance: none;
		background: transparent;
		height: 90px;
		width: 30px;
		cursor: pointer;
		pointer-events: auto;
		padding: 0 25px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}
	header.visible-xs nav .icon-bar {
		display: block;
		width: 100%;
		height: 3px;
		background: var(--col-codethink);
		transition: 300ms;
	}
	header.visible-xs nav .icon-bar + .icon-bar {
		margin-top: 5px;
	}
	header.visible-xs nav:focus-within .button {
		pointer-events: none;
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(1) {
		transform: translate3d(0,8px,0) rotate(45deg);
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(2) {
		opacity: 0;
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(3) {
		transform: translate3d(0,-8px,0) rotate(-45deg);
	}
	header.visible-xs nav #nav-content {
		display: flex;
		flex-direction: column;
		max-width: 300px;
		width: 300px;
		position: absolute;
		top: 90px;
		left: 0;
		bottom: 0;
		background-color: var(--col-header-bg);
		color: var(--col-header-fg);
		pointer-events: auto;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		transform: translateX(-100%);
		transition: transform 300ms;
		will-change: transform;
		contain: paint;
		overflow: auto;
		overflow-y: auto;
		
	}
	header.visible-xs nav:focus-within #nav-content {
		transform: none;
	}
	#nav-content a {
		padding: 18px;
	}
}

@media only screen and (max-width: 768px) {
	section#sitemap {
		flex-direction: column-reverse;
		padding-top: 30px;
	}
	section#sitemap > nav {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	section#sitemap > nav > ul {
		flex: 1 0 0;
	}
	#contact h3 {
		flex-direction: column;
	}
	#contact a svg {
		margin: 0 6px 0 0;
	}
}

img {
}

/* Contacts page */

img.libuttoncontact{
    width:auto;
    height:29px;
}

img.twbuttoncontact{
    width:auto;
    height:29px;
}

#Privacy_Notice table{
  border-collapse: collapse;
  width: 100%;
  margin-left:auto;
  margin-right:auto;
  margin-bottom: 1em;
}
#Privacy_Notice table, th, td{
  border: 1px solid black;
  text-align: left;
  padding: 10px;
}

#Privacy_Notice th{
  text-align: center;
}

.center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    margin: 20px auto;
    background-color: var(--col-green-500);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.center-button:hover {
    background-color: var(--col-green-700);
}

.center-button,
.center-button:link,
.center-button:visited,
.center-button:hover,
.center-button:active {
    color: var(--col-white) !important;
}


 
.mauticform_wrapper { max-width: 600px; margin: 10px auto; }
.mauticform-innerform {}
.mauticform-post-success {}
.mauticform-name { font-weight: bold; font-size: 1.5em; margin-bottom: 3px; }
.mauticform-description { margin-top: 2px; margin-bottom: 10px; }
.mauticform-error { margin-bottom: 10px; color: red; }
.mauticform-message { margin-bottom: 10px;color: green; font-weight: bold;}
.mauticform-row { display: block; margin-bottom: 20px; }
.mauticform-label { font-size: 1.1em; display: block; font-weight: bold; margin-bottom: 5px; }
.mauticform-row.mauticform-required .mauticform-label:after { color: #e32; content: " *"; display: inline; }
.mauticform-helpmessage { display: block; font-size: 0.9em; margin-bottom: 3px; }
.mauticform-errormsg { display: block; color: red; margin-top: 2px; }
.mauticform-selectbox, .mauticform-input, .mauticform-textarea { width: 100%; padding: 0.5em 0.5em; border: 1px solid #CCC; background: #fff; box-shadow: 0px 0px 0px #fff inset; border-radius: 4px; box-sizing: border-box; }
.mauticform-checkboxgrp-row {}
.mauticform-checkboxgrp-label { font-weight: normal; }
.mauticform-checkboxgrp-checkbox {}
.mauticform-radiogrp-row {}
.mauticform-radiogrp-label { font-weight: normal; }
.mauticform-radiogrp-radio {}
.mauticform-button-wrapper .mauticform-button.btn-default, .mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default { color: #5d6c7c;background-color: #ffffff;border-color: #dddddd;}
.mauticform-button-wrapper .mauticform-button, .mauticform-pagebreak-wrapper .mauticform-pagebreak { display: inline-block;margin-bottom: 0;font-weight: 600;text-align: center;vertical-align: middle;cursor: pointer;background-image: none;border: 1px solid transparent;white-space: nowrap;padding: 6px 12px;font-size: 13px;line-height: 1.3856;border-radius: 3px;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
.mauticform-button-wrapper .mauticform-button.btn-default[disabled], .mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default[disabled] { background-color: #ffffff; border-color: #dddddd; opacity: 0.75; cursor: not-allowed; }
.mauticform-pagebreak-wrapper .mauticform-button-wrapper {  display: inline; }


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
    margin: 0 15%;
    padding-bottom: 4rem;
}

#form-column,
#contact-column {
    background-color: #f9f9f9;
    padding: 2rem;
}

#map-column {
    background-color: #f9f9f9;
    padding: 2rem;
    grid-column: 1 / span 2;
}

@media only screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding-top: 4rem;
        margin: 0 0 18px 0;
        padding-bottom: 6rem;
		padding-left: 3rem;
		padding-right: 3rem;
    } 
}

main .contact_title {
	color: white !important;
  }
 

  #competencies {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Align items vertically */
    gap: 90px;
    font-size: 16px;
    padding-right: 3rem;
    font-weight: 400;
    position: relative;
}

#competencies > a,
.dropdown > button,
.contact-link > a.title {
    margin: 0px;
    padding: 5px 12px;
    display: flex; /* Change from block to flex */
    align-items: center; /* Center items vertically */
    cursor: pointer;
    color: #000000;
    background: none; 
    border: none;
    font-family: 'Open Sans', sans-serif; /* Set the font family */
    font-size: inherit; /* Inherit the font size from parent */
    line-height: normal; /* Reset line-height */
}

.dropdown > button:focus,
.contact-link > a.title:focus {
    outline: none;  
 
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;  
    
    padding: 10px 12px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 9px 12px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-item {
    position: relative;
    padding: 1rem;
}

.title {
    cursor: pointer;
}
  
.title.active {
    font-weight:600;
    color: rgb(0, 0, 0);
}

.submenu {
    white-space: nowrap;
    overflow-x: auto;
    padding: 0;
}
  
.submenu a {
    display: inline-block;
    margin-right: 0.5rem;
}
  
@media only screen and (max-width: 1024px) {
    .submenu {
        overflow-x: initial;
        white-space: normal;
    }
  
    .submenu a {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
