/* Basis-Reset (aus HTML5 Boilerplate), gekürzt.
   Wird NACH Bootstrap 5 geladen und setzt dessen Link-Farben, Absatz- und
   Listenabstände auf die Werte der alten stoldt.de-Seite zurück.
   Entfernt: IE6–9-Hacks (*display, _font-family, -ms-…), die in heutigen
   Browsern nichts bewirken und CSS-Validatoren als Fehler melden. */

[hidden] { display: none !important; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	height: 100%;
	background-color: transparent;
}
body {
	margin: 0;
	position: relative;
	height: 100%;
	background: #fff;
	color: #222;
}

/* Links: Farbe/Unterstreichung erben (Design setzt sie gezielt) */
a, a:visited, a:hover, a:active {
	color: inherit;
	text-decoration: inherit;
}
a:focus-visible { outline: 2px dotted currentColor; outline-offset: 2px; }

abbr[title] { border-bottom: 1px dotted; text-decoration: none; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; opacity: 1; }
small { font-size: 85%; }
pre { white-space: pre-wrap; word-wrap: break-word; }

p { margin: 0; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }

img { border: 0; vertical-align: middle; }
figure { margin: 0; }
.image { display: block; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

body, div, img, p, button, input, select, textarea, a {
	box-sizing: border-box;
}

/* Hilfsklassen */
.hidden { display: none !important; }
.visuallyhidden {
	border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.clearfix::before, .clearfix::after { content: ""; display: table; }
.clearfix::after { clear: both; }

@media print {
	* { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
	a, a:visited { text-decoration: underline; }
	a[href]::after { content: " (" attr(href) ")"; }
	a[href^="#"]::after, a[href^="tel:"]::after, a[href^="mailto:"]::after { content: ""; }
	#hauptnavi, .back-to-top, #kopf { display: none !important; }
	img { max-width: 100% !important; }
	tr, img { page-break-inside: avoid; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
	@page { margin: 0.5cm; }
}
