﻿@supports (font-variation-settings: normal) {
	@font-face {
    font-family: 'TheSans';
    src: url('../assets/fonts/TheSansVariableC4s.woff2') format('woff2 supports variations'),
    	url('../assets/fonts//TheSansVariableC4s.woff2') format('woff2-variations');
    font-weight: 100 1000;
	}

	@font-face {
    font-family: 'TheSansItalic';
    src: url('../assets/fonts/TheSansVariableC4s-Italic.woff2') format('woff2 supports variations'),
    	url('../assets/fonts/TheSansVariableC4s-Italic.woff2') format('woff2-variations');
    font-weight: 100 1000;
	} 
}


html {
	scroll-behavior: smooth;
}
*, html {
	font-family: 'TheSans', Arial, sans-serif;
	font-weight: normal;
    line-height: 1.4;
}

:root {
	--primary: #F8F3A4;
	--secondary: #C3DDF3;
	--secondary-transparent: #68AAE266;
	--tertiary: #4B84BC;
	--blue: #C3DDF3;
	--orange: #F39100;
	--orange-hover: #d07d00;
	--orange-active: #eb910a;
	--black: #000000;
	--white: #ffffff;
	--background-primary: var(--primary);
	--background-secondary: var(--secondary);
	--background-secondary-transparent: var(--secondary-transparent);
	--background-tertiary: var(--tertiary);
	--hover-color: var(--black);
	--headline: 45px;
	--gridheadline: 38px;
	--gridsubheadline: 28px;
	--bodytext: 24px;
	--linktext: 18px;
}

h1,h2,h3,h4,h5,h6,span,p,ul,li {
	font-family: "TheSans", Arial, sans-serif;
}

.headline {
	font-size: var(--headline);
	line-height: 1.2;
	font-weight: 700;
}
p, li, .btn-custom, .link-intern p {
	font-size: var(--bodytext);
	line-height: 1.6;
	font-weight: 400;
}

.link-menue p {
  font-weight: 400; /* Start-Schriftstärke (Normal) */
  transition: font-weight 0.3s ease; /* Definiert den fließenden Übergang */
}

.link-menue:hover p,
.link-menue:focus p {
  font-weight: 700; /* Ziel-Schriftstärke (Fett) beim Hovern oder Tab-Fokus */
}

a {
	text-decoration: none;
}
a:hover {
	transition: .3s;
	text-decoration: underline;
	color: var(--hover-color);
}
a p {
	text-decoration: none;
	color: var(--black);
	font-size: var(--linktext);
	line-height: 1.6;
	font-weight: 400;
	margin: 0;
}

.nav-custom-width {
	max-width: 1320px;
	width: 100%;
}

.chapter {
	font-size: var(--linktext);
	line-height: 140%;
	display: flex;
	align-items: self-start;
}
.chapter::before {
	width: 24px;
    height: auto;
    content: url(img/Vector.svg);
    margin-right: .5rem;
}
.ls, .gs {
	display: flex;
	align-items: self-start;
}
.ls::before {
	width: 24px;
	height: auto;
	content: url(img/book.svg);
}
.gs::before {
	width: 24px;
	height: auto;
	content: url(img/hand-left.svg);
}

.bgc-primary {
	background-color: var(--background-primary);
}
.bgc-secondary {
	background-color: var(--secondary);
}
.bgc-secondary-transparent {
	background-color: var(--background-secondary-transparent);
}
.bgc-tertiary {
	background-color: var(--background-tertiary);
}
.btn-custom {
	background-color: var(--orange);
	width: 100%;
	max-width: 90%;
}
.btn-top::before {
	content: "";
    position: absolute;
    top: -10px;
    left: -11px;
    right: 9px;
    bottom: 4px;
    border: 2px solid black;
    border-radius: 4px;
    pointer-events: none;
}
.btn-top:hover::before {
	transition: .4;
	top: 0;
	left: 0;
	right: 0px;
    bottom: 0px;
	border-color: white;
	transition: all 0.2s ease-in-out;
	/* border-color: transparent; */
}
.btn-top {
	background-color: var(--primary);
	width: 100%;
	max-width: 50%;
	justify-content: center;
	display: flex;
	position: relative; 
	transition: background-color 0.2s ease;
}
.btn-top:hover {
	background-color: var(--orange);
}
.btn-top:hover::after {
	filter: invert(1);
}
.btn-top::after {
	width: 24px;
    height: auto;
    content: url(img/arrow-top.svg);
    margin-left: .5rem;
}
.btn-custom:hover,
.btn-custom:active,
.btn:focus-visible {
	background-color: var(--orange-hover);
}
:not(.btn-check)+.btn:active {
	background-color: var(--orange-active);
}
.chapter {
	scroll-margin-top: 110px;
}
.smt {
	scroll-margin-top: 20px;
}
.w-stretch {
	width: -webkit-fill-available;
	width: stretch;
}

