a {
	color: var(--text-color);
}
#anfrageButton {
	display: none;
}

#content .message {
	display: flex;
	align-items: start;
	gap: 0.5em;
	box-sizing: border-box;
	padding: 0.4em 0.6em;
	background-color: #f5f5f5;
	border: solid 1px #ccc;
	border-radius: 4px;
	margin-bottom: 0.8em;
}
@media (min-width: 600px) {
	#content .message {
		padding: 1em 2em;
	}
}
#content .message:last-of-type {
	margin-bottom: 0;
}
#content .message.success {
	background-color: #e9f7e6;
	border-color: #ada;
	color: #373;
}
#content .message.error {
	background-color: #fee;
	border-color: #eaa;
	color: #a33;
}

#content .message .text {
	flex: 1;
	margin-top: 0.15em;
}
#content .message .close {
	position: relative;
	display: block;
	height: 1.5em;
	width: 1.5em;
	border-radius: 4px;
	cursor: pointer;
}
#content .message .close:hover {
	background-color: #00000013;
}
#content .message .close::before,
#content .message .close::after {
	content: "";
	display: block;
	position: absolute;
	height: 80%;
	width: 1px;
	left: calc(50% - 0.5px);
	top: 10%;
	transform-origin: 50% 50%;
	background-color: var(--text-color);
}
#content .message.success .close::before,
#content .message.success .close::after {
	background-color: #373;
}
#content .message.error .close::before,
#content .message.error .close::after {
	background-color: #a33;
}

#content .message .close::before {
	transform: rotate(45deg);
}
#content .message .close::after {
	transform: rotate(-45deg);
}

#content .message.closing {
	overflow: hidden;
	width: 100%;
	margin-top: -2px;
	margin-left: auto;
	margin-right: auto;
}
#content .message.closing-vertical {
	transition:
		height 0.15s,
		padding-top 0.15s,
		padding-bottom 0.15s,
		margin-top 0.15s,
		margin-bottom 0.15s
	;
	height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: calc(-2px - 0.4em) !important;
	margin-bottom: -0.4em !important;
}
#content .message.closing-vertical:first-of-type {
	margin-top: -2px !important;
	margin-bottom: 0 !important;
}
#content .message.closing-horizontal {
	transition:
		width 0.2s cubic-bezier(.25,.6,.3,1),
		padding-left 0.2s cubic-bezier(.25,.6,.3,1),
		padding-right 0.2s cubic-bezier(.25,.6,.3,1)
	;
	width: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}



#contactList {
	list-style-type: none;
}
#contactList svg {
	display: inline-block;
	height: 1.2em;
	margin-bottom: 0.2em;
	vertical-align: middle;
	fill: var(--text-color);
}
#contactList a {
	text-decoration: none;
}
#contactList a span {
	text-decoration: underline;
}
#contactList a:hover {
	color: #5b5b5b;
}
#contactList a:hover svg {
	fill: #5b5b5b;
}


#content #formDisabledHint {
	display: block;
	position: relative;
	margin-top: 3em;
	margin-bottom: 0;
	padding-left: 2em;
}
#formDisabledHint::before {
	content: "!";
	position: absolute;
	left: 0.6em;
	top: calc(50% - 0.5em);
	font-weight: bold;
	font-size: 150%;
	color: #888;
}
#formDisabledHint a {
	display: inline;
}

#contactForm {
	margin-top: 2em;
	margin-bottom: 2em;
}
#contactForm fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#textfieldContainer {
	display: flex;
	flex-direction: column;
	gap: 0.7em;
	margin-bottom: 1em;
}
#textfieldContainer > div {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.5em;
}
#textfieldContainer input {
	width: 100%;
	box-sizing: border-box;
}
@media (min-width: 750px) {
	#textfieldContainer {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: end;
	}
}
#contactForm label {
	white-space: nowrap;
}
#textfieldContainer #contactPhone {
	width: 150px;
	box-sizing: content-box;
}

textarea {
	width: 100%;
	min-height: 100px;
	resize: vertical;
}
#formEnd {
	text-align: right;
}
#datenschutzHinweis {
	display: inline-block;
	margin-top: 0.5em;
}
#submitButton {
	display: inline-block;
	vertical-align: baseline;
	padding: 10px 16px 6px 16px;
	margin-left: 1em;
	margin-top: 0.5em;
}
