:root {
	--main-site-width: 1060px;
	--main-gutter-space: 30px;
	--half-gutter-space: 15px;
	--site-border-width: 20px;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	height: 100%;
	font-size: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

*:focus {
	outline-style: none;
}

::-moz-focus-inner {
	border: 0;
}

::selection {
	background: #61a331;
	color: #fff;
}

::-moz-selection {
	background: #61a331;
	color: #fff;
}

body {
	position: relative;
	background: #fff;
	color: #373737;
	font-family: "Poppins", sans-serif;
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.6em;
	letter-spacing: 0.03em;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #61a331;
	text-decoration: none;
	font-weight: 600;
}

a:hover,
a:focus {
	color: #61a331;
	text-decoration: none;
}

p a:hover,
p a:focus {
	border-bottom: 4px solid #61a331;
}

a:active {
	color: #61a331;
	text-decoration: none;
}

a:focus img {
	outline: 8px solid #61a331;
}

h1,
h1 a,
h2,
h2 a,
h3,
h3 a,
.ui-accordion-header {
	font-family: "Exo 2", sans-serif;
	font-weight: 400;
}

h1,
h2,
h3 {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

h1 {
	font-size: 2.3rem;
	margin-top: 1.5em;
	margin-bottom: 1.4em;
	line-height: 1.5em;
}

h2 {
	font-size: 2.2rem;
	font-style: italic;
	margin-top: 1.5em;
	margin-bottom: 1.4em;
	line-height: 1.3em;
	max-width: 30ch;
}

h3,
.ui-accordion-header {
	font-size: 1.5rem;
	margin-top: 1.5em;
	margin-bottom: 1.4em;
	line-height: 1.3em;
}

h4,
h4 a {
	font-size: 1.3rem;
	font-weight: 400;
	margin-top: 0.8em;
	margin-bottom: 0.2em;
	line-height: 1.4em;
}

p {
	margin-bottom: 0.7em;
}

p:last-child {
	margin-bottom: 0;
}

b {
	font-weight: 500;
}

div[class^="ce_"] strong {
	font-weight: 600;
}

#header .inside,
#footer .inside,
.content-clamp {
	max-width: var(--main-site-width);
	margin: 0 auto;
	padding-left: var(--site-border-width);
	padding-right: var(--site-border-width);
}

/* Header
==============================*/

#header {
	background-color: #f3f4f3;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding-top: 10px;
	padding-bottom: 7px;
}

#header .inside {
	display: flex;
	flex-flow: row nowrap;
}

/* Main Navigation
----------------------------- */

.main_nav a {
	color: #375c29;
	display: block;
}

.main_nav li.active a {
	color: #61a331;
}

#header .main_nav {
	width: 100%;
}

#header .main_nav a {
	border-bottom: 4px solid transparent;
}

#header .main_nav a:hover,
#header .main_nav a:focus-visible {
	border-color: #61a331;
}

#header .main_nav > ul {
	display: flex;
	flex-flow: row nowrap;
	gap: 1.5em;
	list-style: none;
	align-items: center;
}

#header .main_nav .icon {
	display: block;
	width: 1.3em;
	height: 1.6em;
	fill: #375c29;
}

#header .main_nav .icon-text {
	display: none;
}

#header .main_nav li.home_button {
	margin-right: auto;
}

#header .nav_button {
	display: none;
}

/* Mobile Navigation
----------------------------- */

#dk_mmenu {
	top: 3.1125rem;
	max-width: 200px;
}

#dk_mmenu .nav_button {
	display: none;
}

#dk_mmenu .home_button .icon {
	display: none;
}

#dk_mmenu .home_button .icon-text {
	display: block;
}

#dk_mmenu ul > li {
	margin: 10px;
	list-style: none;
}

/* Content
==============================*/

.article__inside {
	margin-top: 40px;
	margin-bottom: 80px;
}

.article__inside > h2.ce_headline {
	margin-top: 0.4em;
	margin-bottom: 0.6em;
}

.article__inside > h3.ce_headline {
	margin-top: 0.4em;
	margin-bottom: 0.6em;
}

.sub_article {
	border-top: 10px solid #f3f4f3;
}

/* Logo
----------------------------- */

#logo {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
}

#logo a {
	align-self: center;
	background-image: url(../bilder/lechner_logo.svg);
	background-size: cover;
	background-repeat: no-repeat;
	display: block;
	width: 330px;
	height: 203px;
	text-indent: -9999px;
	margin-top: 85px;
	margin-bottom: 50px;
}

#logo a:hover {
	border: none;
}

.logo_article .article__inside {
	margin-top: 0;
	margin-bottom: 0;
}

/* Spalten
----------------------------- */

.article__inside {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--main-gutter-space);
}

.article__inside > * {
	grid-column: span 12;
}

.dk_col_2 {
	grid-column: span 6;
}

/* Abschnits Bilder
----------------------------- */

.section_img {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 25%;
}

.section_img--smal {
	padding-bottom: 10%;
}

.section_img_source {
	display: none;
}

/* Bilder
----------------------------- */

.image_container img {
	margin: 0 auto;
}

/* Listen
----------------------------- */

.ce_text ul,
.ce_list ul,
.ce_text ol,
.ce_list ol {
	margin-bottom: 1.35em;
	margin-left: 2px;
	list-style: none;
}

.ce_text ol,
.ce_list ol {
	counter-reset: li;
}

.ce_text ul li,
.ce_list ul li,
.ce_text ol li,
.ce_list ol li {
	margin-bottom: 0.7em;
	margin-left: 1.2em;
}

.ce_text ol li,
.ce_list ol li {
	counter-increment: li;
}

.ce_text ul li::before,
.ce_list ul li::before {
	content: "•";
	color: #82ad40;
	display: block;
	float: left;
	margin-left: -0.6em;
	font-size: 2rem;
}

.ce_text ol li::before,
.ce_list ol li::before {
	content: counter(li);
	color: #82ad40;
	display: inline-block;
	font-weight: 600;
	font-size: 0.8em;
	width: 1em;
	margin-left: -1.5em;
	margin-right: 0.5em;
	text-align: right;
	direction: rtl;
}

.list_col_2 {
	column-count: 2;
	column-gap: var(--main-gutter-space);
}

.list_col_2 li {
	page-break-inside: avoid;
	break-inside: avoid-column;
}

/* Footer
==============================*/

#footer {
	background-color: #f3f4f3;
	padding-top: 20px;
	padding-bottom: 150px;
}

#footer .inside {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	row-gap: 0.5em;
}

.footer_nav a {
	color: #375c29;
}

#footer .footer_nav ul {
	display: flex;
	flex-flow: row wrap;
	column-gap: 1.5em;
	row-gap: 0.5em;
	list-style: none;
}