.h2-background {
	width: fit-content;
	height: fit-content;
	clip-path: polygon(0% 0%, calc(100% - 0%) 0%, 100% 100%, 0% 100%);
	padding-left: 1rem;
	padding-right: 5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 13px;
	background-color: #E7E347;
	margin-left: 4rem;
}
.h1-background {
	width: fit-content;
	height: fit-content;
	clip-path: polygon(0% 0%, calc(100% - 0%) 0%, 100% 100%, 0% 100%);
	padding-left: 1rem;
	padding-right: 5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-radius: 13px;
	background-color: var(--primary);
}
.h2-background h2 {
	font-size: var(--gridsubheadline) !important;
	font-family: "TheSansItalic";
	font-style: normal;
}
.h1-background h1 {
	font-size: var(--gridheadline) !important;
	font-family: "TheSansItalic";
	font-style: normal;
}
.sline {
    grid-area: sline;
    align-self: end;
}

.logo-infas {
	max-width: 80px;
}

.hline {
    grid-area: hline;
    align-self: end;
}
.parent {
    display: grid;
    aspect-ratio: 16 / 9; 
    width: 100%;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(7, 1fr); 
    grid-template-areas: 
        ". . . . . . . . . ."
        ". . . . . . . . . ."
        ". . . . . . . . . ."
        ". . . . . . . . . ."
        ". sline sline sline sline sline sline sline sline ."
        ". hline hline hline hline hline hline hline hline ." 
        ". . . . . . . . . .";
    gap: 8px;
    background-image: url(img/Group_131.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	height: 65%;
}

/* ================================================================
Media Rules
================================================================ */
@media screen and (width <= 1400px) {
	.w-stretch {
		width: -webkit-fill-available;
		width: stretch;
		/* position: sticky;
		top: 70px; */
	}
	.btn-top {
		max-width: 80%;
	}
}

@media screen and (width <= 1200px) {
	.w-stretch {
		width: -webkit-fill-available;
		width: stretch;
		position: unset;
		top: unset;
	}
	.parent {
		aspect-ratio: auto;
		grid-template-columns: repeat(10, 1fr);
		grid-template-rows: repeat(5, 1fr); 
		grid-template-areas:
			". . . . . . . . . ."
			". . . . . . . . . ."
			". . . . . . . . . ."
			". sline sline sline sline sline sline sline sline ."
			". hline hline hline hline hline hline hline hline hline" 
			;
		background-size: contain;
	}
}

@media screen and (width <= 991px) {
	:root {
		--headline: 38px;
		--gridheadline: 24px;
		--gridsubheadline: 20px;
		--bodytext: 20px;
		--linktext: 16px;
	}
	.h2-background,
	.h1-background {
		padding-right: 2rem;
	}
    .parent {
		aspect-ratio: auto;
		grid-template-columns: repeat(10, 1fr);
		grid-template-rows: repeat(6, 1fr); 
		grid-template-areas: 
			". . . . . . . . . ."
			". . . . . . . . . ."
			". . . . . . . . . ."
			". sline sline sline sline sline sline sline . ."
			". hline hline hline hline hline hline hline hline ." 
			". . . . . . . . . ."
			;
		background-size: contain;
		height: 100%;
	}
}

@media screen and (width <= 767px) {
	.h1-background, 
	.h2-background {
		padding-left: .5rem;
		padding-right: 1rem;
		padding-top: .5rem;
		padding-bottom: .5rem;
	}
	.h2-background {
		margin-left: 2rem;
	}
	.parent {
		/* aspect-ratio: auto; */
		grid-template-columns: repeat(10, 1fr);
		grid-template-rows: repeat(5, 1fr); 
		grid-template-areas:
			". . . . . . . . . . " 
			". . . . . . . . . . "
			". . . . . . . . . . "
			". sline sline sline sline sline sline sline sline sline"
			". hline hline hline hline hline hline hline hline hline" 
			;
		background-size: contain;
	}
}

@media screen and (width <= 575px) {
	:root {
		--headline: 24px;
		--gridheadline: 20px;
		--gridsubheadline: 18px;
		--bodytext: 18px;
		--linktext: 14px;
	}
	.container-lg.p-sm-0:has(.parent) .container-fluid {
		padding: 0;
	}
    .parent {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(4, 1fr); 
        grid-template-areas: 
        	". . . . ."    
			". . . . ."
			". . . . ."
            "sline sline sline sline sline"
            "hline hline hline hline hline"
			". . . . ."
			;
        background-size: contain;
    }
	.h2-background,
	.h1-background {
		padding-right: .5rem;
	}
	.h2-background {
		margin-left: 0;
	}
}