@import 'font-awesome.css';
@font-face {
	font-display: swap; 
	font-family: 'Atkinson Hyperlegible';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/atkinson-hyperlegible-v12-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap; 
	font-family: 'Atkinson Hyperlegible';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/atkinson-hyperlegible-v12-latin-italic.woff2') format('woff2');
}
@font-face {
	font-display: swap; 
	font-family: 'Atkinson Hyperlegible';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/atkinson-hyperlegible-v12-latin-700.woff2') format('woff2');
}
@font-face {
	font-display: swap; 
	font-family: 'Atkinson Hyperlegible';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/atkinson-hyperlegible-v12-latin-700italic.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Noto Serif';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/noto-serif-v33-latin-regular.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Noto Serif';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/noto-serif-v33-latin-700.woff2') format('woff2');
}


/* ---------- Schriften & Größen ---------- */
body {
	--isLightGreen: #DAEDCC;
	--isWhite: #FFFFFF;
	--isBlack: #000000;
	--isRose: #ECCBE0;
	--isDarkBlue: #004554;
	--isBlue: #0F789A;
	--isLilac : #C72D87;
	font-family: 'Atkinson Hyperlegible';
	font-size: 16px;
	font-weight: 400;
	color: var(--isBlue);
}
body.isText {
	font-size: 24px;
}
body.isContrast {
	--isLightGreen: #000000;
	--isWhite: #FFFFFF;
	--isBlack: #000000;
	--isRose: #000000;
	--isDarkBlue: #FFFFFF;
	--isBlue: #000000;
	--isLilac : #000000;	
}
.thumbnail {
	width: 160px;
}
h1 {
	font-size: 2em;
	line-height: 1.2;
	font-weight: 400;
	margin: 0;
}
h2 {
	font-size: 2em;
	line-height: 1.2;
	font-weight: 400;
	margin: 0;
}
span.isNoto {
	font-family: 'Noto Serif';
}
h3 {
	font-size: 1.25em;
	line-height: 1.3;
	margin: 1.25em 0 1em 0;
}
h4 {
	font-size: 1em;
	line-height: 1.5;
	margin: 1.25em 0 1em 0;
}
p, ol, ul {
	margin: 1em 0;
	line-height: 1.5;
}
ol {
	padding: 0;
}
ul {
	padding: 0 0 0 1em;
}
p.isL {
	font-size: 1.25em;
}
p.isS {
	font-size: .75em;
}
a {
	transition: all 0.2s ease-in-out;
	text-decoration: none;
	color: inherit;
}
a:hover,
a:focus, 
a:active {
	color: inherit;
	outline: none;
}
a.hasArrow,
a.hasArrowBefore {
	display: flex;
	align-items: first baseline;
	font-weight: 700;
}
a.hasArrow::after {
	margin-left: .5em;
	content: '';
	width: 1.25em;
	height: 1em;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	transform: translateY(.2em);
}
a.hasArrow::after {
	background-image: url('../res/pfeil_blau.svg');
}
a.hasArrowBefore::before {
	margin-right: .5em;
	content: '';
	width: 1.25em;
	height: 1em;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	transform: translateY(.2em) rotate(180deg);
}
a.hasArrowBefore::before {
	background-image: url('../res/pfeil_blau.svg');
}
body.isContrast a.hasArrow::after
body.isContrast a.hasArrowBefore::before {
	background-image: url('../res/pfeil_weiss.svg');
}
body.isContrast section.isWhite a.hasArrow::after,
body.isContrast section.isWhite a.hasArrowBefore::before {
	background-image: url('../res/pfeil_schwarz.svg');
}
a.isLilac {
	color: var(--isLilac);
}
a.button,
[type="submit"] {
	-webkit-appearance: none;
	font-size: 1em;
	line-height: 1.5;
	color: var(--isWhite);
	background-color: var(--isLilac);
	padding: .25em .75em;
	display: inline-block;
	white-space: nowrap;
	border: none;
}
body.isContrast a.button,
body.isContrast [type="submit"] {
	color: var(--isBlack);
	background-color: var(--isWhite);
}

/* ----- Responsive ----- */
@media only screen and (min-width: 640px) {
	h1 {
		font-size: 2.5em;
	}
	h2 {
		font-size: 2.5em;
	}
	body {
		font-size: 17px;
	}
	body.isText {
		font-size: 25.5px;
	}
}
@media only screen and (min-width: 800px) {
	body {
		font-size: 18px;
	}
	body.isText {
		font-size: 27px;
	}
}
@media only screen and (min-width: 960px) {
	body {
		font-size: 19px;
	}
	body.isText {
		font-size: 28.5px;
	}
}
@media only screen and (min-width: 1120px) {
	body {
		font-size: 20px;
	}
	body.isText {
		font-size: 30px;
	}
}
@media only screen and (min-width: 1280px) {
	body {
		font-size: 21px;
	}
	body.isText {
		font-size: 31.5px;
	}
}
@media only screen and (min-width: 1440px) {
	body {
		font-size: 22px;
	}
	body.isText {
		font-size: 33px;
	}
}
@media only screen and (min-width: 1600px) {
	body {
		font-size: 23px;
	}
	body.isText {
		font-size: 34.5px;
	}
}
@media only screen and (min-width: 1920px) {
	body {
		font-size: 24px;
	}
	body.isText {
		font-size: 36px;
	}
}

/* ---------- First & Last Child ---------- */
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, p:first-child, ul:first-child, ol:first-child {
    margin-top: 0;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, p:last-child, ul:last-child, ol:last-child {
    margin-bottom: 0;
}