/* Roll&Hike – Gestaltung nach Folder V1 (Roboto / Roboto Condensed, grüne Balken, Regionsfarben). */

@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 300; font-display: swap; src: url("../fonts/roboto-condensed-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-condensed-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-condensed-latin-700.woff2") format("woff2"); }

:root {
	/* Markenfarben (Folder V1 / Coming-soon-Seite) */
	--rh-gruen: #8fa61f;          /* Balken, Linien, Flächen – nicht für Text auf Weiß (Kontrast 2,8:1) */
	--rh-gruen-dunkel: #56650f;   /* Text, Links, Buttons auf Weiß (6,4:1) */
	--rh-gruen-hell: #f2f5e4;     /* Hintergrund von Kästen */
	--rh-gelb: #ffd500;           /* salzkammergut-Logo, Hervorhebung */
	--rh-text: #1d1d1b;
	--rh-text-leise: #545450;
	--rh-linie: #d9dccf;
	--rh-weiss: #ffffff;
	--rh-fokus: #0a58ca;
	--rh-fehler: #b3261e;

	/* Ampel aus dem Folder (Steigung 0–4 % / 5–9 % / ab 10 %), für Variante 2 vorbereitet.
	   Aus den Folder-Farben C65 Y100 / M40 Y90 / M92 Y73 umgerechnet. */
	--rh-ampel-gruen: #5fb233;
	--rh-ampel-orange: #f7a823;
	--rh-ampel-rot: #e5283c;

	/* Punkte der Übersichtskarte nach Schwierigkeit (Angebot: farbcodiert), mit lesbarer Nummer */
	--rh-schwierigkeit-1: #5fb233; --rh-schwierigkeit-1-text: #1d1d1b;
	--rh-schwierigkeit-2: #f7a823; --rh-schwierigkeit-2-text: #1d1d1b;
	--rh-schwierigkeit-3: #c8102e; --rh-schwierigkeit-3-text: #ffffff;

	/* Regionsfarben (Folder, Registerfarbe je Region) und lesbare Textfarbe darauf */
	--rh-region-traunsee-almtal: #96a825;           --rh-region-traunsee-almtal-text: #1d1d1b;
	--rh-region-attersee-attergau: #00ab96;         --rh-region-attersee-attergau-text: #1d1d1b;
	--rh-region-mondsee-irrsee: #009fe3;            --rh-region-mondsee-irrsee-text: #1d1d1b;
	--rh-region-fuschlseeregion: #0069b4;           --rh-region-fuschlseeregion-text: #ffffff;
	--rh-region-wolfgangsee: #962071;               --rh-region-wolfgangsee-text: #ffffff;
	--rh-region-bad-ischl: #ae2040;                 --rh-region-bad-ischl-text: #ffffff;
	--rh-region-dachstein-salzkammergut: #d35917;   --rh-region-dachstein-salzkammergut-text: #1d1d1b;
	--rh-region-ausseerland-salzkammergut: #e28e04; --rh-region-ausseerland-salzkammergut-text: #1d1d1b;

	--rh-schrift: "Roboto", Arial, sans-serif;
	--rh-schrift-schmal: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--rh-radius: 4px;
}

/* ---------- Avada-Rahmen ---------- */

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Seitenkopf nach der Coming-soon-Seite (parts/kopf.php) ---------- */

