@font-face {
	font-family: "Montserrat";
	src: url(../fonts/Montserrat-Bold.woff2) format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat-Regular";
	src: url(../fonts/Montserrat-Regular.woff2) format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url(../fonts/poppins-regular.woff2) format("woff2");;
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

h1 {
    font-size: clamp(30px, 5vw, 60px);
    font-family: "Montserrat", Arial, sans-serif;
    color: #3b717b;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 5%;
    text-transform: uppercase;
}
h2 {
    font-family: "Montserrat", Arial, sans-serif;
    color: #000;
}

p,
li,
a {
    font-family: "Poppins", Arial, sans-serif;
}
p {
    letter-spacing: 0.03em;
}
a {
    /*font-size: 16px;*/
    color: #000;
    text-decoration: none;
}
a:hover {
    font-weight: 700;
}
.introduction-text {
    font-size: clamp(18px, 5vw, 38px);
    line-height: clamp(28px, 5.2vw, 56px);
    color: #000;
}
.intro-secondary-textes {
    font-size: clamp(16px, 3.2vw, 24px);
    line-height: clamp(24px, 3.6vw, 34px);
    font-family: "Poppins", Arial, sans-serif;
    color: #000;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}
.maincontent {
    width: 100%;
}
.introduction-section,
.section-kontakt,
.section-leistungen {
    padding: 10% 10% 0 10%;
    width: 100%;
}
.section-kontakt {
    padding-bottom: 10%;
    background-color: #f2ede6;
}
html {
    scroll-behavior: smooth;
}
.hero-video-section {
    margin: 0;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero_background {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero_logo {
	max-width: 80%;
	min-width: 70%;
	margin: 0;
	opacity: 0.9;
}
.hero_logo img {
	width: 100%;
	height: 100%;
}
.header .mainnavigation_logo {
	position: relative;
	height: fit-content;
	display: inline-block;
	top: 5px;
}

.burger {
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 25px;
    height: 25px;
    margin: 0;
    cursor: pointer;
}
.burger span {
    height: 2px;
    width: 100%;
    background-color: #222;
    transition: background-color 175ms, transform 175ms;
    transition-delay: 175ms;
}
.burger::after,
.burger::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #222;
    transition: all 0.1s ease 0.1s;
}
.burger::before {
    top: 0;
}
.burger::after {
    bottom: 0;
}
.burger.active span {
    background-color: #fff;
    transform: scale(0);
    transition-delay: 0.15s;
}
.burger.active::after,
.burger.active::before {
    background-color: #fff;
    transform: rotate(45deg) translate(0, -50%);
}
.burger.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}
.burger.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}

#cookie-banner button, #cookie-preferences button, #cookie-banner span, 
#cookie-preferences label, #cookie-banner h3, #cookie-preferences h3 {
    font-family: "Poppins", Arial, sans-serif;
}
@media (max-width: 840px) {
    .burger {
        display: flex;
    }
    .nav {
        display: none;
        flex-direction: column;
        position: fixed;
        height: 0;
        width: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 0 !important;
	margin: auto auto;
        background-color: #222;
        opacity: 0;
        transition: opacity 0.1s ease;
    }
    .nav.open {
        display: flex;
        opacity: 1;
	height: 100%;
    }
    .nav ul {
        align-items: flex-end;
        flex-direction: column;
	justify-content: center !important;
	padding: 0;
	height: 0;
    }
    .nav.open ul {
	    height: 100%;
	    padding: 15% 5% 15% 5%;
    }
    .nav ul li a {
        color: #fff !important;
    }
}
.open {
    height: 100vh;
}

