/* roboto-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/roboto-v30-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */ url('../fonts/roboto-v30-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */ url('../fonts/roboto-v30-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */ url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */ url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ url('../fonts/roboto-v30-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */ url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */ url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* -------------------------------------------------------------------------------- */ 

:root {
    --text-scale: 1;
    font-size: 16px;
    
	/* Primärfarben */ 
	--corporategreen: rgba(23, 156, 125, 1); /* Abstufungen -> 80, 60, 40 */
	--corporategreen80: rgba(23, 156, 125, .8); /* Abstufungen -> 80, 60, 40 */
	--corporateblue: rgba(31, 130, 192, 1); /* Abstufungen -> 80, 60, 40 */
    --steelblue: rgba(0, 91, 127, 1); /* Abstufungen -> 80, 60, 40 */
	--steelblue80: rgba(0, 91, 127, .8); /* Abstufungen -> 80, 60, 40 */
    --steelblue70: rgba(0, 91, 127, .7); /* Abstufungen -> 80, 60, 40 */
    --steelblue60: rgba(0, 91, 127, .6); /* Abstufungen -> 80, 60, 40 */
    --silvergrey: rgba(166, 187, 200, 1); /* Abstufungen -> 80, 60, 40 */
	--silvergrey60: rgba(166, 187, 200, .6); /* Abstufungen -> 80, 60, 40 */
	
	/*	Akzentfarbe */
	--orange: rgba(245, 130, 32, 1); /* Abstufungen -> 80, 60, 40 */
    --orange80: rgba(245, 130, 32, 0.8); /* Abstufungen -> 80, 60, 40 */
    --orange60: rgba(245, 130, 32, 0.6); /* Abstufungen -> 80, 60, 40 */

	
	/* Sekundärfarben */
    --graphit: rgba(28, 63, 82, 1); /* Abstufungen -> 80, 60, 40 */
    --graphit80: rgba(28, 63, 82, .8); /* Abstufungen -> 80, 60, 40 */
    --petrol: rgba(0, 133, 152, 1); /* Abstufungen -> 80, 60, 40 */
	--petrol80: rgba(0, 133, 152, .8); /* Abstufungen -> 80, 60, 40 */
    --aqua: rgba(57, 193, 205, 1); /* Abstufungen -> 80, 60, 40 */
	--aqua80: rgba(57, 193, 205, .8); /* Abstufungen -> 80, 60, 40 */
    --lime: rgba(178, 210, 53, 1); /* Abstufungen -> 80, 60, 40 */
	--yellow: rgba(253, 185, 19, 1); /* Abstufungen -> 80, 60, 40 */
	--red: rgba(187, 0, 86, 1); /* Abstufungen -> 80, 60, 40 */
	--wine: rgba(124, 21, 77, 1); /* Abstufungen -> 80, 60, 40 */
   
	/* Sonstige Farben */
    --darkgrey: rgba(85, 85, 85, 1);
	--whitetrans: rgba(255,255,255,.94);
	
	/* Geräte */
    --width_full: 100vw;
    --width_desktop: 80rem;
    --width_laptop: 70rem;
	--width_tablet: 50rem;
	--width_smartphone: 30rem;
}

/* -------------------------------------------------------------------------------- */ 

.fadein {
    opacity:0;
	transition: all .6s ease-in;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    text-decoration: none;
    border: none;
	transition: all .2s ease-out;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:active, *:hover {
    outline: 0;
}

::selection {
    background: #e54900;
    color: #fff;
}

::-webkit-input-placeholder {
    color: var(--silvergrey);
}

:-ms-input-placeholder {
    color: var(--silvergrey);
}

html {
    width: 100%;
    height: 100%;
	scroll-behavior: smooth;
	background: linear-gradient(117deg, rgba(1,71,105,1) 0%, rgba(72,186,205,1) 45%, rgba(5,177,169,1) 100%);
	background-attachment: fixed;
}

html, body {
    font-family: 'Roboto', 'Frutiger';
    font-size: 1.1rem;
    font-size: calc(1.1rem * var(--text-scale));
	line-height: 1.6;
    letter-spacing: .025rem;
    color: var(--graphit);
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    min-width: var(--width_desktop);
    max-width: var(--width_desktop);
    min-height: 100%;
    margin: 0 auto;
    border: 1px dashed var(--silvergrey);
	background: white;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
	position: relative;
    display: block
}

header {
	position: relative;
	width: 100%;
	padding: 1rem 0 0 0;
    max-height: 41.5rem;
}

nav {
	position: relative;
	z-index: 9999;
}

main {
    position: relative;
	padding: 0 2rem;
}

section {
	position: relative;
    margin: 4rem 0 0 0;
    padding: 4rem 0;
    border-bottom: 1px dashed var(--silvergrey);
}

section + section {
    border-top: none;
    padding-top: 0;
}

section p:last-child {
    margin-bottom: 0;
}

main section:last-child {
	padding-bottom: 25vh;
}

footer {
	position: relative;
    width: calc(var(--width_desktop) - 2px);
	padding: 1rem 2rem;
	background: var(--whitetrans);
    color: black;
    z-index: 2000
}


/* -------------------------------------------------------------------------------- */ 

audio, canvas, progress, video {
    display: inline-block;
	width: 100%;
	max-height: 400px;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	color: var(--corporateblue);
    hyphens: none;
}

h1 {
	font-size: 2rem;
	font-weight: 400;
	margin-bottom: .5rem;
}

h2 {
	font-size: 1.75rem;
	font-weight: 400;
    margin-bottom: 0rem;
    float: left;
    width: 100%;
    padding: 0 20% 0 20%;
    margin-top: 3rem;
}

h3 {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 2rem;
}

h4 {
	font-size: 1.25rem;
	font-weight: 400;
	margin-bottom: 2rem;
}

p, ul, ul li {
	font-weight: 300;
}

main p {
    margin-top: 1rem;
	margin-bottom: 0.5rem;
}

b, strong {
    font-weight: 700;
}

i, em {
    font-style: italic
}

::selection {
    background: var(--orange);
    color: #fff;
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5rem
}

sub {
    bottom: -0.25rem;
}

img {
    width: 100%;
    object-fit: contain;
}

figure {
    margin: 1rem 0;
}

hr {
    width: 100%;
    height: 1px;
    background: black;
    margin: 2rem 0;
}

ol, ul {
    list-style: none;
}

li {
	list-style-type: none;
}

a {
    color: inherit;
}

a:hover {
	font-weight: 400;
}

main p a, main ul li a {
	color: var(--corporateblue);
	text-decoration: underline;
}

.clear {
    clear: both;
}

/*
p + p, p + ul, ul + p, p + ol, ol + p {
    margin: 2.5% 0 0;
}

p + h3, p + h4, p + h5, p + h6, 
ul + h3, ul + h4, ul + h5, ul + h6 {
    margin: 5% 0 0;
}
*/

ol {
    list-style: decimal;
}

ol li, ul li {
    list-style-position: outside;
    font-size: 86%;
}

ul li {
    display: table;
    margin: .5rem 0 0 1rem;
    line-height: 1.4;
}

main ul li:before {
    display: table-cell;
    content: '\25B6';
    font-size: 80%;
    color: var(--orange);
    padding-right: 5px;
    vertical-align: top;
    line-height: 1.7;   
}

ol li {
    margin: 0 0 0 5%;
}

li::marker {
    font-weight: bold;
}

/* -------------------------------------------------------------------------------- */ 

.grid2 {
	display: grid;
	grid-template-columns: 50% 50%;
	padding: 0 calc(20% - 5.5rem);
}

.grid2 figure:nth-child(odd) {
	padding: 0 10% 0 20%;
}

.grid2 figure:nth-child(even) {
	padding: 0 20% 0 10%;
}

/* -------------------------------------------------------------------------------- */ 

#navigation {
    position: fixed;
    width: calc(var(--width_desktop) - 2px);
	display: flex;
	justify-content: space-between;
	align-items: center;
    color: black;
    padding: 1rem 0 2rem 0;
    border-bottom: 1px dashed var(--silvergrey);
}

.item1 {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.item2 {
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem;
}

.language-switcher {
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
	height: 2rem;
	padding: 0 0.5rem;
	background: var(--whitetrans);
	border: 1px dashed var(--silvergrey);
	border-radius: 999px;
	font-size: 0.75rem;
	line-height: 1;
}

.language-option {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: black;
	font-weight: 700;
	letter-spacing: 0.02rem;
}

.language-option:hover {
	color: var(--orange);
}

.language-option.active {
	opacity: 0.7;
	cursor: default;
	pointer-events: none;
}

.language-code {
	line-height: 1;
}

.logo { 
	width: 300px;
	padding: 0 0 0 2rem;
	background: white;
}

.logotitle {
	font-size: .75rem;
	font-weight: 700;
	text-align: left;
	margin-top: .5rem;
}

.page-image {
	height: 305px;
	width: 100%;
    margin-top: 9.8rem;
}

.page-image img {
	object-fit: cover;
    height: 530px;
}

.page-title {
	position: relative;
	top: -4rem;
    margin-left: 2rem;
	width: 700px;
    border: 1px solid white;
    border-bottom: 0;
    font-size: .8rem;
    color: #fff;
    padding: 2rem;
    text-align: left;
    background: linear-gradient(117deg, rgba(1,71,105,.94) 0%, rgba(72,186,205,.94) 45%, rgba(5,177,169,.94) 100%);
    background-attachment: scroll;
}

.page-title p {
    font-weight: 400;
}

.page-title h1 {
	color: white;
}

/* -------------------------------------------------------------------------------- */ 

.sticky {
    position: fixed;
    top: 0;
	padding: 1rem 0 !important;
    border-bottom: 1px dashed var(--silvergrey);
	background: white;
}

.sticky .logo {
	width: 200px;
}

.sticky .logotitle {
	font-size: .45rem;
}

.sticky + section {
    padding-top: 3rem;
}

#menuToggle {
	position: relative;
    width: 2rem;
    height: 2rem;
	margin-right: 2rem;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 9998
}

#menuToggle input {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
	position: relative;
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 4px;
    background: black;
    border-radius: 3px;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    -webkit-transform-origin: 4px 0px;
    -ms-transform-origin: 4px 0px;
    transform-origin: 4px 0px;
    -webkit-transition: background .5s cubic-bezier(.77, .2, .05, 1), opacity .55s ease, -webkit-transform .5s cubic-bezier(.77, .2, .05, 1);
    transition: background .5s cubic-bezier(.77, .2, .05, 1), opacity .55s ease, -webkit-transform .5s cubic-bezier(.77, .2, .05, 1);
    -o-transition: transform .5s cubic-bezier(.77, .2, .05, 1), background .5s cubic-bezier(.77, .2, .05, 1), opacity .55s ease;
}

#menuToggle span:first-child {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    transform-origin: 0% 0%
}

