body {
	font-family: "Roboto", sans-serif;
	margin: 0;
	background-color: #dde3ce;
}

header {
	padding: 5px 2%;
	background: #98b74d;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
}

a#logo {
	display: flex;
	align-items: center;
}

#logo img {
	width: 80px;
}

nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9em;
	margin-left: 10px;
}

/* Sprachumschalter */
.lang-toggle {
	display: inline-flex;
	gap: 6px;
	margin-left: 20px;
}

.lang-btn {
	background: #98b74d;
	color: #ffffff;
	border: solid 1px #ffffff8c;
	border-radius: 6px;
	padding: 3px 4px;
	font-size: 0.8em;
	cursor: pointer;
}

.lang-btn.active {
	background: #7d9a3f;
	/* etwas dunkler */
}

.lang-btn:focus {
	outline: none;
}

h1 {
	letter-spacing: 0.05em;
	font-size: 1.5em;
	font-weight: 600;
	margin-bottom: 0.5em;
	margin-left: 12px;
}

main {
	display: flex;
}

section {
	margin: 2%;
}

section#filter {
	width: 650px;
	flex-shrink: 0;
}

.panel {
	background: #f8f8f8;
	border-radius: 20px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	padding: 2%;
	max-width: 800px;
}

#impressum .panel,
#info .panel {
	padding: 10px 18px;
}

h2 {
	font-weight: normal;
	font-size: 1em;
	letter-spacing: 0.07em;
}

#ecosystem-buttons {
	margin-bottom: 20px;
	max-width: 600px;
	width: 100%;
}

.filterbutton {
	margin: 4px;
	padding: 9px 12px 8px 12px;
	font-size: 16px;
	cursor: pointer;
	border: 1px solid #0000002c;
	border-radius: 8px;
	background-color: #e6ecd8;
	transition: background-color 0.2s;
}

#ecosystem-buttons .filterbutton {
	filter: grayscale(1) contrast(0.8) brightness(1.4);
	background-color: transparent;
	margin: 0;
	padding: 0;
	border: none;
	width: 18%;
}

#ecosystem-buttons .filterbutton:hover {
	transform: scale(1.03);
}

#ecosystem-buttons .filterbutton.selected {
	filter: grayscale(0);
}

.filterbutton.selected {
	background-color: #4c4c4c;
	color: white;
}

#ecosystem-buttons .filterbutton#forest {
	width: 17%;
}

#ecosystem-buttons .filterbutton#water {
	width: 17%;
}

#ecosystem-buttons .filterbutton#agriculture {
	width: 22%;
}

div.buttons {
	margin: -4px;
	display: flex;
	flex-wrap: wrap;
}

ul#services-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

ul#services-list img {
	border-radius: 100%;
	border: solid 3px;
	margin: 4px;
}

section#tools {
	flex-grow: 1;
	margin-left: 0;
}

#tools-list {
	list-style: none;
	padding: 0;
}

#tools-list .tool {
	padding: 2% 3%;
	overflow: hidden;
	background: #fcfcfc;
	margin-top: 5px;
	border-radius: 8px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

a {
	color: #88a247;
}

.service-group {
	padding: 2px 6px;
	margin-bottom: 10px;
	margin-right: 10px;
}

.service-group:nth-child(1) {
	background-color: #d8e2bd;
}

.service-group:nth-child(2) {
	background-color: #f0dac9;
}

.service-group:nth-child(3) {
	background-color: #d3e3e4;
}

.service-group h4 {
	font-size: 0.9em;
	font-weight: normal;
	letter-spacing: 0.05em;
	margin: 8px 0 5px 3px;
}

.service-icon {
	filter: grayscale(1);
}

.service-icon.service-selected {
	filter: grayscale(0);
}

div#selected-services {
	max-width: 700px;
}

.tool-services img {
	border-radius: 100%;
	border: solid 2px;
	width: 20px;
}

#tools-list h3 {
	margin-bottom: 6px;
	margin-top: 5px;
	display: flex;
	justify-content: space-between;
}

#tools-list .tool:hover {
	background-color: #f3f5ee;
}

#tools-list .comment {
	font-style: italic;
	font-size: 0.85em;
	color: #767676;
}

#tools-list .tool-info {
	font-style: italic;
	font-size: 0.85em;
	color: #767676;
	margin-bottom: 10px;
}

/*
#tools-list h3 .output span {
	background: #9ca684;
	border-radius: 4px;
	padding: 3px 5px;
	color: #fff;
	white-space: nowrap;
}
*/
.tool-desc p {
	max-width: 700px;
	hyphens: auto;
}

summary {
	letter-spacing: 0.05em;
	font-size: 0.9em;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 20px;
	cursor: pointer;
}

details h2:first-of-type {
	margin-top: 20px;
}

details>div:last-of-type {
	padding-bottom: 10px;
}

.section-title {
	padding-left: 10px;
	padding-right: 10px;
	color: #838d6c;
}

span#reset {
	font-size: 0.9em;
	background-color: #d97d3c;
	border-radius: 4px;
	padding: 2px 6px;
	color: #fff;
	cursor: pointer;
}

/* Mobile styles */
@media (max-width: 1150px) {
	main {
		flex-direction: column;
	}

	section#filter {
		width: auto;
		flex-grow: 1;
	}

	section#tools {
		margin-left: 2%;
	}

	#sticky-wrapper {
		position: relative;
		height: 20px;
		/* Höhe des Elements */
	}

	#sticky-element {
		position: fixed;
		bottom: 0;
		background: #dde3ce;
		border-top-left-radius: 8px;
		border-top-right-radius: 8px;
	}

	#sticky-element.is-sticky {
		box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
	}
}