/*
 * Hunde-Übersicht „Zuhause gesucht“ (Block pv-dogs/list) und Hundekarte.
 * Beschlüsse 2026-11-08: Variante B (Filterkasten wie rebuild), Karte D1.
 * Farben, Schrift und Rundungen wie das Profil (profile.css); dort sind sie
 * an .pv-dog-profile gebunden, darum hier eigene Variablen mit denselben Werten.
 */

@font-face {
	font-family: "PV Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/roboto-normal-latin-400.woff2") format("woff2");
}

@font-face {
	font-family: "PV Roboto";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/roboto-normal-latin-500.woff2") format("woff2");
}

@font-face {
	font-family: "PV Roboto";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("fonts/roboto-normal-latin-700.woff2") format("woff2");
}

.pv-dogs-list {
	--pv-dogs-accent: #79b835; /* Logo/Knöpfe */
	--pv-dogs-link: #4a7c22; /* Links, 5,0 : 1 */
	--pv-dogs-heading: #54595f;
	--pv-dogs-text: #666;
	--pv-dogs-line: #c3c4c7;
	--pv-dogs-line-soft: #dcdcde;
	--pv-dogs-radius: 6px; /* wie Galerie und Karten im Profil */
	--pv-dogs-gap: 24px;

	margin: 0 0 48px;
	color: var(--pv-dogs-text);
	font-family: "PV Roboto", Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.5;
}

.pv-dogs-list *,
.pv-dogs-list *::before,
.pv-dogs-list *::after {
	box-sizing: border-box;
}

.pv-dogs-list .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

/* ---------- Knöpfe ---------- */

.pv-dogs-list .pv-dogs-list__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	color: #fff;
	background: var(--pv-dogs-accent);
	border: 0;
	border-radius: var(--pv-dogs-radius);
	font: 600 16px/1.2 "PV Roboto", Roboto, Arial, sans-serif;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease;
}

.pv-dogs-list .pv-dogs-list__button:hover {
	background: #85c641;
}

.pv-dogs-list .pv-dogs-list__button:disabled {
	background: #a7aaad;
	cursor: default;
}

.pv-dogs-list .pv-dogs-list__button--ghost {
	color: var(--pv-dogs-heading);
	background: #fff;
	border: 1px solid var(--pv-dogs-line);
	font-size: 15px;
	font-weight: 500;
}

.pv-dogs-list .pv-dogs-list__button--ghost:hover {
	background: #f6f7f7;
}

.pv-dogs-list :is(a, button, summary, select, input):focus-visible {
	outline: 2px solid var(--pv-dogs-link);
	outline-offset: 2px;
}

/* ---------- Filterkasten ---------- */

.pv-dogs-list__filter {
	display: grid;
	/* Knopf-Spalte fest: „129 Hunde anzeigen“ / „1 Hund anzeigen“ / „Keine Hunde“
	   dürfen die Felder nicht verschieben. */
	grid-template-columns: minmax(0, 1fr) 200px;
	align-items: end;
	gap: 12px;
	margin: 0 0 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--pv-dogs-line-soft);
	border-radius: var(--pv-dogs-radius);
}

/* Kartenbereich als Container (nicht die ganze Übersicht: Größen-Containment
   würde den Vollbild-Filter auf dem Handy einsperren). */
.pv-dogs-list__results {
	container-type: inline-size;
}

.pv-dogs-list__filter-head {
	display: none;
}

.pv-dogs-list__fields {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.2fr);
	gap: 12px;
}