#menuToggle span:nth-last-child(2) {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    -webkit-transform: rotate(45deg) translate(6px, 1px);
    -ms-transform: rotate(45deg) translate(6px, 1px);
    transform: rotate(45deg) translate(6px, 1px);
    background: red
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    -webkit-transform: rotate(0deg) scale(.2, .2);
    -ms-transform: rotate(0deg) scale(.2, .2);
    transform: rotate(0deg) scale(.2, .2)
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    -webkit-transform: rotate(-45deg) translate(-5px, 10px);
    -ms-transform: rotate(-45deg) translate(-5px, 10px);
    transform: rotate(-45deg) translate(-5px, 10px);
}

#menu {
    position: fixed;
    width: 100vw;
    margin: 0 auto;
    top: 0;
    left: -110vw;
    background: rgba(255,255,255,.94);
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: .3s left cubic-bezier(.77, 0, .175, 1);
    -o-transition: .3s left cubic-bezier(.77, 0, .175, 1);
    transition: .3s left cubic-bezier(.77, 0, .175, 1);
    cursor: default
}

#menu li {
    font-size: 1.5rem;
    font-weight: 300;
    width: 40vw;
    padding: 12px;
    color: black;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
    text-align: center;
    border-bottom: 1px dashed var(--silvergrey);
}

