/* Katerloch – Grundlagen und Inhalte. Werte laut docs/design/joomla-referenz.md */
:root {
	--kl-bg: #3d4954;
	--kl-text: #fff;
	--kl-link: #ededed;
	--kl-link-hover: #c7c7c7;
	--kl-rule: #969696;
	--kl-muted: #ccc;
	--kl-font: "KaterRegular", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--kl-font);
	font-size: 14px;
	line-height: 1.42857143;
	color: var(--kl-text);
	background-color: var(--kl-bg);
}
a { color: var(--kl-link); text-decoration: none; }
a:hover, a:focus { color: var(--kl-link-hover); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--kl-font); font-weight: 500; line-height: 1.1; color: #fff; }
h1 { font-size: 36px; margin: 20px 0 10px; }
h2 { font-size: 30px; margin: 20px 0 10px; }
h3 { font-size: 1.1em; font-weight: bold; line-height: 1.4em; margin: 1em 0 .4em; }
h4 { font-size: 18px; margin: 10px 0; }
h5 { font-size: 14px; margin: 10px 0; }
h6 { font-size: 12px; margin: 10px 0; }
p { margin: 0 0 .5em; }
small, .small { font-size: 85%; }
hr { height: 0; margin: 20px 0; border: 0; border-top: 1px solid #eee; }
img { max-width: 100%; height: auto; }
td, tr td { border: none; }
.alignleft { float: left; margin: 0 30px 20px 0; }
.alignright { float: right; margin: 0 0 20px 30px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-image img { height: auto; }
.wp-block-button__link, .kl-button {
	display: inline-block;
	padding: 6px 12px;
	font-family: var(--kl-font);
	font-size: 14px;
	color: #000;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 3px 3px 3px #000;
	text-decoration: none;
}
.wp-block-button__link:hover, .wp-block-button__link:focus, .kl-button:hover, .kl-button:focus {
	color: #fff;
	background-color: var(--kl-bg);
	text-decoration: none;
}
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; max-width: 350px; font: inherit; }
/* Hinweisseiten (nichts gefunden, 404): Der Link steht mitten im Satz und darf sich nicht nur
   durch die Farbe vom Text abheben (WCAG 1.4.1) – im übrigen Theme sind Links wie in Joomla
   ohne Unterstreichung. */
.kl-empty a { text-decoration: underline; }
/* Aus demselben Grund im übernommenen Inhalt: dort stehen Telefon- und Verweislinks mitten im
   Fließtext (z. B. /fuehrung/). Bewusste Abweichung vom Joomla-Original, siehe
   docs/design/vergleich.html. Navigation, Kopf und Fuß bleiben davon unberührt. */
.kl-content a { text-decoration: underline; }
/* Unterstrichen sind nur Links (Wunsch des Betreibers, 10.11.2026). Der übernommene Joomla-Text
   hebt auch Hinweise wie den Saisonsatz per `style="text-decoration: underline"` hervor, die dann
   wie Links aussahen. Ein Inline-Stil schlägt jede Regel ohne `!important`. Links selbst sind
   ausgenommen; ein Link in oder um so einem Element bleibt über die Regel darüber unterstrichen. */
.kl-content :not(a)[style*="underline"], .kl-content u { text-decoration: none !important; }
/* Video-Vorschaubild: das Bild selbst wird nicht unterstrichen, der Text daneben schon. Die
   Unterstreichung vererbt sich vom Anker auf alle Nachfahren, sie muss also dort abgeschaltet
   werden – und zwar mit mindestens der Genauigkeit der Regel darüber. */
/* 480 px: die Breite der kleineren YouTube-Fassung. Ohne Deckel füllte das Vorschaubild auf der
   Startseite die ganze Spalte und wirkte wie das Hauptmotiv statt wie ein Verweis auf ein Video. */
.kl-content a.kl-video, .kl-video { display: inline-block; max-width: min(100%, 480px); text-decoration: none; }
.kl-video__bild { display: block; margin: 0 auto .3em; }
.kl-video__text { text-decoration: underline; }
.kl-video__hinweis { display: block; font-size: 85%; color: var(--kl-muted); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