.pv-dogs-list__label {
	display: block;
	margin: 0 0 8px;
	color: var(--pv-dogs-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.pv-dogs-list__dropdown {
	position: relative;
}

.pv-dogs-list__summary {
	position: relative;
	display: block;
	height: 40px;
	padding: 0 34px 0 12px;
	overflow: hidden;
	color: #3c434a;
	background: #fff;
	border: 1px solid var(--pv-dogs-line);
	border-radius: var(--pv-dogs-radius);
	font-size: 15px;
	line-height: 38px;
	white-space: nowrap;
	text-overflow: ellipsis;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.pv-dogs-list__summary::-webkit-details-marker {
	display: none;
}

.pv-dogs-list__summary::after {
	content: "";
	position: absolute;
	top: 14px;
	right: 14px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #50575e;
	border-bottom: 1.5px solid #50575e;
	transform: rotate(45deg);
}

.pv-dogs-list__dropdown[open] > .pv-dogs-list__summary::after {
	top: 18px;
	transform: rotate(-135deg);
}

.pv-dogs-list__summary.is-set {
	color: #1e1e1e;
	border-color: var(--pv-dogs-link);
	font-weight: 500;
}

.pv-dogs-list__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	min-width: max(100%, 280px);
	margin: 0;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--pv-dogs-line-soft);
	border-radius: var(--pv-dogs-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.pv-dogs-list__field:last-child .pv-dogs-list__panel {
	right: 0;
	left: auto;
}

.pv-dogs-list__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	color: #3c434a;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
}

.pv-dogs-list__option:hover {
	background: #f6f7f7;
}

.pv-dogs-list__option input {
	flex: none;
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--pv-dogs-link);
}

.pv-dogs-list__option-text small {
	display: block;
	color: #767676;
	font-size: 13px;
}

.pv-dogs-list__option-count {
	min-width: 3ch;
	margin-left: auto;
	padding-left: 12px;
	color: #767676;
	font-size: 14px;
	font-variant-numeric: tabular-nums; /* Zahlen ändern die Breite nicht */
	text-align: right;
}

.pv-dogs-list__option.is-empty {
	color: #a7aaad;
	cursor: default;
}

.pv-dogs-list__option.is-empty:hover {
	background: none;
}

.pv-dogs-list__option.is-empty .pv-dogs-list__option-count,
.pv-dogs-list__option.is-empty small {
	color: #a7aaad;
}

.pv-dogs-list__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.pv-dogs-list .pv-dogs-list__submit {
	width: 100%;
	min-width: 200px;
	font-variant-numeric: tabular-nums;
}

.pv-dogs-list__clear {
	display: none;
}

/* Handy-Leiste „Filter & Sortierung“, Sortierung im Fenster und Sortier-Chip:
   nur am Handy mit JavaScript (unten); sonst Felder und Auswahl wie gehabt. */
.pv-dogs-list__tools,
.pv-dogs-list__sortfield,
.pv-dogs-list__chips .pv-dogs-list__chip-sort {
	display: none;
}

.pv-dogs-list .pv-dogs-list__open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 12px;
	color: var(--pv-dogs-heading);
	background: #fff;
	border: 1px solid var(--pv-dogs-line);
	border-radius: var(--pv-dogs-radius);
	box-shadow: none;
	font: 500 15px/1 "PV Roboto", Roboto, Arial, sans-serif;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.pv-dogs-list .pv-dogs-list__open:hover,
.pv-dogs-list .pv-dogs-list__open:focus {
	color: var(--pv-dogs-heading);
	background: #f6f7f7;
	border-color: var(--pv-dogs-line);
}

.pv-dogs-list__open svg {
	flex: none;
}

.pv-dogs-list__badge {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	color: #fff;
	background: var(--pv-dogs-accent);
	border-radius: 11px;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.pv-dogs-list__found {
	margin-left: auto;
	color: var(--pv-dogs-text);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Zeile über den Karten ---------- */

.pv-dogs-list__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 20px;
}

.pv-dogs-list__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pv-dogs-list__chips li {
	margin: 0;
}

.pv-dogs-list a.pv-dogs-list__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	color: #3c434a;
	border: 1px solid var(--pv-dogs-line);
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
}

.pv-dogs-list a.pv-dogs-list__chip:hover {
	border-color: var(--pv-dogs-link);
	color: var(--pv-dogs-link);
}

.pv-dogs-list a.pv-dogs-list__reset {
	color: var(--pv-dogs-link);
	font-size: 14px;
	text-decoration: underline;
}

.pv-dogs-list__sort {
	display: flex;
	gap: 8px;
	margin: 0 0 0 auto;
}

.pv-dogs-list__sort select {
	/* wie die Filterfelder: gleiche Höhe, Rahmen, Schrift und Pfeil */
	height: 40px;
	min-width: 200px;
	margin: 0;
	padding: 0 34px 0 12px;
	color: #3c434a;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2350575e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--pv-dogs-line);
	border-radius: var(--pv-dogs-radius);
	font: 400 15px/38px "PV Roboto", Roboto, Arial, sans-serif;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* ---------- Karten ---------- */

.pv-dogs-list__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--pv-dogs-gap);
}