#menu li a {
	color: black;
}

#menu li:last-of-type {
    border-bottom: none
}
#menu a:hover {
    color: #ff5806
}
#menuToggle input:checked ~ ul {
    left: 0
}

/* -------------------------------------------------------------------------------- */ 

.text-content {
    float: left;
    width: 100%;
    padding: 0 20% 0 20%;
}

figure + .text-content, figure + h3, p + h3, ul + h3 {
    margin-top: 2rem;
}

figure {
    float: none;
    width: 100%;
    padding: 0 30% 0 30%;
    margin-top: 6rem;
    border-left: none;
}

figure img {
	padding: .5rem;
	max-height: 400px;
}

figure img, figure video {
	border: 1px solid var(--silvergrey60);
}

figcaption {
    font-size: .8rem;
    color: var(--graphit80);
}

figcaption h3, figcaption h4 {
	margin-bottom: 0;
}

figcaption p {
    display: block;
    font-size: .8rem;
}

.kontakt .text-content {
	width: 70%;
}

.kontakt figure {
	width: 70% !important;
	margin: 0 auto;
}

.kontakt figure figcaption p {
	margin-bottom: 1rem;
	font-weight: 400;
}

/* -------------------------------------------------------------------------------- */ 

.subpage .text-content {
    float: none;
    width: 100%;
    padding: 0 20% 0 20%;
}