@keyframes burgerAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.site-footer {
    position: relative;
    padding: 5% 0 5% 0;
    padding: 5% 5% 5% 5%;
    color: #fff;
    text-align: left;
    overflow: hidden;
    width: 100vw;
    background-color: #224f58;
}
.site-footer .footer-background {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 0;
}
.site-footer .footer-background {
    height: 100%;
    width: 100%;
}
.site-footer .footer-left {
    left: 0;
    background-color: #3b717b;
}
.site-footer .footer-right {
    right: 0;
    width: 50%;
    background-color: #224f58;
}
.site-footer .footer-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
}
.site-footer .footer-column {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.site-footer .logo-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-direction: column;
}
.site-footer .logo-column .footer_logo img {
    width: 80%;
}
.site-footer .info-column p {
    font-size: 0.9em;
    line-height: 1.5em;
}
.site-footer .info-column .a-container a {
    text-decoration: none;
    color: inherit;
    font-size: 0.9em;
    line-height: 1.5em;
}
.site-footer .a-container {
    display: flex;
    flex-direction: column;
    margin: 1rem 0 1rem 0;
}
.site-footer .info-column {
    margin-left: 10%;
}
.site-footer .nav-column {
    align-items: flex-end;
}
.site-footer .nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .nav-column ul li {
    margin: 0 0 0.5rem 0;
}
.site-footer .nav-column ul a {
	color: #fff;
	text-decoration: none;
}
.site-footer .nav-column ul a:hover {
	text-decoration: underline;
}
.header {
	position: fixed;
	top: 0;
	height: 109px;
	background-color: #f2ede6;
	padding: 0 5%;
	width: 100%;
	z-index: 10;
	transition: all 0.5s ease-in;
}
.header_content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.header a {
	color: #000;
}
.header.hidden {
	opacity: 0;
	visibility: hidden;
}
.header.hidden a {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	color: #fff;
}
.header .logo {
	width: 200px;
	height: fit-content;
	position: relative;
}
.header .logo img {
    width: 100%;
    height: 100%;
}
.nav {
    display: flex;
    width: 100%;
    padding: 0 40px;
}
.nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 10%;
    padding: 0;
}
.nav a {
    line-height: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: "Montserrat-Regular", Arial, sans-serif;
}
.open {
    display: flex !important;
    color: #fff;
}
.introduction-text {
    text-align: center;
    margin-bottom: 5%;
}
.intro-secondary-textes {
    display: flex;
    width: 100%;
    gap: 3rem;
}
.text-container {
    flex: 1;
}
.section-leistungen {
    margin-bottom: 10%;
}
.leistungen_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    width: 100%;
}
.service {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: left;
    container-type: inline-size;
    transition: all 0.3s ease-in;
    padding-top: 20px;
}
.service:hover {
	padding-top: 0;
	padding-bottom: 20px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.service .leistungen_name {
    font-size: clamp(1rem, 2.4vh, 2rem);
    font-size: 7.6cqi;
    margin: 5% 0;
    width: 100%;
    text-align: left;
}
.leistungen_item {
	width: 80%;
	height: 100%;
	margin-right: auto;
}
.leistungen_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.kontakt-title {
    width: 100%;
}

.kontakt-text {
	font-size: clamp(16px, 3.2vw, 24px);
	line-height: clamp(24px, 3.6vw, 34px);
	font-family: "Poppins", Arial, sans-serif;
	color: #000;
	margin-bottom: 3rem;
	margin-top: -3rem;
	margin: -3rem auto 3rem auto;
	margin: -2% auto 3% auto;
	text-align: center;
	max-width: 1265px;
}

.forms-main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1265px;
    margin: 0 auto;
}
.kontakt-form-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	justify-content: space-between;
	width: 100%;
}
.form-input,
.form-textarea {
	width: 100%;
	height: 100%;
	font-family: "Poppins", Arial, sans-serif;
	padding: 1rem;
	border: none;
	border-radius: 5px;
	color: #000;
	outline: 0;
	transition: border 0.3s ease;
}
.form-input,
.form-textarea,
.submit-button,
.form-input::placeholder,
.form-textarea::placeholder,
.form-input-wrapper label {
	font-family: "Poppins", Arial, sans-serif;
	font-size: 18px;
}
.form-input-wrapper label {
	font-size: 12px;
}
.form-input::placeholder,
.form-textarea::placeholder {
	color: #3b717b;
}
.form-input:focus,
.form-input:hover,
.form-textarea:focus,
.form-textarea:hover {
	border: 1px solid #3b717b;
}
.form-textarea-wrapper {
	height: 100%;
}
.form-textarea {
	resize: vertical;
	height: 100%;
	min-height: 100%;
}
.submit-button {
	background-color: #3b717b;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.submit-button:active,
.submit-button:hover {
	border-radius: 0;
}
.form-input-wrapper {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	align-items: baseline;
}

.form-label,
.form-input-wrapper label .required {
	display: none;
}

div.form-field:nth-child(1) {
	grid-column: 1;
}

div.form-field:nth-child(2) {
	grid-column: 1;
}

div.form-field:nth-child(3) {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.buttons {
	grid-column: 2;
	grid-row: 3;
}


div.form-field:nth-child(3) > div:nth-child(2) {
	height: 100%;
}


.section-kontakt .forms-main-container .notices {
	text-align: center;
	margin: 2rem 0;
	font-size: clamp(16px, 3.2vw, 24px);
	line-height: clamp(24px, 3.6vw, 34px);
}
.section-kontakt .forms-main-container .notices.success.green {
	color: #3b717b;
}
.section-kontakt .forms-main-container .notices.error.red {
	color: red;
}
.section-kontakt .forms-main-container .notices.warning.yellow {
	color: yellow;
}


.default-content {
	position: relative;
	margin-top: 15rem;
	margin-bottom: 5rem;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	max-width: 1200px;
}

.default-content h3 {
	font-family: "Poppins", sans-serif;
	font-size: clamp(18px,5vw,38px);
	line-height: clamp(28px, 5.2vw, 56px);
}


.default-content p,
.default-content a,
.default-content ul li {
	font-family: "Poppins", sans-serif;
	font-size: clamp(16px, 3.2vw, 24px);
	line-height: clamp(24px, 3.6vw, 34px);
}

.default-content p {
	margin: 1rem 0;
}
.default-content ul li {
	margin: 1rem 0 1rem 2rem;
}


@media (max-width: 840px) {
    .header {
        height: 93px;
        padding: 0 30px;
    }
    .header .logo {
        width: 150px;
    }

    .introduction-section,
    .section-kontakt,
    .section-leistungen {
        padding: 15% 5% 0 5%;
    }
    h1 {
        margin-bottom: 15%;
    }
    h1,
    p {
        text-align: left;
    }
    .intro-main-text {
        margin-bottom: 15% !important;
    }
    .intro-secondary-textes {
        display: flex;
        flex-direction: column;
	gap: 1rem;
/*	display: none;*/
    }
    .intro-secondary-text1,
    .intro-secondary-text2 {
        flex: 1;
        font-size: clamp(16px, 3vw, 20px);
    }
    .intro-secondary-text1 {
        margin-bottom: 10%;
    }
    .site-footer {
        padding: 10% 0 10% 0;
	padding: 10% 5% 10% 5%;
    }
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    .info-column {
        margin: 0 !important;
    }
    .nav-column {
        align-items: flex-start !important;
    }
    .footer_logo img {
        width: 100% !important;
    }
    .section-kontakt {
        padding-bottom: 15%;
    }
    .kontakt-text {
	    margin-bottom: 15%;
    }
	.kontakt-form-container {
		display: flex;
		flex-direction: column;
		gap: 2rem;
    }
    .default-content h1 {
	    hyphens: auto;
    }
}
@media (min-width: 1400px) {
    .leistungen_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 3000px) {
    .leistungen_grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.container {
	max-width: 1920px;
	margin: 0 auto;
}
