/*
 * Copyright (c) 2026 Rudi Loferer im Auftrag der Österreichischen Wasserrettung – Landesverband Tirol.
 * Alle Rechte vorbehalten. Fremdbestandteile (Schriften, Symbole, Bibliotheken): siehe LIZENZEN.md.
 */
/* =====================================================================
   Wasserrettung Tirol – Grundgerüst
   Basis, Kopfzeile, Menü, Fußzeile. Seitenabschnitte stehen in home.css
   und pages.css, Feinarbeit in feinschliff.css.
   ===================================================================== */

/* ---------- 1. Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	height: 100%;
	min-height: 100%;
	overflow-y: scroll;
}
/* Sanftes Scrollen erst nach dem Laden: sonst spielt der Browser beim
   Aktualisieren das Wiederherstellen der Scrollposition als Animation ab. */
html.wt-sanft { scroll-behavior: smooth; }
body {
	margin: 0;
	min-height: 100%;
	background: #fff;
	color: #333;
	line-height: 1.5;
}

:root {
	--wt-text: #414756;
	--wt-akzent: #A53A57;
	--wt-blau: #0E478F;
	--wt-navy: #0D2A50;
	--wt-hell: #F1F2F5;
	--wt-linie: #F1F2F5;
	--wt-system: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--wt-fliess: 1.1rem;
	--wt-fliess-zh: 1.7;
	--wt-ue-xl: 2.2rem;
	--wt-ue-gross: 1.6rem;
}
@media (max-width: 767px) {
	:root {
		--wt-fliess: .875rem;
		--wt-ue-xl: 1.1875rem;
		--wt-ue-gross: 1.125rem;
	}
}