.subpage figure {
    float: none;
    width: 100%;
    padding: 0 20% 0 20%;
    margin-top: 4rem;
    border-left: none;
}

.subpage .infokasten {
	margin: 4rem 20% 2rem;
}

/* -------------------------------------------------------------------------------- */ 

.infokasten {
	/* background: var(--silvergrey60); */
	padding: 2rem;
	background: linear-gradient(117deg, rgba(1,71,105,.94) 0%, rgba(72,186,205,.94) 100%);
}

.infokasten p {
	font-size: 90%;
	font-weight: 400;
	margin: .86rem 0 0 0;
}

.infokasten ul li, .infokasten ol li {
    font-size: 90%;
}

.infokasten p, .infokasten ul li, .infokasten h3 {
	color: white;
	text-shadow: 0 .5px 3px var(--graphit);
}

.infokasten ul li ul {
	margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------------- */ 

.bereichssektion h3 { 
	hyphens: auto;
}

.bereichsauswahl {
	display: grid;
	grid-template-columns: 33.3% 33.3% 33.3%;
}

.bereich {
	position: relative;
	display: inline-grid;
	grid-template-rows: 30% 50% 15%;
	border: 1px solid white;
	padding: 2rem 2rem 1.8rem 2rem;
	color: white;
    background: var(--graphit);
}

.bereich h4 {
	color: white;
    margin-bottom: .75rem;
    hyphens: none;
}

.bereich p {
	position: relative;
	font-size: .8rem;
	padding-bottom: 1rem;
}

.bereich button {
    font-size: .75rem;
    color: white;
    font-weight: 400;
	letter-spacing: .5px;
    min-width: 4rem;
	padding: .6rem 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
	background: transparent;
    border: 1px solid white;
    transition: box-shadow .4s, transform 1.5s, color .5s, background 1s;
}

.bereich a {
    padding: 1rem 2rem;
}

.bereich button:hover {
	background: #fff;
	box-shadow: inset 0 0 0 2rem #fff;
	color: var(--steelblue);
	cursor: pointer;
}

.bereich:nth-child(1) {
	background: var(--graphit);
}
.bereich:nth-child(2) {
	background: var(--steelblue);
}

.bereich:nth-child(3) {
	background: var(--petrol);
}

.bereich:nth-child(4) {
	background: var(--corporategreen80);
}

.bereich:nth-child(5) {
	background: var(--aqua);
}

.bereich:nth-child(6) {
	background: var(--corporategreen);
}

.bereich:nth-child(7) {
	background: var(--orange60);
}

.bereich:nth-child(8) {
	background: var(--orange80);
}

.bereich:nth-child(9) {
	background: var(--graphit);
}
.bereich:nth-child(10) {
	background: var(--steelblue);
}

.bereich:nth-child(11) {
	background: var(--petrol);
}

.bereich:nth-child(12) {
	background: var(--corporategreen80);
}

.bereich:nth-child(13) {
	background: var(--aqua);
}

.bereich:nth-child(14) {
	background: var(--corporategreen);
}

.bereich:nth-child(15) {
	background: var(--orange60);
}

.bereich:nth-child(16) {
	background: var(--orange80);
}

.related .bereich:nth-child(1) {
	background: var(--steelblue);
}

.related .bereich:nth-child(2) {
	background: var(--steelblue80);
}

.related .bereich:nth-child(3) {
	background: var(--steelblue60);
}

/* -------------------------------------------------------------------------------- */ 

.credits-inner {
	padding: 1rem 0 1.5rem 0;
}

.credits p {
	color: black;
    font-size: .75rem;
}

.credits a {
    color: black;
}

.credits-left {
    float: left;
	width: 49%;
		
}

.credits-right {
    float: right;
	width: auto;
}

.top:before {
    position: absolute;
    right: 2rem;
    content: '\25B2';
    font-size: 1.25rem;
    margin-top: -.6rem;
}

/* -------------------------------------------------------------------------------- */ 

@media (max-width: 1440px) {
    
    body, p {
        font-size: 1rem;
    }
    
    body {
        min-width: var(--width_laptop);
        max-width: var(--width_laptop);
    }
    
    header {
        max-height: 40rem;
    }
    
    #navigation {
        width: calc(var(--width_laptop) - 2px);
    }
    
    footer {
        width: calc(var(--width_laptop) - 2px);
    }
    
    .page-title {
        top: -7rem;
    }
    
    .bereichsauswahl {
        display: grid;
        grid-template-columns: 50% 50%;
    }
    main p {
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
}

/* -------------------------------------------------------------------------------- */ 

@media (max-width: 1280px) {
    
    html, body, p {
        font-size: .9rem;
    }
    
    body {
        min-width: calc(var(--width_tablet) + 100px);
        max-width: calc(var(--width_tablet) + 100px);
    }
    
    header {
      max-height: 33.5rem;
    }
    
    #navigation {
        width: calc(var(--width_tablet) + 100px);
    }
    
    footer {
        width: calc(var(--width_tablet) + 100px);
    }
    
    .page-title {
        top: -4rem;
		width: calc(var(--width_tablet) - 6rem);
        margin: 0 auto;
    }
    
    .bereichssektion {
		width: 100%; 
		padding: 4rem 0;
		margin: 0 auto;
	}
	
	.subpage .infokasten {
		margin: 4rem 9% 2rem;
	}
	
	.subpage .text-content, .subpage figure {
		padding: 0 9% 0 9%;
	}
	
	.grid2 {
		grid-template-columns: 100%;
		padding: 0 0;
	}
    main p {
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
}

/* -------------------------------------------------------------------------------- */ 

@media (max-width: 1024px) {
    
    html, body, p {
        font-size: .9rem;
    }
    
    body {
        min-width: var(--width_tablet);
        max-width: var(--width_tablet);
    }
    
    #navigation {
        width: var(--width_tablet);
    }
    
    footer {
        width: var(--width_tablet);
    }
    
    .page-title {
        top: -4rem;
        margin: 0 auto;
		width: calc(var(--width_tablet) - 12rem);
    }
	
	.text-content {
		float: none;
		width: 100%;
		padding: 0 20% 0 20%;
	}

	figure {
		float: none;
		width: 100%;
		padding: 0 20% 0 20%;
		margin-top: 4rem;
		border-left: none;
	}
    
    .bereichsauswahl {
        grid-template-columns: 100%;		
    }
    
    .bereich {
        grid-template-rows: auto;
    }
    
    .bereich p {
        padding-bottom: 0;
    }
    
    .bereich button {
        padding: .5rem 0;
    }
    main p {
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
}

/* -------------------------------------------------------------------------------- */ 

@media (max-width: 840px) {
    
	body, header, #navigation, .page-title, main, footer {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
    }
	
	body, header, main {
		border: none;
	}
	
	#menu li {
		width: 100%;
		font-size: 1rem;
		padding: 1rem 2rem;
	}
	
	.logotitle {
		display: none;
	}

	.language-switcher {
		font-size: 0.7rem;
		padding: 0.2rem 0.4rem;
	}
	
	.page-image {
		height: 4.2rem;
        margin-top: 8.2rem;
	}
	
	.page-title {
		width: calc(100% - 4rem);
		min-width: calc(100% - 4rem);
		max-width: calc(100% - 4rem);
		margin: 0 auto;
		top: -1rem;
	}
	
	.page-title h1 {
		font-size: 1.4rem;
	}
	
	.page-image img {
		width: 100%;
		height: 300px;
	}
	
	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.25rem;
        padding: 0 0% 0 0%;
	}

	h3 {
		font-size: 1rem;
	}

	h4 {
		font-size: 1rem;
	}
	
	.subpage .infokasten {
		margin: 4rem 0;
	}
	
	.text-content, figure, .subpage .text-content, .subpage figure {
		padding: 0;
	}
    main p {
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
}

#menuToggle span:last-child {
	margin-bottom: 0;
}
