html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f0f0f0;
    color: #333;
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: normal;
}

h1, h2, h3, h4 {
    font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
    color: #808080;
    text-align: left;
    margin: 4px 0;
    line-height: 1.3em;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

p {
    margin: 4px 0 16px 0;
    padding: 0;
}

fieldset {
    padding: 16px;
    border-style: solid;
    border-width: 1px;
}

input {
    border-style: solid;
    border-width: 1px;
}

textarea {
    border-style: solid;
    border-width: 1px;
}

address {
    float: right;
    padding-right: 2px;
    font-size: 0.75em;
}

a {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    text-decoration: none;
    color: #990033;
}

a:hover, a:active {
    color: #d34305;
}

:root {
    --icon-external-link: url('data:image/svg+xml,\
	<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"> \
		<g style="stroke:rgb(153,0,51);stroke-width:2"> \
			<line x1="2" y1="5" x2="2" y2="14" /> \
			<line x1="11" y1="9" x2="11" y2="14" /> \
			<line x1="2" y1="14" x2="11" y2="14" /> \
			<line x1="2" y1="5" x2="6" y2="5"  /> \
			<line x1="7" y1="2" x2="14" y2="2"  /> \
			<line x1="14" y1="2" x2="14" y2="9" /> \
			<line x1="7" y1="9" x2="14" y2="2" /> \
		</g> \
	</svg>');
    --icon-external-link-hover: url('data:image/svg+xml,\
	<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"> \
		<g style="stroke:rgb(211,67,5);stroke-width:2"> \
			<line x1="2" y1="5" x2="2" y2="14" /> \
			<line x1="11" y1="9" x2="11" y2="14" /> \
			<line x1="2" y1="14" x2="11" y2="14" /> \
			<line x1="2" y1="5" x2="6" y2="5"  /> \
			<line x1="7" y1="2" x2="14" y2="2"  /> \
			<line x1="14" y1="2" x2="14" y2="9" /> \
			<line x1="7" y1="9" x2="14" y2="2" /> \
		</g> \
	</svg>');
}

a[href^="http"]:not(.no-text)::after, a.external::after {
    content: '';
    background: var(--icon-external-link) no-repeat right bottom;
    padding-right: 1.3em;
}

a:hover[href^="http"]:not(.no-text)::after, a:hover.external::after {
    background-image: var(--icon-external-link-hover);
}

/* Seitenelemente */

#header {
    position: relative;
    padding: 0;
    top: 0;
    margin: 0;
}

#keyvisual {
    clear: both;
    position: static;
    width: 100%;
    height: 280px;
}

#pagetitle {
    padding: 8px 0;
}

#main_container {
    position: relative;
    padding: 0;
    margin: 16px;
}

#content_container {
    margin: 0;
    padding: 0;
}

#footer {
    padding: 8px;
    text-align: center;
    font-size: 12px;
}

/* Allgemeine Hilfsklassen */

.hidden {
    visibility: hidden;
}

.space {
    height: 0.75em;
    clear: both;
}

.clear {
    clear: both;
}

.clearleft {
    clear: left;
}

/* clearing floats */
.clearfix {
    zoom: 1;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