.pv-dogs-card {
	position: relative;
	overflow: hidden;
	color: #3c434a;
	background: #e9e7e2; /* falls ein Hund noch kein Foto hat */
	border-radius: var(--pv-dogs-radius, 6px);
	font-family: "PV Roboto", Roboto, Arial, sans-serif;
	isolation: isolate;
}

.pv-dogs-card__media {
	position: relative;
	overflow: hidden; /* eigener Ausschnitt kann größer sein als die Karte */
	aspect-ratio: 4 / 5;
	margin: 0;
	background: var(--pv-dogs-ph, #e9e7e2); /* Durchschnittsfarbe des Fotos, solange es lädt */
}

/* Bildstimmung (Alex 2026-11-08): gedämpft, weicher, kühler – nachdenklich,
   nicht grau und nicht dunkel (Grau bleibt der Regenbogenbrücke).
   Kühler Ton über eine blaugraue Fläche im Modus „weiches Licht“. */
.pv-dogs-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #50627a;
	mix-blend-mode: soft-light;
	opacity: var(--pv-dogs-card-cool, .28);
	pointer-events: none;
}

.pv-dogs-card__media img {
	display: block;
	/* Ausschnitt von Hand (inc/focus.php, Dialog „Ausschnitt“): Größe und Lage des
	   Fotos im Rahmen; ohne Ausschnitt füllt es die Karte wie bisher. */
	position: absolute;
	top: var(--pv-dogs-ct, 0);
	left: var(--pv-dogs-cl, 0);
	width: var(--pv-dogs-cw, 100%);
	height: var(--pv-dogs-ch, 100%);
	max-width: none;
	object-fit: cover;
	/* sonst: Gesicht über der Schrift (Erkennung), sonst Bildmitte */
	object-position: var(--pv-dogs-pos, 50% 50%);
	transform-origin: var(--pv-dogs-co, 50% 50%);
	/* weniger Farbe und Kontrast, heller – passend zur hellen Seite */
	filter: saturate(var(--pv-dogs-card-saturate, .65)) contrast(var(--pv-dogs-card-contrast, .85)) brightness(var(--pv-dogs-card-brightness, 1.1));
	transition: transform .35s ease;
}



.pv-dogs-card__link:hover .pv-dogs-card__media img {
	transform: scale(1.04);
}

/* Weiße Schrift ohne Feld im Foto (Alex 2026-11-08, ersetzt das helle Feld B).
   Kurzer Verlauf nur hinter der Schrift: unten 70 %, an der Oberkante der
   Schrift 55 % Schwarz, darüber 36 px Übergang. Weiß auf 55 % Schwarz über
   weißem Foto ≈ 4,8 : 1, dazu Textschatten. Das Gesicht steht darüber
   (Ausschnitt aus der Hund-Erkennung, inc/focus.php). */
.pv-dogs-card__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 36px 16px 13px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
	background: linear-gradient(to top, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .55) calc(100% - 36px), rgba(0, 0, 0, 0) 100%);
}