/* Verweise: Systemschrift, ohne Unterstreichung */
a { color: #c36; text-decoration: none; }
a:hover { color: #336; }
body a,
.owr-modern a { font-family: var(--wt-system) !important; }

img { display: block; max-width: 100%; height: auto; }
picture { max-width: 100%; }
svg { max-width: 100%; }
ul { list-style: none; padding-left: 0; }
figure { margin: 0 0 0 0; }

/* Überschriften und Absätze */
h1, h2, h3, h4, h5, h6 {
	margin-top: .5rem;
	margin-bottom: 1rem;
	font-weight: 500;
	line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-top: 0; margin-bottom: .9rem; }
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/* Tabellen */
table { width: 100%; margin-bottom: 15px; border-spacing: 0; }
table td, table th { line-height: 1.5; }
table tbody > tr:nth-child(odd) > td { background-color: rgba(128, 128, 128, .07); }

/* Nur für Vorleseprogramme */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
	word-wrap: normal !important;
}

/* Schaltflächen ohne eigene Gestaltung */
button {
	-webkit-appearance: button;
	appearance: button;
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid #c36;
	border-radius: 3px;
	background: transparent;
	color: #c36;
	font-size: 1rem;
	line-height: 1.5;
	white-space: nowrap;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

/* ---------- 2. Kopfzeile ---------- */
.wt-kopf {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
}
.wt-breit { width: min(1400px, 100%); margin-inline: auto; }
.wt-kopf__rahmen {
	position: relative;
	z-index: 1000;
	width: 100%;
	flex-direction: column;
	gap: 0;
	box-shadow: 0 0 29px -8px rgba(0, 0, 0, .5);
}

/* Obere Leiste: Notruf, Mitgliederbereich, Spenden */
.wt-kopf__oben { display: grid; }
.wt-kopf__oben-innen {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}
.wt-spenden { font-weight: 500; line-height: 16px; }
.wt-spenden a {
	display: flex;
	padding: 7px 15px;
	color: #fff;
}
.wt-spenden__inhalt {
	display: flex;
	align-items: center;
	gap: 5px;
}
.wt-spenden__inhalt::before {
	content: "";
	display: flex;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	background: url("../bilder/symbole/herz.svg") no-repeat;
	background-size: 16px 16px;
}
.wt-spenden__inhalt > span { display: block; }

.wt-mitglieder { line-height: 16px; }
.wt-mitglieder ul { margin: 0; }
.wt-mitglieder .wt-kopf__text {
	display: flex;
	align-items: center;
}
.wt-mitglieder .wt-kopf__text::before {
	content: "";
	display: flex;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	background: url("../bilder/symbole/person.svg") no-repeat;
	background-size: 18px 18px;
}

.wt-notruf {
	display: flex;
	gap: 6px;
	font-weight: 700;
}
.wt-notruf .wt-kopf__text { display: block; padding-left: 5px; }

/* Untere Leiste: Logo, Wappen, Name, Auswahl, Hauptmenü */
.wt-kopf__unten { display: grid; }
.wt-kopf__logo,
.wt-kopf__wappen { align-self: center; }
.wt-kopf__logo a { color: #c36; }

.wt-kopf__schrift { width: 18%; }
.wt-kopf__titel {
	width: 100%;
	font-weight: 800;
	text-transform: uppercase;
}
.wt-kopf .wt-kopf__titel,
.wt-kopf .wt-kopf__titel * { letter-spacing: .2px; }
.wt-kopf__titel > div { color: var(--wt-blau); }
.wt-kopf__titel p,
.wt-kopf__zeile-mobil p { margin: 0; }
.wt-kopf__zeile-mobil p { color: var(--wt-akzent); }
.wt-kopf__zeile,
.wt-wahl-es { font-weight: 500; }
.wt-kopf__schrift { align-self: center; flex-wrap: wrap; }
.wt-kopf__schrift .menu {
	margin: 0;
	color: var(--wt-akzent);
}
.wt-kopf__schrift .menu > li { z-index: 100; }
.wt-wahl-lv__punkt { margin-right: 30px; }
.wt-wahl-lv__punkt > a { color: var(--wt-akzent); }
.wt-wahl-es__punkt { color: var(--wt-text); }
.wt-wahl-es__auswahl { color: var(--wt-text); font-weight: 200; }
.wt-wahl-lv__punkt > a::after,
.wt-wahl-es__punkt > a::after,
.wt-navi__menue > .menu > li > a::after {
	content: "";
	display: inline-block;
	width: 19px;
	height: 19px;
	margin: 0 0 -2px 5px;
	background: url("../bilder/symbole/pfeil-unten.svg") no-repeat;
	background-size: 19px 19px;
	transition: background-image .2s linear .2s;
}
.wt-navi__menue > .menu > li > a::after { display: block; }
.wt-kopf__schrift .sub-menu {
	position: absolute;
	display: none;
	max-height: calc(95vh - 206px);
	background: #fff;
	color: var(--wt-akzent);
	opacity: 0;
	visibility: hidden;
}

.wt-navi__menue > .menu {
	position: relative;
	z-index: 99;
	display: flex;
	justify-content: flex-end;
	margin: 0;
}
.wt-navi__menue > .menu > li { display: block; }
.wt-navi__menue a {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: end;
	padding: 0 10px 10px;
	color: var(--wt-text);
	font-weight: 600;
	line-height: 16px;
}
.wt-navi__menue > .menu > li > a { padding-inline: 0; }
.wt-navi__menue .sub-menu {
	position: absolute;
	top: 70px;
	z-index: 99;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	min-height: 0;
	background: #fff;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
}
.wt-navi__menue .sub-menu li {
	position: relative;
	display: flex;
	width: 100%;
	height: 70px;
	min-width: 200px;
	border-bottom: 1px solid var(--wt-linie);
}
.wt-navi__menue .sub-menu a { align-items: center; padding: 0 30px; }
@media (min-width: 1025px) {
	.wt-navi { width: 438px; margin-left: auto; }
}
.wt-navi__burger {
	display: none;
	width: 100%;
	height: 100%;
	text-align: center;
	background: #f0f0f0;
}

/* Kopfzeile am Tablet */
@media (max-width: 1024px) {
	.wt-kopf__oben-innen { padding-inline: 2%; }
	.wt-kopf__unten { height: 114px; min-height: 114px; padding-inline: 2%; }
	.wt-kopf__unten-innen { display: flex; gap: 0; }
	.wt-kopf__logo { width: 90px; min-width: 90px; margin-right: 12px; }
	.wt-kopf__logo img { width: 90px; height: 90px; }
	.wt-kopf__wappen { width: 30px; min-width: 30px; margin-right: 12px; }
	.wt-kopf__wappen img { width: 30px; }
	.wt-kopf__schrift {
		display: flex;
		flex: 1 0 auto;
		align-items: end;
		gap: 0;
	}
	.wt-kopf__titel { font-size: 20px; line-height: 34px; }
	.wt-kopf__zeile,
	.wt-wahl-es { font-size: 20px; line-height: 30px; }
	.wt-kopf__schrift > .wt-wahl-lv,
	.wt-kopf__schrift > .wt-wahl-es { display: none; opacity: 0; visibility: hidden; }
	.wt-navi { align-self: center; flex-shrink: 0; width: 75px; height: 75px; }
	.wt-navi__menue { display: none; opacity: 0; visibility: hidden; }
	.wt-navi__menue > .menu { align-items: center; gap: 2px; }
	.wt-navi__menue > .menu > li { height: 70px; }
	.wt-kopf__schrift .sub-menu { width: 450px; }
	.wt-kopf__schrift .sub-menu a { width: 100%; }
	.wt-navi__burger { display: flex; }
	.wt-navi__burger button { display: block; }
	.wt-navi__burger img { width: 58px; height: 58px; }
	.wt-kopf__schrift .sub-menu li { border-bottom: 1px solid var(--wt-linie); }
}
@media (min-width: 1025px) and (max-width: 1168px) {
	.wt-kopf__wappen img { width: 30px; }
}
@media (min-width: 1025px) and (max-width: 1120px) {
	.wt-wahl-lv__punkt { margin-right: 3px; }
}
@media (min-width: 1025px) {
	.wt-kopf__zeile-mobil { opacity: 0; visibility: hidden; }
	.wt-kopf__zeile-mobil p { visibility: hidden; }
	.wt-navi__burger { opacity: 0; visibility: hidden; }
	.wt-kopf__logo img { min-width: 78px; min-height: 78px; }
}

/* Kopfzeile am Handy */
@media (max-width: 767px) {
	.wt-kopf__oben { display: none; opacity: 0; visibility: hidden; }
	.wt-kopf__oben-innen { margin-inline: auto; }
	.wt-kopf__unten {
		min-height: 85px;
		padding: 1% 2%;
		gap: 6px;
	}
	.wt-kopf__logo { min-width: 68px; }
	.wt-kopf__wappen { min-width: 25px; }
	.wt-kopf__wappen img { width: 25px; }
	.wt-kopf__titel { font-size: .8rem; line-height: 1.7; }
	.wt-kopf .wt-kopf__titel,
	.wt-kopf .wt-kopf__titel * { letter-spacing: normal; }
	.wt-kopf__zeile,
	.wt-wahl-es { font-size: .8rem; line-height: 1.5; }
	.wt-navi__burger img { width: 47px; }
	.wt-navi { width: 47px; height: 47px; }
	.wt-kopf__unten { width: 100%; height: 85px; }
	.wt-kopf__logo { width: 68px; }
	.wt-kopf__logo img { width: 68px; height: 68px; }
	.wt-kopf__wappen { width: 25px; }
	.wt-navi__burger img { height: 26px; }
}
@media (max-width: 450px) {
	.wt-kopf__titel,
	.wt-kopf__zeile,
	.wt-wahl-es { font-size: .65rem; }
}
@media (max-width: 400px) {
	.wt-kopf__logo { width: 40px; min-width: 40px; margin-right: 2px; }
	.wt-kopf__logo img { width: 40px; height: 40px; }
	.wt-kopf__wappen { width: 20px; }
	.wt-kopf__wappen { margin-right: 2px; }
	.wt-kopf__wappen img { width: 20px; }
}
@media (max-width: 370px) {
	.wt-kopf__titel,
	.wt-kopf__zeile,
	.wt-wahl-es { font-size: .6rem; }
}

/* ---------- 3. Menü (Hamburger) ---------- */
.wt-menue {
	display: none;
	align-items: flex-start;
	justify-content: flex-end;
	z-index: 9999;
	background: rgba(0, 0, 0, .6);
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	pointer-events: all;
	-webkit-user-select: none;
	user-select: none;
}
.wt-menue.show { display: flex; }
.wt-menue__fenster {
	position: absolute;
	right: 0;
	z-index: 1;
	display: flex;
	width: 80%;
	height: 100%;
	padding: 10px;
	overflow: auto;
	background: #fff;
	line-height: 16px;
	scroll-behavior: smooth;
	transform: translateX(100%);
}
@keyframes wt-einfahren { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes wt-ausfahren { from { transform: translateX(0); } to { transform: translateX(100%); } }
/* Ohne Bewegung: das Menü steht sofort da (früher blieb es unsichtbar). */
@media (prefers-reduced-motion: reduce) {
	.wt-menue.show .wt-menue__fenster { transform: none; }
}
.wt-menue__inhalt { width: 100%; height: 100%; }

.wt-menue__kopf {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	min-height: 40px;
}
.wt-menue__logo { width: 45px; text-align: left; }
.wt-menue__logo img { width: 40px; height: 40px; max-width: 40px; }
.wt-menue__wappen { width: 25px; align-self: center; text-align: left; }
.wt-menue__wappen img { width: 20px; }
.wt-menue__titel {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
	gap: 0;
	width: 25%;
}
.wt-menue__titel-1,
.wt-menue__titel-2 { font-size: 12px; line-height: 1.4; }
.wt-menue__titel-1 { font-weight: 700; }
.wt-menue__titel-1 span { color: var(--wt-blau); }
.wt-menue__titel-2 span { color: var(--wt-akzent); }
.wt-menue__zu { width: 80px; align-content: center; text-align: right; }
.wt-menue__zu a { color: var(--wt-text); }
.wt-menue__zu .wt-symbol {
	display: block;
	width: clamp(1.3rem, 2vw + 1rem, 2.5rem);
	aspect-ratio: 1;
	margin-inline: auto;
	fill: var(--wt-text);
}

.wt-menue__haupt { display: grid; }
.wt-menue__navi {
	width: 100%;
	margin: 20px 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}
.wt-menue__navi ul {
	margin: 0;
	border: solid var(--wt-linie);
	border-width: 1px 0;
}
.wt-menue__navi > .menu { color: var(--wt-text); }
.wt-menue__navi li {
	border: solid var(--wt-linie);
	border-width: 0 0 1px;
}
.wt-menue__navi a {
	display: block;
	padding: 30px 20px;
	background: #fff;
	color: var(--wt-text);
}
.wt-menue__navi .owr-ebene-1 > a { font-size: 18px; line-height: 18px; }
.wt-menue__navi .wt-unter { max-height: 0; overflow: hidden; }
.wt-menue__navi .wt-unter a {
	border-left: 8px solid transparent;
	font-size: 16px;
	line-height: 16px;
}
.wt-menue__navi .wt-hat-unter > a::after {
	content: "";
	display: inline-block;
	width: 19px;
	height: 19px;
	margin: 0 0 -2px 5px;
	background: url("../bilder/symbole/pfeil-unten.svg") no-repeat;
	background-size: 19px 19px;
}

.wt-menue__spenden,
.wt-menue__kontakt,
.wt-menue__mitglieder,
.wt-menue__impressum,
.wt-menue__datenschutz {
	display: block;
	padding: 17px 50px;
	box-shadow: 0 0 6px rgba(0, 0, 0, .16);
	text-align: center;
}
.wt-menue__spenden { margin-bottom: 14px; background: #00478F; }
.wt-menue__kontakt { margin-bottom: 14px; background: var(--wt-akzent); }
.wt-menue__mitglieder,
.wt-menue__impressum,
.wt-menue__datenschutz { background: #fff; }
.wt-menue__spenden-titel,
.wt-menue__kontakt-titel { color: #fff; font-weight: 800; }
.wt-menue__mitglieder-titel { color: var(--wt-text); }
.wt-menue__haupt ul,
.wt-menue__recht ul { margin: 0; }

.wt-menue__einheiten {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
	padding-bottom: 50px;
	background: #f6f6f6;
}
#wt-einheiten { gap: 7px; }
.wt-menue__einheiten-titel {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	width: 100%;
	padding: 7px 0 15px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}
.wt-menue__einheiten-titel span { display: block; color: var(--wt-text); }
.wt-einheit {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: 35%;
	min-height: 140px;
	background: #fff;
}
.wt-einheit--lv { width: 50%; }
.wt-einheit__art {
	padding-top: 5px;
	color: var(--wt-text);
	font-weight: 100;
	line-height: 1.4;
	text-align: center;
}
.wt-einheit__name {
	padding-top: 5px;
	color: var(--wt-blau);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}
.wt-einheit__wappen { padding-top: 16px; }
.wt-einheit__wappen img { height: 65px; }
.wt-menue__recht {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 50px 10px 200px;
	background: #fff;
}
.wt-menue__recht ul { color: var(--wt-text); }

@media (max-width: 767px) {
	.wt-menue__fenster { width: 100%; }
	.wt-menue__navi { font-size: 15px; }
	.wt-menue__einheiten-titel { font-size: 20px; }
	.wt-einheit { margin-bottom: 15px; }
	.wt-einheit--lv { flex-grow: 0; }
	.wt-einheit__art { font-size: 14px; }
	.wt-einheit__name { line-height: 1; }
}

/* ---------- 4. Fußzeile ---------- */
.wt-fuss { display: grid; gap: 0; }
.wt-fuss__netz { display: grid; gap: 0; }
.wt-fuss__netz-titel {
	margin: 25px 0;
	font-size: 1.7rem;
	font-weight: 300;
	letter-spacing: 2.6px;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}
.owr-modern .wt-fuss__netz-titel > div,
.owr-modern .wt-fuss__netz-titel span { font-size: inherit; letter-spacing: 2.6px; line-height: 1.4; }
.wt-fuss__netz-liste {
	display: flex;
	justify-content: center;
	gap: 80px;
	margin: 5px 0 15px;
	text-align: center;
}
.wt-fuss__netz-liste > span { display: block; }
.wt-fuss__netz-liste figure { margin: 0; }
.wt-fuss__netz-liste figcaption { line-height: 1.4; }
.wt-fuss__netz-liste .wt-symbol {
	display: block;
	width: min(calc(4vw + 16px), 72px);
	height: min(calc(4vw + 16px), 72px);
	margin-inline: auto;
}

#wt-nach-oben-knopf {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 99;
	display: none;
	background: #1561AD;
	border-radius: 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.wt-fuss__spalten,
.wt-fuss__copyright,
.wt-fuss__recht-menue,
.wt-fuss__netz-liste figcaption { font-weight: 400; }
.wt-fuss__spalten {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}
.wt-fuss__spalte { display: grid; gap: 20px; }
.wt-fuss__kontakt { grid-template-columns: 1fr; }
.wt-fuss__kontakt a { padding: 8px 0; }
.wt-fuss__spalte ul {
	display: grid;
	gap: 16px;
	margin: 0;
}
.wt-fuss__spalte nav a { display: block; padding: 8px 0; }
.wt-fuss__spalte li:first-child a { font-weight: 700; }

.wt-fuss__recht { display: grid; align-items: center; gap: 0; }
.wt-fuss__recht-menue { padding: 6px; line-height: 1.4; }
.wt-fuss__recht-menue ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	height: 56px;
	margin: 0;
}
.wt-fuss__recht-menue li { display: flex; align-items: center; }
.wt-fuss__recht-menue a { display: block; }
.wt-fuss__recht-menue li:not(:last-child)::after {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 1px;
	height: 32px;
	margin: 0 18px;
}
.wt-fuss__copyright { padding: 15px; line-height: 1.6; text-align: center; }
.owr-modern .wt-fuss__copyright span { font-size: 1rem; line-height: 1.6; }

@media (min-width: 1025px) and (max-width: 1168px) {
	.wt-fuss__netz-titel { font-size: 1.5rem; }
}
@media (max-width: 1200px) {
	.wt-fuss__spalten { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
}
@media (max-width: 1024px) {
	.wt-fuss__netz-titel { margin: 15px 0 0; font-size: 1.2rem; }
	.wt-fuss__netz-liste { margin: 20px 0 0; }
	.wt-fuss__spalten { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
}
@media (max-width: 767px) {
	.wt-fuss__netz-titel { margin-top: 7px; font-size: 1rem; }
	.wt-fuss__netz-liste { margin: 5px 0 15px; }
	.wt-fuss__spalten { grid-template-columns: 1fr; gap: 48px; font-size: .9rem; }
	.wt-fuss__recht-menue,
	.wt-fuss__copyright,
	.owr-modern .wt-fuss__copyright span { font-size: .9rem; }
}

/* ---------- 5. Inhalte ---------- */
/* ---------- Seiteninhalt aus dem Block-Editor ---------- */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content .wp-block-group > p {
	font-size: var(--wt-fliess);
	line-height: var(--wt-fliess-zh);
	color: var(--wt-text);
}
.entry-content h2:not([class*="wt-ue-"]) { font-size: var(--wt-ue-xl); font-weight: 600; line-height: 1.4; color: var(--wt-text); margin-top: 35px; }
.entry-content h3:not([class*="wt-ue-"]) { font-size: var(--wt-ue-gross); font-weight: 600; line-height: 1.4; color: var(--wt-text); margin-top: 35px; }
.entry-content h4:not([class*="wt-ue-"]) { font-size: 1.5rem; font-weight: 500; line-height: 1.4; color: var(--wt-text); }
.entry-content img { height: auto; max-width: 100%; }
.entry-content .wp-block-image figcaption { font-size: .9rem; color: var(--wt-text); }
.entry-content ul:not([class]) { padding-left: 1.4em; list-style: disc; }
.entry-content ol:not([class]) { padding-left: 1.4em; }

/* Schaltflächen des Block-Editors */
.entry-content .wp-block-button__link,
.wt-startinhalt .wp-block-button__link {
	background: var(--wt-akzent);
	color: #fff;
	border-radius: 40px;
	padding: 13px 28px;
	font-weight: 500;
	text-decoration: none;
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wt-akzent);
	border: 2px solid var(--wt-akzent);
}

/* Unterstrich-Element als eigenständiger Block */
hr.wt-unterstrich,
hr.wt-unterstrich-gross {
	border: 0;
	border-top: 1px solid var(--wt-text);
	margin: 0 0 30px 0;
	width: 100px;
}

/* News-Karten ohne Beitragsbild */
.wt-karte__bild img { width: 100%; height: 100%; object-fit: cover; }

/* Popup: rechtliche Links unter der Auswahl */
.wt-menue__recht { margin-top: 20px; }

/* Einsatzstellen-Grid: Logo als Wappen-Ersatz kleiner */
.wt-einheit__wappen img[src$="owr-logo.svg"] { width: 65px; }

/* Kein Titel auf Startseiten-Inhalt */
.wt-startinhalt > .wt-normal:first-child { margin-top: 0; }

/* Dropdowns auch per Tipp/Klick (Touch-Geräte, Tablets) */
.wt-navi__menue ul li.is-open > ul { display: flex; visibility: visible; opacity: 1; transition: none; }
.wt-wahl-lv__punkt.is-open .sub-menu,
.wt-wahl-es__punkt.is-open .sub-menu { display: block; visibility: visible; opacity: 1; transition: none; }

/* ---------- Notruf im Popup-Menü -------------------------------------------
 * Der Header bleibt bewusst unverändert. Am Smartphone steht die Notrufnummer
 * daher ganz oben im Menü – als erstes Element, noch vor den Menüpunkten.
 * Ruhig gestaltet: Telefon-Icon, ausgeschriebene Nummer, kein Warnsymbol,
 * keine Animation. Ein Notruf ist eine gewünschte Handlung, kein Fehlerzustand.
 * -------------------------------------------------------------------------- */
.wt-menue__notruf {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 22px; padding: 14px 18px; border-radius: 14px;
	background: #C8102E; color: #fff !important; text-decoration: none !important;
	transition: background-color .18s ease-out;
}
.wt-menue__notruf:hover, .wt-menue__notruf:focus { color: #fff !important; background: #A50D26; }
.wt-menue__notruf:focus-visible { outline: 3px solid #0D2A50; outline-offset: 2px; }
.wt-menue__notruf-symbol {
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18);
}
.wt-menue__notruf-zeilen { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wt-menue__notruf-nummer { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.wt-menue__notruf-text { display: block; font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.92); }

@media (prefers-reduced-motion: reduce) {
	.wt-menue__notruf { transition: none; }
}

/* Auswahl im Kopf: Wappen bzw. Logo vor, Art der Einheit hinter den Einträgen */
.wt-kopf__schrift .sub-menu li { width: 100%; }
.wt-kopf__schrift .sub-menu a { display: flex; align-items: center; color: var(--wt-text); padding: 25px 40px; }
.wt-kopf__schrift .sub-menu a::before {
	content: "";
	display: inline-flex;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	background: no-repeat 50% 50%;
	background-size: 30px 30px;
}
.wt-kopf__schrift .sub-menu a::after {
	content: "\00a0- Landesverband";
	display: flex;
	color: #acacac;
	font-size: 14px;
	line-height: 1.5;
}
@media (min-width: 1025px) {
	.wt-kopf__schrift .sub-menu a::after { display: inline-flex; line-height: 1.4; }
}
.wt-wahl-es__punkt .sub-menu a::before { background-image: url("../bilder/logo/owr-logo.svg"); }
.wt-wahl-es__punkt .sub-menu a::after { content: "\00a0- Einsatzstelle"; }
.wt-wahl-es__punkt .sub-menu .wt-land--lv a::before { background-image: url("../bilder/wappen/lv-tirol.png"); background-size: 26px 30px; }
.wt-wahl-es__punkt .sub-menu .wt-land--lv a::after { content: "\00a0- Landesverband"; }
.wt-land--bund a::after { content: "\00a0- Österreich-Dachverband" !important; }
.wt-kopf__schrift .sub-menu .wt-land--bund a::before { background-image: url("../bilder/logo/owr-logo.svg"); }
.wt-kopf__schrift .sub-menu .wt-land--burgenland a::before { background-image: url("../bilder/wappen/lv-burgenland.png"); background-size: 25px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--kaernten a::before { background-image: url("../bilder/wappen/lv-kaernten.png"); background-size: 25px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--niederoesterreich a::before { background-image: url("../bilder/wappen/lv-niederoesterreich.png"); background-size: 18px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--oberoesterreich a::before { background-image: url("../bilder/wappen/lv-oberoesterreich.png"); background-size: 17px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--salzburg a::before { background-image: url("../bilder/wappen/lv-salzburg.png"); background-size: 17px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--steiermark a::before { background-image: url("../bilder/wappen/lv-steiermark.png"); background-size: 18px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--tirol a::before { background-image: url("../bilder/wappen/lv-tirol.png"); background-size: 26px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--vorarlberg a::before { background-image: url("../bilder/wappen/lv-vorarlberg.png"); background-size: 22px 30px; }
.wt-kopf__schrift .sub-menu .wt-land--wien a::before { background-image: url("../bilder/wappen/lv-wien.png"); background-size: 24px 30px; }

/* Nachrichten-Karten */
.wt-news__raster { display: grid; grid-template-columns: repeat(3, 1fr); }
.wt-karte { display: flex; flex-direction: column; height: 100%; background: #fff; }
.wt-karte__bild { aspect-ratio: 3 / 2; overflow: hidden; }
.wt-news__innen { margin-inline: auto; }
.wt-karte__inhalt { display: flex; flex-direction: column; flex-grow: 1; font-size: 1.1rem; line-height: 1.4; }
.wt-karte__titel { margin: 0 0 10px; color: var(--wt-navy); line-height: 1.4; }
.wt-karte__auszug { color: var(--wt-text); }
.wt-karte__auszug p { margin: 0 0 .9rem; }
.wt-karte__weiter {
	display: block;
	margin-top: auto;
	color: var(--wt-akzent);
	font-size: 12px;
	line-height: 1.4;
	text-transform: uppercase;
}
.wt-karte__meta {
	margin-top: auto;
	border-top: 1px solid #E5E6EA;
	color: var(--wt-text);
	font-size: .85rem;
	line-height: 1.5;
}
.navigation.pagination { display: flex; justify-content: space-between; margin: 20px auto; }
.wt-seite { width: 100%; margin-inline: auto; }
@media (max-width: 767px) {
	.wt-news__raster { grid-template-columns: 1fr; }
	.wt-karte__bild { aspect-ratio: 2 / 1; }
}

/* Inhaltsbereich: Verweise in Akzentfarbe */
.entry-content a,
.wt-seite a { color: var(--wt-akzent); }
.owr-notrufe > a { color: #c36; }
.wt-mail { color: var(--wt-akzent); }
.wt-mail b { display: none; }

/* Seite nicht gefunden */
.wt-normal { width: min(1140px, 100%); margin: 40px auto 0; padding: 0 12px; }
.wt-seitentitel { margin-top: 0; color: var(--wt-navy); line-height: 1.4; }
hr.wt-unterstrich { color: var(--wt-text); }
body.owr-modern hr.wt-unterstrich { width: 100px; margin: 10px 0 44px; }
.wt-text { font-size: var(--wt-fliess); line-height: var(--wt-fliess-zh); }
.wt-text p { color: var(--wt-text); }

/* ---------- 6. Zustände beim Überfahren ---------- */
button:hover,
button:focus { background-color: #c36; color: #fff; }

.wt-wahl-lv__punkt:hover > a::after,
.wt-wahl-es__punkt:hover > a::after,
.wt-navi__menue > .menu > li:hover > a::after {
	background-image: url("../bilder/symbole/pfeil-unten-aktiv.svg");
	transition: none;
}
.wt-wahl-es__punkt:hover > .wt-wahl-es__auswahl,
.wt-navi__menue > .menu > li:hover > a { color: #A5ABBD; }
.wt-kopf__schrift .sub-menu li:hover > a,
.wt-navi__menue .sub-menu li:hover > a { background-color: var(--wt-hell); }
.wt-kopf__logo a:hover { color: #336; }
.wt-wahl-lv__punkt:hover > .sub-menu,
.wt-wahl-es__punkt:hover > .sub-menu { display: block; opacity: 1; visibility: visible; }
.wt-navi__menue li:hover > .sub-menu { display: flex; opacity: 1; visibility: visible; }

.wt-menue__navi a:hover { background-color: var(--wt-hell); }
.wt-menue__spenden:hover,
.wt-menue__kontakt:hover { background-color: #A5ABBD; }
.wt-menue__spenden:hover,
.wt-menue__kontakt:hover,
.wt-menue__mitglieder:hover,
.wt-menue__impressum:hover,
.wt-menue__datenschutz:hover { box-shadow: 0 0 10px rgba(0, 0, 0, .35); }
.wt-menue__zu a:hover .wt-symbol { fill: #A5ABBD; }

#wt-nach-oben-knopf:hover { background-color: #A5ABBD; }
.wt-karte:hover .wt-karte__weiter { color: #A5ABBD; text-decoration: underline; }

/* ---------- 7. Kopfzeile beim Scrollen (verkleinert) ---------- */
@media (min-width: 768px) {
	.wt-kopf--klein .wt-kopf__titel { line-height: 1.25; }
	.wt-kopf--klein .wt-kopf__zeile,
	.wt-kopf--klein .wt-wahl-es { line-height: 1.3; }
	.wt-kopf--klein .wt-kopf__titel,
	.wt-kopf--klein .wt-kopf__titel *,
	.wt-kopf--klein .wt-kopf__zeile,
	.wt-kopf--klein .wt-kopf__zeile *,
	.wt-kopf--klein .wt-wahl-es,
	.wt-kopf--klein .wt-wahl-es * { font-size: 16px !important; }
}
.wt-kopf--klein .wt-kopf__schrift { gap: 0; }
.wt-kopf--klein .wt-kopf__wappen img { min-width: 30px; }
@media (max-width: 1024px) {
	.wt-kopf--klein .wt-kopf__unten { min-height: 100px; }
	.wt-kopf--klein .wt-kopf__logo img { min-width: 80px; min-height: 80px; }
	.wt-kopf--klein .wt-kopf__titel { line-height: 1.7; }
	.wt-kopf--klein .wt-kopf__zeile,
	.wt-kopf--klein .wt-wahl-es { line-height: 1.5; }
}
@media (max-width: 767px) {
	.wt-kopf--klein .wt-kopf__unten { min-height: 60px; }
	.wt-kopf--klein .wt-kopf__unten-innen { min-height: 60px; }
	.wt-kopf--klein .wt-kopf__logo img { min-width: 30px; min-height: 30px; }
	.wt-kopf--klein .wt-kopf__wappen { min-width: 20px; }
	.wt-kopf--klein .wt-kopf__wappen img { min-width: 20px; }
}
#wt-nach-oben-knopf.is-visible { display: block; }
.wt-text a:hover { color: #A5ABBD; text-decoration: underline; }

/* ---------- Übergänge (nur wenn Bewegung erwünscht ist) ---------- */
@media (prefers-reduced-motion: no-preference) {
	button,
	[type="button"],
	[type="submit"] { transition: all .3s; }
	.wt-kopf__logo { transition: all .3s; }
	.wt-kopf__unten { transition: height .3s, min-height .3s; }
	.wt-wahl-lv__punkt,
	.wt-wahl-es__punkt,
	.wt-wahl-lv__punkt a,
	.wt-wahl-es__punkt a,
	.owr-mega-panel a { transition: color .2s linear .2s; }
	.wt-wahl-lv__punkt .sub-menu,
	.wt-wahl-es__punkt .sub-menu,
	.wt-navi__menue li > .sub-menu { transition: visibility .4s linear, opacity .2s linear .2s; }
	.wt-menue__navi a { transition: background-color .3s; }
	.wt-menue__navi .wt-unter { transition: max-height .3s; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1024px) {
	.wt-navi__menue .sub-menu > a { transition: none; }
}