.rh-kopf {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #2d3b1c;
	color: #fff;
	font-family: var(--rh-schrift);
	text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .25);
	-webkit-font-smoothing: antialiased;
}
.rh-kopf__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
/* sanfte Abdunklung oben rechts und unten für lesbaren Text */
.rh-kopf::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 55% 70% at 88% 40%, rgba(0, 0, 0, .38), transparent 72%),
		linear-gradient(to top, rgba(0, 0, 0, .45), transparent 28%);
}
/* grüner Balken wie am Folder, Logo bündig mit Ober- und Unterkante */
.rh-kopf__balken {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	height: clamp(44px, 4.4vw, 64px);
	margin: clamp(16px, 4vh, 40px) clamp(16px, 5vw, 64px) 0 0;
	padding-left: clamp(16px, 5vw, 64px);
	background: rgba(143, 166, 31, .93);
	font-size: clamp(15px, 1.6vw, 24px);
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	text-shadow: none;
}
.rh-kopf__balken:hover, .rh-kopf__balken:focus { color: #fff; } /* gegen die Link-Farben von Avada */
.rh-kopf__balken:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.rh-kopf__balken img { display: block; height: 100%; width: auto; }
.rh-kopf__fuss {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
	margin: 0 clamp(16px, 5vw, 64px) clamp(16px, 3vh, 32px);
	padding-bottom: .6rem;
	border-bottom: 1px solid rgba(255, 255, 255, .85);
}
.rh-nav__liste { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.rh-nav__liste a { color: #fff; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; text-decoration: none; text-underline-offset: .25em; }
.rh-nav__liste a:hover, .rh-nav__liste .current-menu-item > a, .rh-nav__liste .current_page_item > a { text-decoration: underline; text-decoration-thickness: 2px; }
.rh-nav__liste a:hover, .rh-nav__liste a:focus, .rh-kopf__logo:hover { color: #fff; } /* nur unterstreichen: die Link-Farbe von Avada hat auf dem Foto zu wenig Kontrast */
.rh-kopf a:focus-visible { outline: 3px solid var(--rh-gelb); outline-offset: 3px; }

/* Startseite: bildschirmfüllend */
.rh-kopf--start { min-height: 100vh; min-height: 100svh; }
.rh-kopf__inhalt {
	flex: 1;
	display: flex; flex-direction: column; align-items: flex-end; text-align: right;
	padding: clamp(24px, 6vh, 72px) clamp(16px, 5vw, 64px) 0;
}
.rh-kopf__claim { margin: 0; font-weight: 300; font-size: clamp(17px, 2.2vw, 34px); line-height: 1.3; }
.rh-kopf .rh-kopf__titel {
	margin: .25em 0 0; padding: 0;
	color: #fff; font-family: var(--rh-schrift); font-weight: 700;
	font-size: clamp(56px, 9vw, 148px); line-height: 1; letter-spacing: -.02em;
}
.rh-kopf__und { font-weight: 300; letter-spacing: 0; }
.rh-kopf__text { margin-top: clamp(16px, 3vh, 32px); max-width: 32em; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.5; }
.rh-kopf__text p { margin: 0 0 1em; }
.rh-kopf__knopf {
	display: inline-flex; align-items: center; gap: .6em;
	padding: .75em 1.4em;
	border-radius: 999px;
	background: var(--rh-gelb);
	color: #111;
	font-weight: 700; font-size: 1.05em; letter-spacing: .02em;
	text-decoration: none; text-shadow: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.rh-kopf__knopf:hover { background: #fff; color: #111; }
.rh-kopf__knopf svg { width: 1em; height: 1em; }
.rh-kopf__icons { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.rh-kopf__icons li { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: clamp(9px, .8vw, 12px); letter-spacing: .08em; text-transform: uppercase; }
.rh-kopf__icons .rh-icon { width: clamp(30px, 3vw, 44px); height: auto; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.rh-kopf--start .rh-kopf__fuss { margin-top: clamp(24px, 5vh, 56px); }

/* Unterseiten: Streifen mit Navigation links und Logo rechts */
.rh-kopf--seite .rh-kopf__foto { object-position: 55% 30%; } /* See statt Personen im Streifen */
.rh-kopf--seite .rh-kopf__fuss { margin-top: clamp(28px, 5vw, 64px); align-items: center; }
.rh-kopf__logo img { display: block; width: clamp(150px, 16vw, 230px); height: auto; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }

.rh-sprungziel { scroll-margin-top: 1rem; }

@media (max-width: 700px) {
	.rh-kopf__balken { margin-right: 0; height: 36px; font-size: 13px; padding-left: 14px; gap: .6rem; }
	.rh-kopf__foto { object-position: 62% 50%; }
	.rh-kopf::before { background: linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 55%), linear-gradient(to top, rgba(0, 0, 0, .55), transparent 35%); }
	.rh-kopf__inhalt { align-items: flex-start; text-align: left; }
	.rh-kopf__claim br { display: none; }
}

/* ---------- Grundlagen ---------- */

.rh-content {
	--rh-region: var(--rh-gruen);
	--rh-region-text: var(--rh-text);
	width: 100%;
	float: none;
	font-family: var(--rh-schrift);
	color: var(--rh-text);
	font-size: 1.0625rem;
	line-height: 1.6;
}
.rh-content h1,
.rh-content h2,
.rh-content h3 {
	font-family: var(--rh-schrift);
	color: var(--rh-text);
	letter-spacing: 0;
}
.rh-content h1, .rh-content .rh-intro__titel { font-size: clamp(2rem, 4vw, 3rem) !important; font-weight: 700 !important; line-height: 1.1 !important; margin: 0 0 .4em; }
.rh-content a { color: var(--rh-gruen-dunkel); }
.rh-content :focus-visible { outline: 3px solid var(--rh-fokus); outline-offset: 2px; }

.rh-link { color: var(--rh-gruen-dunkel); font-weight: 500; text-decoration: underline; text-underline-offset: .15em; }
.rh-link:hover { text-decoration-thickness: 2px; }

.rh-button {
	display: inline-block;
	padding: .65em 1.3em;
	border: 0;
	border-radius: var(--rh-radius);
	background: var(--rh-gruen-dunkel);
	color: var(--rh-weiss);
	font: 500 1rem/1.2 var(--rh-schrift);
	cursor: pointer;
}
.rh-button:hover { background: #45510b; }

.rh-icon { width: 1.4em; height: 1.4em; flex: none; }

.rh-abschnitt {
	margin: 0 0 .8em;
	padding-bottom: .3em;
	border-bottom: 3px solid var(--rh-gruen);
	font-size: 1.35rem !important;
	font-weight: 700 !important;
}


/* Nummern-Reiter in Regionsfarbe (Register im Folder) */
.rh-nummer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 .4rem;
	background: var(--rh-region);
	color: var(--rh-region-text);
	font: 700 1.4rem/1 var(--rh-schrift);
}
.rh-nummer--klein { min-width: 1.9rem; height: 1.9rem; font-size: 1rem; }

/* Bergsymbole */
.rh-berge { display: inline-flex; gap: .2em; vertical-align: -.1em; color: var(--rh-region); }
.rh-berg { width: 1.5em; height: 1em; fill: currentColor; }
.rh-berg .rh-berg__innen { fill: transparent; }
.rh-berg.is-voll .rh-berg__innen { fill: currentColor; }
.rh-berge__text { color: var(--rh-text); }

/* Eignung mit Icons */
.rh-eignung { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.rh-eignung li { display: flex; flex: none; align-items: center; gap: .35em; margin: 0; }
.rh-eignung .rh-icon { color: var(--rh-gruen-dunkel); }
.rh-eignung--gross { font-size: 1rem; margin-top: .75rem; }
.rh-eignung--gross .rh-icon { width: 1.8em; height: 1.8em; }

/* ---------- Tourenübersicht ---------- */

.rh-intro { max-width: 46rem; margin-bottom: 2rem; }
.rh-intro p { font-size: 1.15rem; font-weight: 300; }

.rh-uebersicht__layout { display: grid; gap: 2rem; grid-template-columns: 17rem 1fr; align-items: start; }

.rh-filter {
	position: sticky;
	top: 1rem;
	padding: 1.25rem;
	background: var(--rh-gruen-hell);
	border-radius: var(--rh-radius);
	font-size: .95rem;
}
.rh-filter__titel { margin: 0 0 1rem !important; font-size: 1.2rem !important; }
.rh-filter fieldset { margin: 0 0 1.1rem; padding: 0; border: 0; }
.rh-filter legend { margin-bottom: .35rem; padding: 0; font-weight: 700; font-family: var(--rh-schrift-schmal); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: var(--rh-gruen-dunkel); }
.rh-check { display: flex; align-items: center; gap: .5rem; margin: .25rem 0; }
.rh-check input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--rh-gruen-dunkel); flex: none; }
.rh-check label { display: flex; align-items: center; gap: .4rem; margin: 0; cursor: pointer; }
.rh-check .rh-berge { font-size: .85rem; color: var(--rh-gruen-dunkel); }
.rh-punkt { width: .8rem; height: .8rem; border-radius: 50%; background: var(--rh-region); flex: none; }
.rh-filter__sortierung label { display: block; margin-bottom: .35rem; font-weight: 700; font-family: var(--rh-schrift-schmal); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: var(--rh-gruen-dunkel); }
.rh-filter__sortierung select { width: 100%; min-height: 2.5rem; padding: .3rem .5rem; border: 1px solid #8d907f; border-radius: var(--rh-radius); background: #fff; font: inherit; color: var(--rh-text); }
.rh-filter__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }

.rh-ergebnis__anzahl { margin: 0 0 1rem; font-weight: 500; }
/* Während tourfilter.js das neue Ergebnis lädt */
.rh-ergebnis[aria-busy="true"] :is(.rh-karten, .rh-leer) { opacity: .45; transition: opacity .15s; }
.rh-ergebnis__anzahl:focus { outline: none; }
.rh-uebersichtskarte[hidden] { display: none; }

.rh-karten {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rh-karte {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	border: 1px solid var(--rh-linie);
	border-top: 6px solid var(--rh-region);
	border-radius: var(--rh-radius);
	background: #fff;
	overflow: hidden;
	transition: box-shadow .15s;
}
.rh-karte:hover, .rh-karte:focus-within { box-shadow: 0 4px 16px rgba(0, 0, 0, .14); }
.rh-karte__bild {
	position: relative;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--rh-region) 22%, #fff), color-mix(in srgb, var(--rh-region) 8%, #fff));
}
.rh-karte__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-karte__bild .rh-nummer { position: absolute; top: 0; left: 0; }
.rh-karte__text { display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.rh-karte__titel { margin: 0 !important; font-size: 1.25rem !important; line-height: 1.25 !important; }
.rh-karte__titel a { color: var(--rh-text); text-decoration: none; }
.rh-karte__titel a::after { content: ""; position: absolute; inset: 0; }
.rh-karte__titel a:hover { text-decoration: underline; }
.rh-karte__ort { margin: 0; color: var(--rh-text-leise); font-size: .95rem; line-height: 1.4; }
.rh-karte__region { font-family: var(--rh-schrift-schmal); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; font-weight: 700; color: var(--rh-text-leise); }
.rh-karte__berge { margin: 0; font-size: .95rem; }
.rh-karte .rh-eignung { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--rh-linie); }

.rh-fakten { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 0; font-size: .95rem; }
.rh-fakten div { display: flex; flex-direction: column; }
.rh-fakten dt { font-family: var(--rh-schrift-schmal); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rh-text-leise); font-weight: 400; }
.rh-fakten dd { margin: 0; font-weight: 700; white-space: nowrap; }

.rh-leer { padding: 2rem; background: var(--rh-gruen-hell); border-radius: var(--rh-radius); }

/* Übersichtskarte */
.rh-uebersichtskarte { margin: 0 0 2rem; }
.rh-uebersichtskarte__karte {
	position: relative;
	height: 26rem;
	border: 1px solid var(--rh-linie);
	border-radius: var(--rh-radius);
	overflow: hidden;
	background: repeating-linear-gradient(45deg, rgba(143, 166, 31, .07) 0 12px, transparent 12px 24px), var(--rh-gruen-hell);
	font-family: var(--rh-schrift);
}
.rh-uebersichtskarte__karte.is-geladen { background: #e8ebe0; }
/* Leaflet blendet Kacheln mit plus-lighter über; auf Avada-Seiten entstehen dabei helle Haarlinien zwischen den Kacheln. */
.rh-uebersichtskarte__karte img.leaflet-tile { mix-blend-mode: normal; }
.rh-uebersichtskarte__karte .leaflet-popup-content { font-size: .95rem; line-height: 1.4; }
.rh-uebersichtskarte__karte .leaflet-popup-content a.rh-button { margin-top: .6rem; color: var(--rh-weiss); font-size: .95rem; text-decoration: none; }
.rh-uebersichtskarte__karte .leaflet-popup-content a.rh-button:focus-visible { outline: 3px solid var(--rh-gelb); outline-offset: 2px; }
.rh-uebersichtskarte__info { margin: .5rem 0 0; font-size: .9rem; color: var(--rh-text-leise); }
.rh-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
	font: 700 13px/1 var(--rh-schrift);
	background: var(--rh-schwierigkeit-2);
	color: var(--rh-schwierigkeit-2-text);
}
.rh-pin--stufe-1 { background: var(--rh-schwierigkeit-1); color: var(--rh-schwierigkeit-1-text); }
.rh-pin--stufe-3 { background: var(--rh-schwierigkeit-3); color: var(--rh-schwierigkeit-3-text); }
.leaflet-marker-icon:focus-visible .rh-pin { outline: 3px solid var(--rh-fokus); outline-offset: 2px; }
.rh-legende { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.rh-legende li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.rh-legende .rh-pin { width: 16px; height: 16px; border-width: 1px; box-shadow: none; }

/* ---------- Tour-Detailseite ---------- */

.rh-zurueck { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; font-size: .95rem; }

.rh-tour__kopf { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 6px solid var(--rh-region); }
.rh-tour__kopf .rh-nummer { min-width: 4rem; height: 4rem; font-size: 2.2rem; }
.rh-tour__titel { margin-bottom: .2em !important; }
.rh-tour__unterzeile { margin: 0; font-size: 1.2rem; font-weight: 300; }

.rh-tour__oben { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }

/* Steckbrief wie im Folder: grüne Bezeichnung mit Pfeil, Werte in Roboto Condensed Light */
.rh-steckbrief dl { margin: 0; font-family: var(--rh-schrift-schmal); }
.rh-steckbrief__zeile { display: grid; grid-template-columns: 11.5rem 1fr; gap: .25rem 1rem; padding: .4rem 0; border-bottom: 1px solid var(--rh-linie); }
.rh-steckbrief dt { position: relative; padding-left: 1.3rem; font-weight: 700; color: var(--rh-gruen-dunkel); }
.rh-steckbrief dt::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
	background: var(--rh-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 2l3.5 3L3 8' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.rh-steckbrief dd { margin: 0; font-weight: 300; font-size: 1.05rem; }
.rh-steckbrief dd a { color: var(--rh-gruen-dunkel); font-weight: 400; text-decoration: underline; text-underline-offset: .15em; }
.rh-steckbrief dd .rh-berge { font-size: 1.1rem; }
.rh-steckbrief dd .rh-berge__text { font-weight: 400; }
.rh-steckbrief__zeile.is-wichtig dd { font-weight: 400; }

.rh-komoot {
	position: relative;
	height: 44rem; /* komoot zeigt Kopf, Karte und Höhenprofil; die Karte wächst mit der Höhe */
	border-radius: var(--rh-radius);
	overflow: hidden;
	background:
		repeating-linear-gradient(45deg, rgba(143, 166, 31, .07) 0 12px, transparent 12px 24px),
		var(--rh-gruen-hell);
	border: 1px solid var(--rh-linie);
}
.rh-komoot__hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 2rem; }
.rh-komoot__hinweis p { margin: 0 0 .75rem; }
.rh-komoot__hinweis p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: .5rem 0 0; }
.rh-komoot.is-geladen { background: #fff; }
.rh-komoot iframe { display: block; width: 100%; height: 100%; border: 0; }
.rh-sprunglink:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh-sprunglink:focus { display: inline-block; margin-bottom: .5rem; }
.rh-komoot__ersatz, .rh-navigation { margin: .75rem 0 0; font-size: .95rem; }

.rh-tour__text > section, .rh-tour__text > aside { margin-bottom: 2.5rem; }
.rh-beschreibung p { margin: 0 0 1em; }
.rh-beschreibung strong { font-weight: 700; color: var(--rh-gruen-dunkel); }

.rh-kasten { padding: 1.25rem 1.5rem; border-left: 6px solid var(--rh-gelb); background: #fffbe0; border-radius: 0 var(--rh-radius) var(--rh-radius) 0; }
.rh-kasten h2 { margin: 0 0 .4rem !important; font-size: 1.1rem !important; }
.rh-kasten p { margin: 0; }

.rh-liste { margin: 0; padding: 0; list-style: none; }
.rh-liste li { position: relative; margin: 0 0 .5rem; padding-left: 1.6rem; }
.rh-liste li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .9rem; border-radius: 50%; background: var(--rh-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 2l3.5 3L3 8' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat; }

.rh-galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rh-galerie li { margin: 0; }
.rh-galerie li:only-child { max-width: 36rem; } /* ein einzelnes Foto nicht über die ganze Breite ziehen */
.rh-galerie figure { margin: 0; }
.rh-galerie__link { display: block; border-radius: var(--rh-radius); overflow: hidden; }
.rh-galerie img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.rh-galerie__link:hover img { transform: scale(1.03); }
.rh-galerie figcaption { font-size: .85rem; line-height: 1.4; color: var(--rh-text-leise); margin-top: .4rem; }
.rh-nachweis { white-space: nowrap; }

/* Lightbox (natives <dialog>) */
.rh-lightbox { width: min(96vw, 1200px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: var(--rh-radius); background: #111; color: #fff; overflow: hidden; font-family: var(--rh-schrift); }
.rh-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.rh-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.rh-lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 5.5rem); object-fit: contain; }
.rh-lightbox figcaption { padding: .7rem 4rem 0; font-size: .95rem; text-align: center; }
.rh-lightbox__zaehler { margin: .2rem 0 .7rem; font-size: .85rem; text-align: center; color: #c8c8c8; }
.rh-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0 0 .2rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font: 400 2.2rem/1 var(--rh-schrift); cursor: pointer; }
.rh-lightbox button:hover { background: rgba(0, 0, 0, .9); }
.rh-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rh-lightbox__schliessen { top: .6rem; right: .6rem; }
.rh-lightbox__zurueck, .rh-lightbox__weiter { top: calc(50% - 3rem); }
.rh-lightbox__zurueck { left: .6rem; }
.rh-lightbox__weiter { right: .6rem; }
.rh-lightbox.is-einzeln .rh-lightbox__zurueck, .rh-lightbox.is-einzeln .rh-lightbox__weiter, .rh-lightbox.is-einzeln .rh-lightbox__zaehler { display: none; }

/* Druckknopf im Tour-Kopf */
.rh-drucken { display: inline-flex; flex: none; align-items: center; gap: .45rem; margin-left: auto; padding: .5rem .9rem; border: 1px solid var(--rh-gruen-dunkel); border-radius: var(--rh-radius); background: #fff; color: var(--rh-gruen-dunkel); font: 500 .95rem/1.2 var(--rh-schrift); cursor: pointer; }
.rh-drucken:hover { background: var(--rh-gruen-hell); }
.rh-drucken[hidden] { display: none; }
.rh-nur-druck { display: none; }

.rh-aehnlich { margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--rh-linie); }
.rh-aehnlich ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.rh-aehnlich li { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; }
.rh-aehnlich li a { font-weight: 500; font-size: 1.1rem; }
.rh-aehnlich__info { color: var(--rh-text-leise); }

/* ---------- Bewertungen ---------- */

.rh-sterne { position: relative; display: inline-block; font-size: 1.15em; line-height: 1; letter-spacing: .05em; vertical-align: -.1em; white-space: nowrap; }
.rh-sterne__leer { color: #c9ccbd; }
.rh-sterne__voll { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #b07d00; }
.rh-karte__bewertung { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .95rem; }

.rh-bewertungen { margin-bottom: 2.5rem; }
.rh-bewertungen__schnitt { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-weight: 500; }
.rh-bewertungen__schnitt .rh-sterne { font-size: 1.5rem; }
.rh-bewertungen__liste { margin: 0 0 2rem; padding: 0; list-style: none; }
.rh-bewertung { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--rh-linie); }
.rh-bewertung__kopf { display: flex; align-items: center; gap: .6rem; margin: 0; }
.rh-bewertung__info { margin: .2rem 0 .5rem; font-size: .9rem; color: var(--rh-text-leise); }
.rh-bewertung__text p { margin: 0 0 .5em; }
.rh-kasten--danke { border-left-color: var(--rh-gruen); background: var(--rh-gruen-hell); }

.rh-bewertungen .comment-respond { padding: 1.5rem; background: var(--rh-gruen-hell); border-radius: var(--rh-radius); }
.rh-bewertungen .comment-reply-title { margin: 0 0 .5rem !important; font-size: 1.2rem !important; }
.rh-bewertungen .comment-form label,
.rh-bewertungen .comment-form legend { display: block; margin-bottom: .3rem; padding: 0; font-weight: 700; }
.rh-bewertungen .comment-form fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.rh-bewertungen .comment-form p { margin: 0 0 1rem; }
.rh-bewertungen .comment-form input[type="text"],
.rh-bewertungen .comment-form input[type="email"],
.rh-bewertungen .comment-form select,
.rh-bewertungen .comment-form textarea { width: 100%; max-width: 32rem; min-height: 2.6rem; padding: .4rem .6rem; border: 1px solid #8d907f; border-radius: var(--rh-radius); background: #fff; font: inherit; color: var(--rh-text); }
.rh-bewertungen .comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.rh-bewertungen .comment-form .comment-form-cookies-consent input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--rh-gruen-dunkel); flex: none; }
.rh-bewertungen .comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.rh-pflicht, .rh-hilfe { font-weight: 400; font-size: .9rem; color: var(--rh-text-leise); }
.rh-hilfe { display: block; margin-top: .25rem; }
/* Avada gibt Eingabefeldern im Kommentarformular min-width: 28 %. */
.rh-bewertungen .comment-form :is(input[type="radio"], input[type="checkbox"], .rh-datum input) { min-width: 0; }
.rh-fehler { display: block; margin: .15rem 0 .3rem; font-weight: 700; color: var(--rh-fehler); }
.rh-bewertungen .comment-form .is-fehler:is(input, textarea) { border: 2px solid var(--rh-fehler); }
.rh-kasten--fehler { border-left-color: var(--rh-fehler); background: #fdeeee; }
.rh-kasten--danke:focus, .rh-kasten--fehler:focus { outline: 3px solid var(--rh-fokus); outline-offset: 2px; }

/* Auswahl „Unterwegs mit“ als Radiogruppe (Auswahllisten liest VoiceOver teils ohne Einträge vor) */
.rh-auswahl { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.rh-auswahl legend { width: 100%; }
.rh-auswahl__option { display: flex; align-items: center; gap: .45rem; }
.rh-bewertungen .comment-form .rh-auswahl__option label { margin: 0; font-weight: 400; cursor: pointer; }
.rh-auswahl__option input, .rh-datum input { accent-color: var(--rh-gruen-dunkel); }
.rh-auswahl__option input { width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }

/* Tourdatum in drei Feldern */
.rh-datum { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .25rem 1rem; }
.rh-datum legend, .rh-datum .rh-hilfe { width: 100%; margin-top: 0; }
.rh-bewertungen .comment-form .rh-datum label { margin-bottom: .2rem; font-weight: 400; }
.rh-bewertungen .comment-form .rh-datum input { width: 3.5rem; }
.rh-bewertungen .comment-form .rh-datum__feld--jahr input { width: 5rem; }
.rh-falle { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sternauswahl: Radiobuttons; Sterne bis zum gewählten bzw. überfahrenen gefüllt */
.rh-sterne-wahl { display: flex; flex-wrap: wrap; align-items: center; }
/* Unsichtbar, aber an ihrem Stern: Bei Fokus springt die Seite nicht (Avadas .screen-reader-text:focus schiebt nach oben). */
.rh-sterne-wahl__eingabe { flex: none; width: 1px; height: 1px; margin: 0 -1px 0 0; opacity: 0; }
.rh-sterne-wahl legend { width: 100%; }
.rh-sterne-wahl label { margin: 0; padding: 0 .1rem; font-size: 2rem; line-height: 1; color: #6f7362; cursor: pointer; }
.rh-sterne-wahl:has(input:checked) label { color: #b07d00; }
.rh-sterne-wahl input:checked + label ~ label { color: #6f7362; }
/* Beim Überfahren zählt die Maus, nicht die bisherige Auswahl */
.rh-sterne-wahl:hover label,
.rh-sterne-wahl:hover input:checked + label ~ label { color: #b07d00; }
.rh-sterne-wahl:hover label:hover ~ input + label { color: #6f7362; }
.rh-sterne-wahl input:focus-visible + label { outline: 3px solid var(--rh-fokus); outline-offset: 2px; border-radius: 2px; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 900px) {
	.rh-uebersicht__layout, .rh-tour__oben { grid-template-columns: 1fr; }
	.rh-filter { position: static; }
}
@media (max-width: 560px) {
	.rh-steckbrief__zeile { grid-template-columns: 1fr; gap: 0; }
	.rh-tour__kopf .rh-nummer { min-width: 3rem; height: 3rem; font-size: 1.6rem; }
	.rh-komoot { height: auto; min-height: 20rem; }
	.rh-komoot.is-geladen { height: 38rem; }
	.rh-komoot__hinweis { position: static; padding: 1.25rem; }
}

/* ---------- Textseiten (templates/textseite.php): Impressum, Datenschutz ---------- */

.rh-textseite article { max-width: 48rem; }
.rh-textseite .post-content h2 { margin: 2em 0 .5em; font-size: 1.35rem !important; font-weight: 700 !important; line-height: 1.3 !important; }
.rh-textseite .post-content ul { padding-left: 1.25em; }
.rh-textseite .post-content li { margin-bottom: .4em; }

/* Vorlagen, bis die Texte des Kunden kommen */
.rh-entwurf { margin: 0 0 2rem; padding: 1rem 1.25rem; border-left: 6px solid var(--rh-gelb); background: color-mix(in srgb, var(--rh-gelb) 18%, #fff); }
.rh-content .rh-entwurf p { margin: 0; }

/* Links im Footer (Impressum, Datenschutz) haben die Textfarbe, daher unterstrichen. */
.fusion-copyright-notice a { text-decoration: underline; text-underline-offset: .15em; }
.rh-content mark { background: color-mix(in srgb, var(--rh-gelb) 55%, #fff); color: inherit; padding: 0 .2em; }
.rh-widerruf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }

/* ---------- Druckansicht der Tour (A4, Steckbrief zuerst) ---------- */

@media print {
	@page { margin: 14mm 14mm 16mm; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.rh-kopf, .fusion-header-wrapper, .fusion-footer, #sliders-container, .fusion-sliding-bar-wrapper, .to-top-container, .skip-link,
	.rh-filter, .rh-uebersichtskarte, .rh-zurueck, .rh-drucken, .rh-karte-tour, .rh-aehnlich,
	.rh-bewertungen--leer, .rh-bewertungen .comment-respond, .rh-kasten--danke, .rh-lightbox { display: none !important; }
	html, body, #main, #wrapper, #boxed-wrapper { background: #fff !important; }
	#main { padding: 0 !important; }
	#main .fusion-row { max-width: none !important; padding: 0 !important; }
	/* Alle Größen hängen an der Seitenbreite: 1rem = 16px bei 100 % auf A4 (182 mm Satzbreite = 688px).
	   Druckt der Browser verkleinert (Skalierung, „An Seite anpassen“), wächst alles mit und füllt die Seite. */
	html { font-size: calc(100vw / 43) !important; }
	.rh-content { max-width: none; margin: 0 !important; font-size: .833rem; line-height: 1.45; color: #000; }
	.rh-nur-druck { display: flex; }
	.rh-druck-kopf { align-items: center; justify-content: space-between; margin-bottom: 1.18rem; padding-bottom: .71rem; border-bottom: .125rem solid var(--rh-gruen); font-size: .75rem; }
	.rh-druck-kopf img { width: 9.92rem; height: auto; }
	.rh-tour__kopf { margin-bottom: .945rem; padding-bottom: .71rem; }
	.rh-tour__kopf .rh-nummer { min-width: 2.835rem; height: 2.835rem; font-size: 1.5rem; }
	.rh-content h1 { font-size: 1.833rem !important; }
	.rh-tour__unterzeile { font-size: .917rem; }
	.rh-tour__oben { display: block; margin-bottom: 1.18rem; }
	.rh-abschnitt { margin-bottom: .47rem !important; font-size: 1rem !important; break-after: avoid; }
	.rh-steckbrief__zeile { grid-template-columns: 8.98rem 1fr; padding: .236rem 0; break-inside: avoid; }
	.rh-steckbrief dd { font-size: .833rem; }
	.rh-steckbrief dd a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .667rem; color: #444; }
	.rh-tour__text > section, .rh-tour__text > aside, .rh-bewertungen { margin-bottom: 1.18rem; }
	.rh-beschreibung p { margin-bottom: .6em; orphans: 3; widows: 3; }
	.rh-kasten, .rh-bewertung, .rh-galerie li { break-inside: avoid; }
	.rh-galerie { grid-template-columns: repeat(3, 1fr); gap: .71rem; }
	.rh-galerie__link:hover img { transform: none; }
	.rh-galerie figcaption { font-size: .667rem; }
}
}