.pv-dogs-card .pv-dogs-card__name {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.pv-dogs-card a.pv-dogs-card__link {
	display: block;
	position: relative;
	color: #3c434a;
	text-decoration: none;
	transition: none; /* gegen Astras „transition: all“ an Links (Karte fuhr beim Laden auf) */
}

/* Ganze Karte ist ein Link (Alex 2026-11-08); Fokusrahmen um die Karte. */
.pv-dogs-card:focus-within {
	outline: 3px solid var(--pv-dogs-link, #4a7c22);
	outline-offset: 3px;
}

.pv-dogs-card a.pv-dogs-card__link:focus,
.pv-dogs-card a.pv-dogs-card__link:focus-visible {
	outline: none;
}

.pv-dogs-card .pv-dogs-card__facts,
.pv-dogs-card .pv-dogs-card__place {
	margin: 2px 0 0;
	padding: 0;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.pv-dogs-card__facts span {
	white-space: nowrap;
}

.pv-dogs-card__facts span + span::before {
	content: " · ";
}

.pv-dogs-card .pv-dogs-card__place {
	margin-top: 0;
	color: #fff;
	font-size: 14px;
}

/* Oben: alle Pills links (umbrechend, Alex 2026-11-08), „Reserviert“ rechts.
   Ebenen: Foto < Pills < Schleier (nur reserviert) < Badge und Textfeld. */
.pv-dogs-card__pills {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

/* Platz für „Reserviert“ rechts lassen */
.pv-dogs-card.is-reserved .pv-dogs-card__pills {
	right: 100px;
}

.pv-dogs-card__pill,
.pv-dogs-card__badge {
	display: inline-flex;
	align-items: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.pv-dogs-card__badge {
	position: absolute;
	top: 10px;
}

.pv-dogs-card__badge {
	z-index: 3;
	right: 10px;
}

/* Reserviert: weißer Schleier über Foto und Pill (Alex 2026-11-08). */
.pv-dogs-card__veil {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: rgba(255, 255, 255, .55);
}

.pv-dogs-card__caption {
	z-index: 3;
}

/* Pills wie im Profil (profile.css), nur deckend */
.pv-dogs-card__pill {
	padding: 4px 9px;
	color: #5b5b5b;
	background: #fff;
	border: 1px solid rgba(91, 91, 91, .18);
	border-radius: 999px;
}

.pv-dogs-card__pill--notfall {
	color: #a3075c;
	background: #fde8f2;
	border-color: rgba(229, 9, 127, .25);
}

.pv-dogs-card__pill--long-wait {
	color: #7a5600;
	background: #fff4d4;
	border-color: rgba(251, 186, 0, .45);
}

.pv-dogs-card__badge {
	height: 26px;
	padding: 0 10px;
	color: #fff;
	background: var(--pv-dogs-accent, #79b835);
	border-radius: var(--pv-dogs-radius, 6px);
}

/* ---------- Seitenkopf wie die übrigen Seiten (Vorbild „Mitgliedschaft“, gemessen 2026-11-08) ---------- */
/* Brotkrumen 15 px Systemschrift, Links #a5a4b0, aktuelle Seite grün; Überschrift
   Roboto 30 px / 600 #54595f (Handy 27 px); Trenner: Balkenmuster #f0f0f0, 20 px hoch, 15 px Luft. */

.pv-dogs-head {
	margin: 0 0 8px;
}

.pv-dogs-list .pv-dogs-head__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 2px;
	padding: 0;
	list-style: none;
	color: #4b4f58;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 15px;
	line-height: 1.65;
}

.pv-dogs-list .pv-dogs-head__crumb {
	margin: 0;
}

.pv-dogs-list .pv-dogs-head__crumb + .pv-dogs-head__crumb::before {
	content: "/";
	margin: 0 10px;
	color: #a5a4b0;
}

.pv-dogs-list .pv-dogs-head__crumb a {
	color: #a5a4b0;
	text-decoration: none;
}

.pv-dogs-list .pv-dogs-head__crumb a:hover,
.pv-dogs-list .pv-dogs-head__crumb a:focus-visible {
	color: var(--pv-dogs-link);
	text-decoration: underline;
}

.pv-dogs-list .pv-dogs-head__crumb [aria-current] {
	color: var(--pv-dogs-accent);
}

.pv-dogs-list .pv-dogs-head__title {
	margin: 0;
	padding: 0;
	color: var(--pv-dogs-heading);
	font-family: Roboto, sans-serif; /* gleiche Angabe wie die Überschriften der übrigen Seiten */
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.pv-dogs-head__divider {
	display: block;
	height: 20px;
	margin: 15px 0;
	background: #f0f0f0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 120 26' fill='black' stroke='none'%3E%3Cpath d='M54,1.6V26h-9V2.5L54,1.6z M69,1.6v23.3L60,26V1.6H69z M24,1.6v23.5l-9-0.6V1.6H24z M30,0l9,0.7v24.5h-9V0z M9,2.5v22H0V3.7L9,2.5z M75,1.6l9,0.9v22h-9V1.6z M99,2.7v21.7h-9V3.8L99,2.7z M114,3.8v20.7l-9-0.5V3.8L114,3.8z'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 120 26' fill='black' stroke='none'%3E%3Cpath d='M54,1.6V26h-9V2.5L54,1.6z M69,1.6v23.3L60,26V1.6H69z M24,1.6v23.5l-9-0.6V1.6H24z M30,0l9,0.7v24.5h-9V0z M9,2.5v22H0V3.7L9,2.5z M75,1.6l9,0.9v22h-9V1.6z M99,2.7v21.7h-9V3.8L99,2.7z M114,3.8v20.7l-9-0.5V3.8L114,3.8z'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x;
}

@media (max-width: 767px) {
	.pv-dogs-list .pv-dogs-head__breadcrumbs ol {
		font-size: 13.7px;
	}

	.pv-dogs-list .pv-dogs-head__title {
		font-size: 27px;
	}
}

/* ---------- Zwischenseite „Dieser Hund ist nicht mehr in der Vermittlung“ (privacy.php) ----------
   Werte wie die Fehlerseite in rebuild (.pv-error-page, gemessen 2026-11-21). */

.pv-dogs-gone {
	display: flex;
	align-items: center;
	min-height: 468px;
	padding: 112px 0;
	box-sizing: border-box;
}

.pv-dogs-gone__inner {
	width: min(760px, 100%);
	margin: 0 auto;
	text-align: center;
}

.pv-dogs-list .pv-dogs-gone__title {
	max-width: 680px;
	margin: 0 auto 16px;
	padding: 0;
	color: #274b35; /* rebuild „Forest“ */
	font: 600 40px/1.25 "PV Roboto", Roboto, Arial, sans-serif;
}

.pv-dogs-list .pv-dogs-gone__text {
	max-width: 620px;
	margin: 0 auto;
	color: #666;
	font-family: "PV Roboto", Roboto, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.65;
}

.pv-dogs-list .pv-dogs-gone__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 0;
}

.pv-dogs-gone .pv-dogs-list__button {
	min-height: 44px;
	padding: 0 16px;
	text-decoration: none;
}

.pv-dogs-gone .pv-dogs-list__button--ghost {
	color: #274b35;
	font-size: 16px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.pv-dogs-gone {
		padding: 64px 0;
	}

	.pv-dogs-list .pv-dogs-gone__title {
		font-size: 32px;
	}

	.pv-dogs-list .pv-dogs-gone__text {
		font-size: 17px;
	}

	.pv-dogs-gone .pv-dogs-list__button {
		flex: 1 1 100%;
	}
}

/* ---------- Hinweis zu unseren Hunden (einmal hier statt bei jedem Hund) ---------- */

/* Abschnitt wie „Auch aktiv mithelfen?“ auf „Mitgliedschaft“ (gemessen 2026-11-08):
   Trenner, 23 px, Überschrift Roboto 25 px / 600 #54595f, 19 px, Text Roboto 18 px / 28 px #333
   (Handy 22,8 px und 16 px). Gleiche Schriftangabe wie dort („Roboto, sans-serif“). */
.pv-dogs-list .pv-dogs-list__notice {
	margin: 36px 0 137px; /* unten bis zum Seitenfuß wie „Mitgliedschaft“ */
	color: #333;
	font-family: Roboto, sans-serif;
	font-size: 18px;
	line-height: 28px;
	scroll-margin-top: 24px;
}

.pv-dogs-list .pv-dogs-list__notice .pv-dogs-head__divider {
	margin: 0 0 23px;
}

.pv-dogs-list .pv-dogs-list__notice-title {
	margin: 0 0 19px;
	padding: 0;
	color: var(--pv-dogs-heading);
	font-family: Roboto, sans-serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.pv-dogs-list .pv-dogs-list__notice p {
	margin: 0 0 15px;
}

@media (max-width: 767px) {
	.pv-dogs-list .pv-dogs-list__notice {
		margin-top: 21px;
		margin-bottom: 125px;
		font-size: 16px;
	}

	.pv-dogs-list .pv-dogs-list__notice-title {
		font-size: 22.8px;
	}
}

/* ---------- leer ---------- */

.pv-dogs-list__empty {
	padding: 24px 28px;
	background: #fbfbfa;
	border: 1px solid var(--pv-dogs-line-soft);
	border-radius: var(--pv-dogs-radius);
}

.pv-dogs-list .pv-dogs-list__empty-title {
	margin: 0 0 14px;
	color: var(--pv-dogs-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}

.pv-dogs-list__without {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pv-dogs-list__without li {
	margin: 0;
}

.pv-dogs-list__without a {
	display: inline-block;
	padding: 8px 14px;
	color: var(--pv-dogs-link);
	border: 1px solid var(--pv-dogs-link);
	border-radius: var(--pv-dogs-radius);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.pv-dogs-list__without a:hover {
	color: #fff;
	background: var(--pv-dogs-link);
}

/* ---------- Unten: Anzahl links, Seiten rechts (Alex 2026-11-08) ---------- */

.pv-dogs-list__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	min-height: 40px; /* gleich hoch mit und ohne Seitenknöpfe */
	margin-top: 32px;
}

.pv-dogs-list .pv-dogs-list__range {
	margin: 0;
	color: #3c434a;
	font-size: 15px;
	line-height: 1.4;
}

.pv-dogs-list__pages {
	display: flex;
	flex-wrap: nowrap; /* nie in sich umbrechen; reicht der Platz nicht, wird sie kompakter (unten) */
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-size: 16px;
	white-space: nowrap;
}

.pv-dogs-list .pv-dogs-list__page {
	display: inline-flex; /* nicht grid: „‹“ und „Zurück“ sind zwei Teile und blieben sonst untereinander */
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	color: var(--pv-dogs-link);
	border: 1px solid var(--pv-dogs-line-soft);
	border-radius: var(--pv-dogs-radius);
	text-decoration: none;
}

.pv-dogs-list a.pv-dogs-list__page:hover {
	border-color: var(--pv-dogs-link);
}

.pv-dogs-list .pv-dogs-list__page.is-current {
	color: #fff;
	background: var(--pv-dogs-link);
	border-color: var(--pv-dogs-link);
}

/* ---------- schmaler ---------- */

@container (max-width: 1050px) {
	.pv-dogs-list__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container (max-width: 780px) {
	.pv-dogs-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	/* „Zurück/Weiter“ nur als Pfeil, damit Anzahl und Seiten in eine Zeile passen */
	.pv-dogs-list__step-text {
		display: none;
	}
}

/* Filterkasten schmaler: Knopf unter die Auswahlen, dann zwei Spalten */
@media (max-width: 1100px) {
	.pv-dogs-list__filter {
		grid-template-columns: 1fr;
	}

	.pv-dogs-list__actions {
		justify-content: flex-end;
	}
}

@media (max-width: 860px) {
	.pv-dogs-list__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Handy: eine Spalte, Foto 4:3 (Beschluss 2026-11-08). */
@container (max-width: 560px) {
	.pv-dogs-list__grid {
		grid-template-columns: 1fr;
	}

	.pv-dogs-card__media {
		aspect-ratio: 4 / 3;
	}

	.pv-dogs-card__media img {
		top: var(--pv-dogs-ct-m, 0);
		left: var(--pv-dogs-cl-m, 0);
		width: var(--pv-dogs-cw-m, 100%);
		height: var(--pv-dogs-ch-m, 100%);
		object-position: var(--pv-dogs-pos-m, 50% 50%);
		transform-origin: var(--pv-dogs-co-m, 50% 50%);
	}

	.pv-dogs-card .pv-dogs-card__name {
		font-size: 24px;
	}

	.pv-dogs-list__sort {
		margin-left: auto;
	}

	.pv-dogs-list__sort select {
		min-width: 0;
	}


	.pv-dogs-list__gap,
	.pv-dogs-list__pages .pv-dogs-list__page:not(.is-current, .pv-dogs-list__step) {
		display: none;
	}


}

/* Handy ohne JavaScript: Filterkasten in einer Spalte. */
@media (max-width: 600px) {
	.pv-dogs-list__fields {
		grid-template-columns: 1fr;
	}
}

/* Handy und Tablet mit JavaScript: Leiste „Filter & Sortierung“, Liste als
   Vollbild. Grenze wie der Seitenkopf: Astra schaltet bei 921 px auf das
   ☰-Menü (astra_header_break_point; Alex 2026-11-21: Tablets wie Handy).
   Gleicher Wert in list.js (MOBILE). Beim Theme-Wechsel anpassen.
   Ohne JavaScript bleibt der Filterkasten sichtbar. Die Klasse pv-dogs-js setzt
   ein Skript im Kopf (profile.php) vor dem ersten Zeichnen, damit die Seite
   nicht springt. */
@media (max-width: 921px) {
	/* Leiste klebt unter dem Seitenkopf (Höhe misst list.js: --pv-dogs-sticky-top). */
	.pv-dogs-js .pv-dogs-list__tools {
		position: sticky;
		top: var(--pv-dogs-sticky-top, 0px);
		z-index: 50;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 0;
	}

	/* weiße Fläche über die volle Breite; Linie und Schatten erst, wenn sie klebt */
	.pv-dogs-js .pv-dogs-list__tools::before {
		content: "";
		position: absolute;
		z-index: -1;
		inset: 0 calc(50% - 50vw);
		background: #fff;
		transition: box-shadow .15s ease;
	}

	.pv-dogs-js .pv-dogs-list__tools.is-stuck::before {
		box-shadow: 0 1px 0 var(--pv-dogs-line-soft), 0 8px 12px -10px rgba(0, 0, 0, .35);
	}

	/* Sortierung steckt im Fenster; die Zeile darunter trägt nur noch die Chips. */
	.pv-dogs-js .pv-dogs-list .pv-dogs-list__sort {
		display: none;
	}

	.pv-dogs-js .pv-dogs-list__bar {
		display: block;
		margin: 2px 0 14px;
	}

	.pv-dogs-js .pv-dogs-list__bar:not(:has(.pv-dogs-list__chips)) {
		display: none;
	}

	/* Chips in einer Zeile, seitlich wischbar bis an den Bildschirmrand */
	.pv-dogs-js .pv-dogs-list .pv-dogs-list__chips {
		flex-wrap: nowrap;
		gap: 8px;
		margin: 0 calc(50% - 50vw);
		padding: 0 calc(50vw - 50%) 2px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.pv-dogs-js .pv-dogs-list .pv-dogs-list__chips::-webkit-scrollbar {
		display: none;
	}

	.pv-dogs-js .pv-dogs-list .pv-dogs-list__chips li {
		display: block;
		flex: none;
	}

	.pv-dogs-js .pv-dogs-list a.pv-dogs-list__chip {
		height: 32px;
		padding: 0 10px 0 12px;
		white-space: nowrap;
	}

	.pv-dogs-js .pv-dogs-list a.pv-dogs-list__reset {
		white-space: nowrap;
	}

	.pv-dogs-js .pv-dogs-list .pv-dogs-list__filter:not(.is-open) {
		display: none;
	}
}

/* Vollbild-Filter (Handy). Außerhalb der Container-Abfrage, damit „fixed“ gilt. */
.pv-dogs-list__filter.is-open {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__filter-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: none;
	padding: 12px 16px 12px 20px;
	border-bottom: 1px solid var(--pv-dogs-line-soft);
}

.pv-dogs-list__filter-title {
	color: var(--pv-dogs-heading);
	font-size: 20px;
	font-weight: 600;
}

.pv-dogs-list .pv-dogs-list__close {
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	color: #1e1e1e;
	background: #fff;
	border: 1px solid var(--pv-dogs-line-soft);
	border-radius: var(--pv-dogs-radius);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__fields {
	display: block;
	flex: 1;
	padding: 4px 20px 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__field {
	padding: 14px 0 8px;
	border-bottom: 1px solid var(--pv-dogs-line-soft);
}

.pv-dogs-list__filter.is-open .pv-dogs-list__sortfield {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 14px 0 8px;
	border: 0;
	border-bottom: 6px solid #f0f0f1; /* trennt Sortierung von den Filtern */
}

.pv-dogs-list__filter.is-open .pv-dogs-list__sortfield legend {
	float: left;
	width: 100%;
	padding: 0;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__sortfield .pv-dogs-list__option {
	clear: both;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__field:last-child {
	border-bottom: 0;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__summary {
	display: none;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__panel {
	position: static;
	min-width: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__option {
	padding: 9px 0;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__actions {
	flex: none;
	justify-content: space-between;
	padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--pv-dogs-line-soft);
	box-shadow: 0 -4px 12px rgba(0, 0, 0, .05);
}

.pv-dogs-list__filter.is-open .pv-dogs-list__clear {
	display: inline;
}

.pv-dogs-list__filter.is-open .pv-dogs-list__submit {
	flex: 1;
	max-width: 240px;
}

@media (prefers-reduced-motion: reduce) {
	.pv-dogs-card__media img,
	.pv-dogs-list .pv-dogs-list__button {
		transition: none;
	}

	.pv-dogs-card__link:hover .pv-dogs-card__media img {
		transform: none;
	}
}
