/* Druckausgabe */
@media print {
	@page {
		size: A4;
		margin: 1.5cm;
	}
	
	* {
		background: none !important;
		box-shadow: none !important;
		color: black !important;
		border-left-color: #fff !important;
		text-align: left;
	}
	
	/* GRID DEAKTIVIEREN - Das ist der wichtigste Teil! */
	body {
		display: block !important;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		gap: 0 !important;
		width: 100% !important;
		font-family: var(--font-serif);
		font-weight: 400;
		margin: 0;
		padding: 0;
		line-height: 1.2;
		max-width: none !important;
	}
		
	/* Header und Footer als Block-Elemente */
	header, footer {
		grid-column: auto !important;
		display: block !important;
		margin: 0 !important;
		padding: 6pt 0 !important;
	}
	
	
	/* Navigation komplett ausblenden */
	nav {
		display: none !important;
	}
	
	/* Main-Content als Block */
	main {
		display: block !important;
		padding: 0 !important;
	}
	
	/* Seitenumbrüche kontrollieren */
	h1, h2, h3, h4, h5 {
		margin: 6pt 0 4pt;
		padding: 0;
		page-break-after: avoid;
		break-after: avoid;
	}
	
	/* Überschriften-Größen */
	h1 { font-size: 12pt; }
	h2 { font-size: 11pt; }
	h3 { font-size: 10pt; }
	
	main section h2 {
		border-bottom: 0.1rem solid #000;
	}
	
	/* Absätze zusammenhalten */
	p {
		margin: 6pt 0 10pt 0;
		padding: 0;
		font-size: 9pt;
		page-break-inside: avoid;
		break-inside: avoid;
		orphans: 2;
		widows: 2;
	}
	
	/* Sections als Block-Elemente */
	section {
		display: block !important;
		margin: 12pt 0 !important;
		padding: 0 !important;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
	/* Articles als Block-Elemente */
	article {
		display: block !important;
		margin: 6pt 0 !important;
		padding: 0 !important;
	}
	
	/* Elemente zusammenhalten */
	li {
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
	/* Links */
	a, a:link, a:visited, a:hover, a:active, a:focus {
		font-weight: 700;
		text-decoration: none;
	}
	
	/* URL nach Links anzeigen */
	main section a[href]:after {
		content: " <" attr(href) ">";
		font-style: italic;
		font-weight: 400;
		text-decoration: none;
		break-inside: avoid;
	}
	
	main section a[href]:not([href^="http"]):after {
		content: " <https://steffen-geyer.de" attr(href) ">";
		font-style: italic;
		font-weight: 400;
		text-decoration: none;
		break-inside: avoid;
	}
	
	#kontakt, #kontakt p, #kontakt li {
		text-align:left;
		margin:0;
	}
	
	#kontakt ul {
		list-style:none;
		justify-content:start;
	}
	
	#kontakt li {
		list-style:none;
		border:none;
	}
	
	#kontakt a, #kontakt a:link {
		text-decoration:none;
	}
	
	/* Abkürzungen */
	abbr {
		text-decoration: none;
	}
	
	/* Elemente ausblenden */
	img, figure, footer p, footer ul, section > a, svg {
		display: none !important;
	}
	
	/* Listen-Styling */
	li {
		list-style: inside;
	}
		
	/* Footer-Info */
	header:after {
		content: '\A <https://steffen-geyer.de/>';
		white-space: pre;
		break-inside: avoid;
	}
	
}