/* ==========================================================================
   Hundehilfe Marika – Website
   Farben aus dem Logo (Rot #d22226, Grün #009048), dazu ein tiefes Grün für
   Flächen und das Blau des EU-Heimtierausweises für den Steckbrief.
   ========================================================================== */

:root {
	--hhm-paper: #ffffff;
	--hhm-mist: #eef3ef;
	--hhm-mist-2: #e2eae4;
	--hhm-ink: #18201b;
	--hhm-ink-2: #2c362f;
	--hhm-muted: #5a645c;
	--hhm-line: #d9e2db;
	--hhm-green: #14472f;
	--hhm-green-ink: #0f3824;
	--hhm-green-logo: #009048;
	--hhm-red: #d22226;
	--hhm-red-ink: #b01b1f;
	--hhm-pass: #1d3b8b;
	--hhm-pass-2: #2a4ba3;
	--hhm-pass-ink: #dfe6fb;
	--hhm-amber: #8f5300;
	--hhm-amber-bg: #fff1d9;

	--hhm-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hhm-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;

	--hhm-wrap: 1200px;
	--hhm-gutter: clamp(16px, 4vw, 40px);
	--hhm-space: clamp(48px, 6vw, 84px);
	--hhm-radius: 10px;
	--hhm-radius-sm: 6px;

	/* Typo-Skala (Quarte, 1.333) */
	--hhm-fs-sm: 0.875rem;
	--hhm-fs-base: 1.0625rem;
	--hhm-fs-md: 1.25rem;
	--hhm-fs-lg: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
	--hhm-fs-xl: clamp(2rem, 1.4rem + 2.2vw, 3rem);
	--hhm-fs-xxl: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
}

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

/* Bricks setzt html auf 62.5 % (10 px). Alle Größen hier sind auf 16 px ausgelegt. */
html { font-size: 100% !important; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body.hhm {
	margin: 0;
	background: var(--hhm-paper);
	color: var(--hhm-ink);
	font-family: var(--hhm-sans);
	font-size: var(--hhm-fs-base);
	line-height: 1.55;
	font-feature-settings: "kern", "liga";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

:where(body.hhm) :is(h1, h2, h3, h4) {
	font-family: var(--hhm-sans);
	color: var(--hhm-ink);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
:where(body.hhm) h1 { font-size: var(--hhm-fs-xl); font-weight: 750; letter-spacing: -0.025em; }
:where(body.hhm) h2 { font-size: var(--hhm-fs-lg); font-weight: 700; }
:where(body.hhm) h3 { font-size: var(--hhm-fs-md); font-weight: 650; letter-spacing: -0.01em; }
:where(body.hhm) p { margin: 0 0 1em; text-wrap: pretty; }
:where(body.hhm) p:last-child { margin-bottom: 0; }
:where(body.hhm) a { color: var(--hhm-green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:where(body.hhm) a:hover { color: var(--hhm-green-ink); text-decoration-thickness: 2px; }
:where(body.hhm) img { max-width: 100%; height: auto; display: block; }
body.hhm ::selection { background: #cfe6d6; }

:focus-visible { outline: 3px solid var(--hhm-green-logo); outline-offset: 3px; border-radius: 4px; }

.hhm-muted { color: var(--hhm-muted); }
.hhm-icon { width: 1.15em; height: 1.15em; flex: none; }

.hhm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--hhm-ink); color: #fff !important; padding: 10px 16px; border-radius: 999px; }
.hhm-skip:focus { left: 16px; }

/* ---------- Bricks-Gerüst ---------- */

.brxe-section.hhm-section { padding: var(--hhm-space) var(--hhm-gutter); }
.brxe-section.hhm-section--tight { padding-top: calc(var(--hhm-space) * 0.55); padding-bottom: calc(var(--hhm-space) * 0.55); }
.brxe-section.hhm-section--flush-top { padding-top: 0; }
.brxe-section.hhm-section--mist { background: var(--hhm-mist); }
.brxe-section.hhm-section--green { background: var(--hhm-green); color: #e9f2ec; }
.brxe-section.hhm-section--green :is(h1, h2, h3) { color: #fff; }
.brxe-section.hhm-section--green a:not(.hhm-btn) { color: #fff; }

.brxe-container.hhm-wrap { width: 100%; max-width: var(--hhm-wrap); margin-inline: auto; align-items: stretch; }
.brxe-container.hhm-wrap--narrow { max-width: 760px; }

.hhm-stack { display: flex; flex-direction: column; gap: 1rem; }

/* Abschnittskopf: Überschrift links, optional Link rechts */
.hhm-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 40px); width: 100%; }
.hhm-head > :first-child { max-width: 46rem; }
.hhm-head h2 { margin: 0; }
.hhm-lead { font-size: var(--hhm-fs-md); line-height: 1.5; color: var(--hhm-ink-2); max-width: 40rem; }
.hhm-kicker { font-weight: 600; color: var(--hhm-green-logo); margin: 0 0 0.6rem; font-size: var(--hhm-fs-base); }

/* ---------- Buttons ---------- */

.hhm-btn, body.hhm .brxe-button.hhm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0.7em 1.35em; border-radius: 999px;
	font: 600 1rem/1.2 var(--hhm-sans); letter-spacing: 0;
	text-decoration: none !important; cursor: pointer; border: 1.5px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hhm-btn--primary, body.hhm .brxe-button.hhm-btn--primary { background: var(--hhm-green); color: #fff !important; }
.hhm-btn--primary:hover { background: var(--hhm-green-ink); }
.hhm-btn--ghost, body.hhm .brxe-button.hhm-btn--ghost { background: transparent; color: var(--hhm-green) !important; border-color: currentColor; }
.hhm-btn--ghost:hover { background: var(--hhm-mist); }
.hhm-btn--light { background: #fff; color: var(--hhm-green) !important; }
.hhm-btn--light:hover { background: var(--hhm-mist); }
.hhm-btn--donate { background: var(--hhm-red); color: #fff !important; }
.hhm-btn--donate:hover { background: var(--hhm-red-ink); }
.hhm-btn--paypal { background: #ffc439; color: #111 !important; }
.hhm-btn--paypal:hover { background: #f2b52b; }
.hhm-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hhm-textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none !important; }
.hhm-textlink .hhm-icon { transition: transform .15s ease; }
.hhm-textlink:hover .hhm-icon { transform: translateX(3px); }
.hhm-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--hhm-green); text-decoration: underline; cursor: pointer; }

/* ---------- Kopfzeile ---------- */

.hhm-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--hhm-line); }
.hhm-header__inner { max-width: calc(var(--hhm-wrap) + 2 * var(--hhm-gutter)); margin: 0 auto; padding: 10px var(--hhm-gutter); display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hhm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--hhm-ink) !important; margin-right: auto; }
.hhm-brand img { width: 56px; height: 56px; }
.hhm-brand__name { font-weight: 750; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.1; }
.hhm-brand__name span { font-weight: 500; color: var(--hhm-muted); }
.hhm-brand--light { color: #fff !important; }
.hhm-brand--light .hhm-brand__name span { color: #b9d3c2; }

.hhm-nav { display: flex; align-items: center; gap: 8px; }
.hhm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hhm-nav__list a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 550; color: var(--hhm-ink) !important; text-decoration: none !important; }
.hhm-nav__list a:hover { background: var(--hhm-mist); }
.hhm-nav__list .current-menu-item > a, .hhm-nav__list .current-menu-ancestor > a, .hhm-nav__list .current_page_parent > a { color: var(--hhm-green) !important; box-shadow: inset 0 -2px 0 var(--hhm-green-logo); border-radius: 8px 8px 0 0; }
.hhm-nav .hhm-btn--donate { margin-left: 8px; min-height: 44px; padding-inline: 1.1em; }

.hhm-menu-toggle { display: none; }

@media (max-width: 1023px) {
	.hhm-header__inner { min-height: 64px; }
	.hhm-brand img { width: 44px; height: 44px; }
	.hhm-brand__name { font-size: 1rem; }
	.hhm-menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--hhm-line); background: #fff; font: 600 0.95rem var(--hhm-sans); color: var(--hhm-ink); cursor: pointer; }
	.hhm-menu-toggle .is-close { display: none; }
	.hhm-menu-toggle[aria-expanded="true"] .is-open { display: none; }
	.hhm-menu-toggle[aria-expanded="true"] .is-close { display: block; }
	.hhm-nav { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px var(--hhm-gutter) 32px; gap: 16px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; border-top: 1px solid var(--hhm-line); }
	.hhm-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
	.hhm-nav__list { flex-direction: column; gap: 0; }
	.hhm-nav__list a { font-size: 1.375rem; font-weight: 650; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--hhm-line); }
	.hhm-nav__list .current-menu-item > a { box-shadow: none; }
	.hhm-nav .hhm-btn--donate { margin: 8px 0 0; min-height: 52px; font-size: 1.05rem; }
	body.hhm-menu-open { overflow: hidden; }
}

/* ---------- Fußzeile ---------- */

.hhm-footer { background: var(--hhm-green); color: #d6e6dc; font-size: 0.975rem; }
.hhm-footer a { color: #fff !important; }
.hhm-footer__inner { max-width: calc(var(--hhm-wrap) + 2 * var(--hhm-gutter)); margin: 0 auto; padding: 64px var(--hhm-gutter) 40px; display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
.hhm-footer__about p { margin: 16px 0; max-width: 30ch; }
.hhm-footer__title { color: #fff; font-weight: 650; margin-bottom: 10px !important; }
.hhm-footer__social { display: inline-flex; gap: 8px; align-items: center; text-decoration: none !important; }
.hhm-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hhm-footer__menu a { text-decoration: none !important; }
.hhm-footer__menu a:hover { text-decoration: underline !important; }
.hhm-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); max-width: calc(var(--hhm-wrap) + 2 * var(--hhm-gutter)); margin: 0 auto; padding: 18px var(--hhm-gutter) 28px; font-size: 0.875rem; color: #a9c5b3; }
@media (max-width: 900px) { .hhm-footer__inner { grid-template-columns: 1fr 1fr; } .hhm-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hhm-footer__inner { grid-template-columns: 1fr; padding-top: 48px; } }

/* ---------- Startseite: Einstieg ---------- */

.hhm-hero { padding: clamp(40px, 6vw, 88px) var(--hhm-gutter) clamp(48px, 6vw, 96px) !important; }
.hhm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.hhm-hero h1 { font-size: var(--hhm-fs-xxl) !important; line-height: 1.02 !important; margin-bottom: 0.4em !important; max-width: 12ch; }
.hhm-hero__lead { font-size: var(--hhm-fs-md); color: var(--hhm-ink-2); max-width: 36rem; }
.hhm-hero__count { font-weight: 650; color: var(--hhm-green); font-size: var(--hhm-fs-md); display: inline-flex; gap: 10px; align-items: center; margin-bottom: 1rem !important; }
.hhm-hero__count::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hhm-green-logo); box-shadow: 0 0 0 5px rgba(0,144,72,.15); }
.hhm-hero__media { position: relative; }
.hhm-hero__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--hhm-radius); }
.hhm-hero__caption { position: absolute; left: 16px; bottom: 16px; right: 16px; color: #fff; font-size: 0.9rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
@media (max-width: 860px) {
	.hhm-hero__grid { grid-template-columns: 1fr; }
	.hhm-hero__media { order: -1; }
	.hhm-hero__media img { aspect-ratio: 4 / 3; }
}

/* ---------- Hunde: Karten & Listen ---------- */

.hhm-doglist { width: 100%; }
.hhm-dogs { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.hhm-dogs--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.hhm-dogs--adopted { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.hhm-dogs--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
	/* volle Bildschirmbreite zum Wischen, Start bündig mit dem Inhalt */
	.hhm-dogs--strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--hhm-gutter) * -1); padding: 0 var(--hhm-gutter) 8px; scroll-padding-inline: var(--hhm-gutter); scrollbar-width: none; }
	.hhm-dogs--strip::-webkit-scrollbar { display: none; }
	.hhm-dogs--strip .hhm-dog { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 520px) { .hhm-dogs:not(.hhm-dogs--strip):not(.hhm-dogs--adopted) { grid-template-columns: 1fr 1fr; gap: 14px; } }

.hhm-dog { position: relative; }
.hhm-dog[hidden] { display: none; }
.hhm-dog__link { display: block; color: inherit !important; text-decoration: none !important; }
.hhm-dog__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--hhm-radius); overflow: hidden; background: var(--hhm-mist-2); }
.hhm-dog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.hhm-dog__link:hover .hhm-dog__media img { transform: scale(1.035); }
.hhm-dog__placeholder { display: grid; place-items: center; height: 100%; color: #b8c7bc; }
.hhm-dog__placeholder .hhm-icon { width: 40%; height: 40%; }
.hhm-dog__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.hhm-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 650; background: #fff; color: var(--hhm-ink); }
.hhm-badge--reserved { background: var(--hhm-amber-bg); color: var(--hhm-amber); }
.hhm-badge--foster { background: #fff; color: var(--hhm-green); }
.hhm-dog__body { padding: 12px 2px 0; }
.hhm-dog__name { font-size: 1.3rem !important; margin: 0 0 2px !important; font-weight: 700 !important; }
a.hhm-dog__link:hover .hhm-dog__name { color: var(--hhm-green); }
.hhm-dog__facts { color: var(--hhm-muted); font-size: 0.95rem; margin: 0 0 4px !important; }
.hhm-dog__slogan { font-family: var(--hhm-serif); font-style: italic; font-size: 1rem; color: var(--hhm-ink-2); margin: 0 !important; line-height: 1.4; }
.hhm-dog--compact .hhm-dog__name { font-size: 1.1rem !important; }
.hhm-dog--adopted .hhm-dog__media { aspect-ratio: 1; border-radius: var(--hhm-radius-sm); }
.hhm-dog--adopted .hhm-dog__name { font-size: 1rem !important; font-weight: 650 !important; }
.hhm-dog--adopted .hhm-dog__body { padding-top: 8px; }
.hhm-dog--adopted .hhm-dog__facts { font-size: 0.85rem; }

/* Filter */
.hhm-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 16px; margin-bottom: 28px; background: var(--hhm-mist); border-radius: var(--hhm-radius); }
.hhm-filter__group { display: grid; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--hhm-ink-2); flex: 1 1 170px; }
.hhm-filter select { appearance: none; min-height: 46px; padding: 0 40px 0 14px; border-radius: 8px; border: 1px solid var(--hhm-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2318201b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; font: 500 1rem var(--hhm-sans); color: var(--hhm-ink); width: 100%; }
.hhm-filter__count { margin: 0 0 0 auto !important; font-weight: 650; align-self: center; white-space: nowrap; }
.hhm-empty { padding: 28px; border-radius: var(--hhm-radius); background: var(--hhm-mist); color: var(--hhm-ink-2); }

.hhm-years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hhm-years a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hhm-line); text-decoration: none !important; color: var(--hhm-ink) !important; font-weight: 550; font-variant-numeric: tabular-nums; }
.hhm-years a:hover { border-color: var(--hhm-green); }
.hhm-years a[aria-current] { background: var(--hhm-green); border-color: var(--hhm-green); color: #fff !important; }

/* ---------- Hundeseite ---------- */

.hhm-dogpage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "gallery side" "text side"; grid-template-rows: auto 1fr; gap: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 64px); align-items: start; width: 100%; }
.hhm-dogpage__gallery { grid-area: gallery; min-width: 0; }
.hhm-dogpage > .hhm-dogpage__side { grid-area: side; }
.hhm-dogpage__text { grid-area: text; min-width: 0; }
.hhm-dogtext__title { font-size: var(--hhm-fs-lg); margin-bottom: 0.6em; }
@media (max-width: 900px) { .hhm-dogpage { grid-template-columns: 1fr; grid-template-areas: "gallery" "side" "text"; grid-template-rows: auto; } }
.hhm-dogpage__side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
@media (max-width: 900px) { .hhm-dogpage__side { position: static; } }

.hhm-back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none !important; margin-bottom: 20px; }

.hhm-gallery__main { position: relative; border-radius: var(--hhm-radius); overflow: hidden; background: var(--hhm-mist-2); aspect-ratio: 4 / 3; }
.hhm-gallery__slide { display: block; height: 100%; }
.hhm-gallery__slide[hidden] { display: none; }
.hhm-gallery__slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.hhm-gallery__counter { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(24,32,27,.72); color: #fff; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.hhm-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.hhm-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--hhm-radius-sm); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; opacity: .75; }
.hhm-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.hhm-gallery__thumbs button[aria-selected="true"] { border-color: var(--hhm-green); opacity: 1; }
.hhm-gallery__thumbs button:hover { opacity: 1; }
.hhm-gallery--empty { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--hhm-radius); background: var(--hhm-mist); color: #b8c7bc; }
.hhm-gallery--empty .hhm-icon { width: 30%; height: 30%; }

.hhm-dogintro__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--hhm-green); margin-bottom: 8px !important; }
.hhm-dogintro__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hhm-green-logo); }
.hhm-dogintro__status--reserviert { color: var(--hhm-amber); }
.hhm-dogintro__status--reserviert::before { background: #e39a1f; }
.hhm-dogintro__status--vermittelt { color: var(--hhm-ink-2); }
.hhm-dogintro__status--vermittelt::before { background: var(--hhm-red); }
.hhm-dogintro__status--archiv { color: var(--hhm-muted); }
.hhm-dogintro__status--archiv::before { background: #b8c1ba; }
.hhm-dogintro__name { font-size: var(--hhm-fs-xxl) !important; line-height: 1 !important; margin-bottom: 0.25em !important; }
.hhm-dogintro__slogan { font-family: var(--hhm-serif); font-style: italic; font-size: var(--hhm-fs-md); color: var(--hhm-ink-2); }
.hhm-dogintro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Steckbrief im Stil des EU-Heimtierausweises */
.hhm-pass { background: var(--hhm-pass); color: #fff; border-radius: var(--hhm-radius); padding: 0 0 18px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.hhm-pass__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--hhm-pass-2); border-bottom: 1px solid rgba(255,255,255,.14); }
.hhm-pass__title { font-weight: 700; letter-spacing: 0.01em; }
.hhm-pass__paw { width: 22px; height: 22px; color: #ffd84d; }
.hhm-pass__fields { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 4px 20px 0; }
.hhm-pass__field { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hhm-pass__field:nth-child(odd):not(.hhm-pass__field--wide) { padding-right: 12px; }
.hhm-pass__field--wide { grid-column: 1 / -1; }
.hhm-pass__field dt { font-size: 0.8rem; color: var(--hhm-pass-ink); opacity: .85; margin-bottom: 2px; }
.hhm-pass__field dd { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.hhm-pass__traits { list-style: none; margin: 0; padding: 16px 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hhm-pass__traits li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 0.9rem; font-weight: 550; }
.hhm-pass__traits .hhm-icon { width: 16px; height: 16px; color: #ffd84d; }

.hhm-dogtext { font-size: 1.15rem; }

/* Infobox Ausreise/Gesundheit */
.hhm-infobox { border: 1px solid var(--hhm-line); border-radius: var(--hhm-radius); padding: clamp(20px, 3vw, 32px); background: #fff; }
.hhm-infobox h2, .hhm-infobox h3 { font-size: var(--hhm-fs-md) !important; }
.hhm-details { border-top: 1px solid var(--hhm-line); margin-top: 16px; padding-top: 12px; }
.hhm-details summary { cursor: pointer; font-weight: 650; color: var(--hhm-green); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; }
.hhm-details summary::-webkit-details-marker { display: none; }
.hhm-details summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 15px; line-height: 1; }
.hhm-details[open] summary::before { content: "–"; }

/* Anfrage */
.hhm-inquiry { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); width: 100%; }
@media (max-width: 860px) { .hhm-inquiry { grid-template-columns: 1fr; } }
.hhm-inquiry__aside { display: flex; flex-direction: column; gap: 16px; }
.hhm-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--hhm-radius); background: var(--hhm-mist); width: 100%; }
.hhm-callout p { margin: 0 !important; }

.hhm-contact { padding: 22px; border-radius: var(--hhm-radius); background: var(--hhm-mist); }
.hhm-contact__label { font-size: 0.9rem; color: var(--hhm-muted); margin: 0 0 2px !important; }
.hhm-contact__name { font-weight: 700; font-size: 1.2rem; margin: 0 0 12px !important; }
.hhm-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hhm-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; font-weight: 550; color: var(--hhm-ink) !important; }
.hhm-contact a .hhm-icon { color: var(--hhm-green); }
.hhm-contact a:hover { color: var(--hhm-green) !important; }

.hhm-doclink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--hhm-radius); border: 1px solid var(--hhm-line); text-decoration: none !important; color: var(--hhm-ink) !important; background: #fff; transition: border-color .15s ease; }
.hhm-doclink:hover { border-color: var(--hhm-green); }
.hhm-doclink .hhm-icon { width: 28px; height: 28px; color: var(--hhm-red); }
.hhm-doclink strong { display: block; }
.hhm-doclink span { color: var(--hhm-muted); font-size: 0.95rem; }
.hhm-doclink strong { color: var(--hhm-ink); font-size: 1rem; }
.hhm-docs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); width: 100%; }

/* ---------- Formulare ---------- */

.hhm-form { width: 100%; }
.hhm-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hhm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
@media (max-width: 600px) { .hhm-form__grid { grid-template-columns: 1fr; } }
.hhm-field { display: grid; gap: 6px; }
.hhm-field--wide { grid-column: 1 / -1; }
.hhm-field label, body.hhm .hhm-field label { font-weight: 600; font-size: 0.95rem; color: var(--hhm-ink); }
.hhm-field__opt { font-weight: 400; color: var(--hhm-muted); }
.hhm-field input, .hhm-field textarea, .hhm-field select {
	width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border-radius: 8px;
	border: 1.5px solid var(--hhm-line); background: #fff; color: var(--hhm-ink); font: 400 1.0625rem/1.4 var(--hhm-sans);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.hhm-field textarea { min-height: 150px; resize: vertical; }
.hhm-field input:focus, .hhm-field textarea:focus, .hhm-field select:focus { outline: none; border-color: var(--hhm-green); box-shadow: 0 0 0 3px rgba(0,144,72,.18); }
.hhm-field.is-invalid input, .hhm-field.is-invalid textarea { border-color: var(--hhm-red); }
.hhm-field__error { color: var(--hhm-red-ink); font-size: 0.9rem; }
.hhm-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--hhm-ink-2); margin-bottom: 20px; cursor: pointer; }
.hhm-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--hhm-green); flex: none; }
.hhm-check.is-invalid span { color: var(--hhm-red-ink); }
.hhm-form__footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hhm-form__status { margin: 0 !important; font-weight: 550; }
.hhm-form__status.is-error { color: var(--hhm-red-ink); }
.hhm-form.is-sent .hhm-form__grid, .hhm-form.is-sent .hhm-check, .hhm-form.is-sent button { display: none; }
.hhm-form.is-sent .hhm-form__status { padding: 20px 22px; border-radius: var(--hhm-radius); background: #e3f3e8; color: var(--hhm-green-ink); }
.hhm-form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Text (lange Inhalte) ---------- */

.hhm-prose { font-family: var(--hhm-serif); font-size: 1.2rem; line-height: 1.7; color: var(--hhm-ink); max-width: 68ch; font-optical-sizing: auto; }
.hhm-prose p { margin: 0 0 1.05em; }
.hhm-prose :is(h2, h3) { font-family: var(--hhm-sans); margin: 1.8em 0 0.6em; }
.hhm-prose h2 { font-size: var(--hhm-fs-lg); }
.hhm-prose ul, .hhm-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.hhm-prose li { margin-bottom: 0.35em; }
.hhm-prose a { color: var(--hhm-green); }
.hhm-prose strong { font-weight: 650; }

.hhm-plain { max-width: 68ch; }
.hhm-plain ul { padding-left: 1.2em; }
.hhm-plain li { margin-bottom: .3em; }

/* Reisebericht-Inhalt aus Gutenberg */
.hhm-report-content { width: 100%; max-width: 1100px; margin-inline: auto; }
.hhm-report-content > * { max-width: 68ch; margin-left: auto; margin-right: auto; }
.hhm-report-content > :is(.wp-block-columns, .wp-block-gallery, .wp-block-image.alignwide, .wp-block-media-text, .alignwide) { max-width: 100%; }
.hhm-report-content { font-family: var(--hhm-serif); font-size: 1.2rem; line-height: 1.7; }
.hhm-report-content :is(h2, h3) { font-family: var(--hhm-sans); margin-top: 1.6em; }
.hhm-report-content .wp-block-columns { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin: 2.2em auto; }
.hhm-report-content .wp-block-columns:nth-of-type(even) { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 760px) { .hhm-report-content .wp-block-columns, .hhm-report-content .wp-block-columns:nth-of-type(even) { grid-template-columns: 1fr; } }
.hhm-report-content .wp-block-column { min-width: 0; }
.hhm-report-content .wp-block-column > :first-child { margin-top: 0; }
.hhm-report-content figure { margin: 0; }
.hhm-report-content .wp-block-image img, .hhm-report-content .wp-block-gallery img { border-radius: var(--hhm-radius-sm); width: 100%; height: auto; }
.hhm-report-content .wp-block-column .wp-block-image { position: sticky; top: 24px; }
.hhm-report-content figcaption { font-family: var(--hhm-sans); font-size: 0.9rem; color: var(--hhm-muted); margin-top: 8px; }
.hhm-report-content .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2em auto; }
.hhm-report-content .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; }
.hhm-report-content blockquote { border-left: 3px solid var(--hhm-green-logo); padding-left: 1em; margin-left: 0; font-style: italic; }
.hhm-report-content .hhm-danke { background: var(--hhm-mist); padding: 24px 28px; border-radius: var(--hhm-radius); }

.hhm-reporthead { max-width: 900px; margin: 0 auto; text-align: left; width: 100%; }
.hhm-reporthead__date { font-weight: 650; color: var(--hhm-green-logo); margin-bottom: 10px !important; }
.hhm-reporthead__title { font-size: var(--hhm-fs-xxl) !important; line-height: 1.02 !important; }
.hhm-reporthead__sub { color: var(--hhm-muted); font-size: var(--hhm-fs-md); }
.hhm-reportcover { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1100px; width: 100%; }
.hhm-reportcover img { width: 100%; max-height: 72vh; object-fit: cover; border-radius: var(--hhm-radius); }

.hhm-reportnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 1100px; margin: 0 auto; }
.hhm-reportnav a { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--hhm-line); border-radius: var(--hhm-radius); text-decoration: none !important; color: var(--hhm-ink) !important; }
.hhm-reportnav a:hover { border-color: var(--hhm-green); }
.hhm-reportnav span { color: var(--hhm-muted); font-size: 0.9rem; }
.hhm-reportnav__next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .hhm-reportnav { grid-template-columns: 1fr; } .hhm-reportnav__next { grid-column: auto; text-align: left; } }

/* Berichtskarten */
.hhm-reports { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); width: 100%; }
.hhm-report__link { display: block; color: inherit !important; text-decoration: none !important; }
.hhm-report__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--hhm-radius); background: var(--hhm-mist-2); }
.hhm-report__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hhm-report__link:hover img { transform: scale(1.03); }
.hhm-report__body { padding-top: 14px; }
.hhm-report__date { font-weight: 600; color: var(--hhm-green-logo); font-size: 0.95rem; margin: 0 0 6px !important; }
.hhm-report__title { font-size: 1.3rem !important; margin: 0 0 8px !important; }
.hhm-report__link:hover .hhm-report__title { color: var(--hhm-green); }
.hhm-report__excerpt { color: var(--hhm-ink-2); margin: 0 !important; }
.hhm-report--feature { grid-column: 1 / -1; }
.hhm-report--feature .hhm-report__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hhm-report--feature .hhm-report__media { aspect-ratio: 16 / 10; }
.hhm-report--feature .hhm-report__title { font-size: var(--hhm-fs-lg) !important; }
@media (max-width: 760px) { .hhm-report--feature .hhm-report__link { grid-template-columns: 1fr; } }

.hhm-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.hhm-pagination .page-numbers { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--hhm-line); text-decoration: none; color: var(--hhm-ink); }
.hhm-pagination .current { background: var(--hhm-green); color: #fff; border-color: var(--hhm-green); }

.hhm-pdfs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.hhm-pdfs a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--hhm-line); border-radius: 8px; text-decoration: none !important; color: var(--hhm-ink) !important; font-weight: 550; }
.hhm-pdfs a:hover { border-color: var(--hhm-green); }
.hhm-pdfs .hhm-icon { color: var(--hhm-red); }

/* ---------- Ablauf (echte Reihenfolge) ---------- */

.hhm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; width: 100%; }
.hhm-steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; position: relative; padding-bottom: 32px; }
.hhm-steps > li::before { content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--hhm-green); color: var(--hhm-green); font-weight: 750; font-size: 1.1rem; position: relative; z-index: 1; }
.hhm-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--hhm-line); }
.hhm-steps h3 { margin: 8px 0 6px !important; }
.hhm-steps p { color: var(--hhm-ink-2); max-width: 62ch; }
.hhm-section--mist .hhm-steps > li::before { background: var(--hhm-mist); }

/* Kompakte Variante auf der Startseite: waagerecht */
.hhm-steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px; }
.hhm-steps--row > li { display: block; padding: 0; }
.hhm-steps--row > li::before { margin-bottom: 14px; }
.hhm-steps--row > li::after { display: none; }

/* ---------- Kosten (Schutzgebühr) ---------- */

.hhm-costs { width: 100%; max-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hhm-costs td { padding: 12px 0; border-bottom: 1px solid var(--hhm-line); }
.hhm-costs td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.hhm-costs tfoot td { font-weight: 700; border-bottom: 0; padding-top: 16px; }
.hhm-costs .is-fee td { color: var(--hhm-green); font-weight: 700; border-top: 2px solid var(--hhm-ink); }

/* ---------- Spenden ---------- */

.hhm-donate { display: grid; gap: 20px; width: 100%; }
.hhm-donate__bank { background: #fff; border: 1px solid var(--hhm-line); border-radius: var(--hhm-radius); padding: 22px 24px; }
.hhm-section--green .hhm-donate__bank { border: 0; color: var(--hhm-ink); }
.hhm-donate__label { font-weight: 700; margin: 0 0 12px !important; }
.hhm-donate dl { margin: 0; display: grid; gap: 10px; }
.hhm-donate dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.hhm-donate dt { color: var(--hhm-muted); font-size: 0.9rem; }
.hhm-donate dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hhm-donate__iban dd { font-size: 1.15rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.hhm-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hhm-line); background: var(--hhm-mist); font: 600 0.85rem var(--hhm-sans); color: var(--hhm-green); cursor: pointer; letter-spacing: 0; }
.hhm-copy.is-done { background: #e3f3e8; border-color: #bfe0ca; }
.hhm-donate__note { color: var(--hhm-ink-2); font-size: 0.975rem; }
.hhm-section--green .hhm-donate__note { color: #d6e6dc; }
@media (max-width: 420px) { .hhm-donate dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Wege zu helfen ---------- */

.hhm-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--hhm-line); border: 1px solid var(--hhm-line); border-radius: var(--hhm-radius); overflow: hidden; width: 100%; }
.hhm-way { background: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.hhm-way h3 { margin: 0 !important; }
.hhm-way p { color: var(--hhm-ink-2); margin: 0 !important; flex: 1; }
.hhm-way .hhm-textlink { margin-top: 8px; }

/* Zwei Spalten: Text + Bild */
.hhm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; }
.hhm-split--top { align-items: start; }
.hhm-split img { width: 100%; border-radius: var(--hhm-radius); aspect-ratio: 4 / 3; object-fit: cover; }
.hhm-split--portrait img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .hhm-split { grid-template-columns: 1fr; } }
.hhm-figcap { font-size: 0.9rem; color: var(--hhm-muted); margin-top: 8px !important; }

/* Siegel / Vertrauen */
.hhm-trust { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; width: 100%; max-width: 880px; }
.hhm-trust img { width: 120px; height: 120px; }
@media (max-width: 560px) { .hhm-trust { grid-template-columns: 1fr; } }

/* Team */
.hhm-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; width: 100%; }
.hhm-person { padding: 20px 22px; border-radius: var(--hhm-radius); background: #fff; border: 1px solid var(--hhm-line); }
.hhm-person h3 { font-size: 1.15rem !important; margin: 0 0 2px !important; }
.hhm-person__role { color: var(--hhm-green); font-weight: 600; margin: 0 0 10px !important; }
.hhm-person ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hhm-person li { font-size: 0.85rem; padding: 4px 10px; border-radius: 999px; background: var(--hhm-mist); }

/* Partner */
.hhm-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; width: 100%; }
.hhm-partner { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; padding: 22px; border: 1px solid var(--hhm-line); border-radius: var(--hhm-radius); text-decoration: none !important; color: var(--hhm-ink) !important; text-align: center; font-weight: 600; background: #fff; }
.hhm-partner:hover { border-color: var(--hhm-green); }
.hhm-partner img { max-height: 80px; width: auto; object-fit: contain; }

/* Video nach Klick */
.hhm-embed { aspect-ratio: 16 / 9; background: var(--hhm-ink); border-radius: var(--hhm-radius); display: grid; place-items: center; align-content: center; gap: 10px; color: #fff; margin: 1.5em 0; }
.hhm-embed iframe { width: 100%; height: 100%; border: 0; border-radius: var(--hhm-radius); }
.hhm-embed__btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--hhm-ink); border: 0; border-radius: 999px; padding: 12px 20px; font: 600 1rem var(--hhm-sans); cursor: pointer; }
.hhm-embed__play { width: 0; height: 0; border-left: 12px solid var(--hhm-red); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.hhm-embed__note { font-family: var(--hhm-sans); font-size: 0.85rem; opacity: .75; margin: 0 !important; }

/* Lightbox */
.hhm-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12,16,13,.94); display: grid; place-items: center; padding: 56px 16px; }
.hhm-lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 4px; }
.hhm-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.hhm-lightbox button:hover { background: rgba(255,255,255,.22); }
.hhm-lightbox__close { top: 12px; right: 12px; }
.hhm-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.hhm-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Facebook-Feed */
.hhm-social .cff-wrapper, .hhm-social #cff { font-family: var(--hhm-sans) !important; }

/* Rechtstexte */
.hhm-legal { max-width: 72ch; font-size: 1rem; }
.hhm-legal h2 { font-size: 1.35rem !important; margin-top: 1.8em !important; }
.hhm-legal h3 { font-size: 1.1rem !important; margin-top: 1.4em !important; }

/* Facebook-Feed (Custom Facebook Feed) ruhiger darstellen */
.hhm-social { width: 100%; }
.hhm-social #cff { width: 100% !important; }
.hhm-social #cff .cff-item { border: 1px solid var(--hhm-line) !important; border-radius: var(--hhm-radius); padding: 20px !important; margin-bottom: 16px !important; background: #fff; }
.hhm-social #cff .cff-author { margin-bottom: 10px !important; }
.hhm-social #cff .cff-author-text a, .hhm-social #cff .cff-author-text { color: var(--hhm-ink) !important; font-weight: 650; }
.hhm-social #cff .cff-text, .hhm-social #cff .cff-post-text { font-size: 1rem !important; line-height: 1.55 !important; color: var(--hhm-ink-2) !important; }
.hhm-social #cff .cff-media-wrap, .hhm-social #cff .cff-photo { border-radius: var(--hhm-radius-sm); overflow: hidden; }
.hhm-social #cff .cff-post-links a, .hhm-social #cff .cff-view-comments { color: var(--hhm-green) !important; font-weight: 600; }
.hhm-social #cff .cff-load-more { background: var(--hhm-mist) !important; border-radius: 999px !important; min-height: 46px; font-weight: 600; color: var(--hhm-green) !important; }
.hhm-section .hhm-social .cff-likebox, .hhm-social .cff-share-container { display: none !important; }

/* ==========================================================================
   Wärme: Körnung, weichere Formen, Fotos in Schichten, Zitat, Mosaik
   ========================================================================== */

:root {
	--hhm-radius: 14px;
	--hhm-radius-sm: 8px;
	--hhm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.2 0 0 0 0 0.12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--hhm-shadow: 0 1px 2px rgba(20, 71, 47, .06), 0 12px 32px -12px rgba(20, 71, 47, .22);
}

/* leichte Körnung auf Farbflächen, damit sie nicht wie Plastik wirken */
.brxe-section.hhm-section--mist, .brxe-section.hhm-section--green, .hhm-footer, .hhm-quote { position: relative; isolation: isolate; }
.brxe-section.hhm-section--mist::before, .brxe-section.hhm-section--green::before, .hhm-footer::before, .hhm-quote::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: var(--hhm-grain); opacity: .35; mix-blend-mode: multiply;
}
.brxe-section.hhm-section--green::before, .hhm-footer::before { opacity: .5; mix-blend-mode: soft-light; }
.brxe-section.hhm-section--mist { background: linear-gradient(180deg, #eef3ef 0%, #e9f0ea 100%); }

/* Einleitungen in der Serifenschrift: ruhiger, persönlicher */
.hhm-lead, .hhm-hero__lead { font-family: var(--hhm-serif); font-size: clamp(1.15rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--hhm-ink-2); }
.hhm-lead p, .hhm-hero__lead p { max-width: 38em; }

/* Einstieg: zwei Fotos in Schichten */
.hhm-hero__media { padding: 0 0 56px 0; }
.hhm-hero__media .hhm-hero__main img, .hhm-hero__media > .hhm-hero__main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: var(--hhm-shadow); }
.hhm-hero__media .hhm-hero__inset, .hhm-hero__media img.hhm-hero__inset { position: absolute; left: -48px; bottom: 0; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--hhm-shadow); }
.hhm-hero__media .hhm-hero__caption { position: absolute; right: 0; bottom: 14px; left: auto; max-width: 52%; text-align: right; color: var(--hhm-muted); text-shadow: none; font-family: var(--hhm-serif); font-style: italic; font-size: .95rem; margin: 0 !important; }
@media (max-width: 860px) {
	.hhm-hero__media { padding-bottom: 0; margin-bottom: 20px; }
	.hhm-hero__media .hhm-hero__inset, .hhm-hero__media img.hhm-hero__inset { left: 12px; bottom: -28px; width: 36%; border-width: 4px; }
	/* Unterschrift im normalen Fluss rechts neben dem kleinen Foto, nicht über dem großen */
	.hhm-hero__media .hhm-hero__caption { position: static; max-width: none; margin: 10px 0 0 calc(36% + 28px) !important; text-align: left; font-size: .85rem; line-height: 1.35; }
}
.hhm-hero__count::before { animation: hhm-pulse 2.4s ease-out infinite; }
@keyframes hhm-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,144,72,.35); } 70% { box-shadow: 0 0 0 9px rgba(0,144,72,0); } 100% { box-shadow: 0 0 0 0 rgba(0,144,72,0); } }

/* Fotos allgemein etwas weicher, mit grün getöntem Schatten */
.hhm-split img, .hhm-report--feature .hhm-report__media { border-radius: 18px; }
.hhm-split img { box-shadow: var(--hhm-shadow); }
.hhm-dog__media { border-radius: 16px; }
a.hhm-dog__link:hover .hhm-dog__media { box-shadow: var(--hhm-shadow); }
.hhm-dog__media { transition: box-shadow .25s ease, transform .25s ease; }
a.hhm-dog__link:hover .hhm-dog__media { transform: translateY(-3px); }
a.hhm-dog__link:active .hhm-dog__media { transform: translateY(-1px) scale(.99); }
.hhm-badge--new { background: var(--hhm-green); color: #fff; }

/* Buttons: spürbares Feedback */
.hhm-btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hhm-btn:hover { transform: translateY(-1px); }
.hhm-btn:active { transform: translateY(1px) scale(.98); }
.hhm-btn--primary:hover, .hhm-btn--donate:hover { box-shadow: 0 8px 20px -10px rgba(20,71,47,.6); }

/* Zitat-Band */
.brxe-section.hhm-quote { background: #fff; padding-top: var(--hhm-space); padding-bottom: clamp(48px, 7vw, 104px); }
.hhm-quote::before { opacity: 0 !important; }
.hhm-quote__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; width: 100%; }
.hhm-quote__grid img, .hhm-quote__img img, img.hhm-quote__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--hhm-shadow); }
.hhm-quote__text { font-family: var(--hhm-serif); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.25; font-weight: 400; letter-spacing: -.01em; color: var(--hhm-green-ink); margin: 0; padding: 0; border: 0; text-wrap: balance; position: relative; }
.hhm-quote__text::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--hhm-red); margin-bottom: 24px; }
.hhm-quote__source { color: var(--hhm-muted); margin-top: 18px !important; font-size: .95rem; }
@media (max-width: 860px) { .hhm-quote__grid { grid-template-columns: 1fr; } }

/* Mosaik vermittelter Hunde */
.hhm-dogs--mosaic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.hhm-dogs--mosaic .hhm-dog__media { aspect-ratio: 1; border-radius: 12px; }
.hhm-dogs--mosaic .hhm-dog:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.hhm-dogs--mosaic .hhm-dog__body { position: absolute; left: 8px; bottom: 8px; padding: 0; pointer-events: none; }
.hhm-dogs--mosaic .hhm-dog__name { font-size: .9rem !important; font-weight: 650 !important; background: rgba(255,255,255,.92); color: var(--hhm-ink); padding: 3px 10px; border-radius: 999px; margin: 0 !important; }
.hhm-dogs--mosaic .hhm-dog__facts, .hhm-dogs--mosaic .hhm-dog__slogan, .hhm-dogs--mosaic .hhm-dog__badges { display: none; }
@media (max-width: 860px) { .hhm-dogs--mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .hhm-dogs--mosaic .hhm-dog:nth-child(n+10) { display: none; } }

/* Steckbrief: ein Hauch Papier */
.hhm-pass { box-shadow: var(--hhm-shadow); background-image: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.08), transparent 60%); }

/* Kopfbereich der Abschnitte: Einleitung als Serif */
.hhm-head .hhm-lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem); }

/* Fuß: etwas mehr Luft und freundlicher Abschluss */
.hhm-footer__inner { padding-top: 72px; }

/* Hundekarte innerhalb eines Berichts */
.hhm-report-content .hhm-inline-dog { max-width: 280px; margin: 2em auto; }
.hhm-reports--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.hhm-doclink span strong { margin-bottom: 2px; }
.hhm-doclink .hhm-icon { width: 28px !important; height: 28px !important; }
.hhm-more { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px !important; }

/* ==========================================================================
   Zeitstrahl / Schritte – überarbeitet
   ========================================================================== */
.hhm-steps > li::before { background: var(--hhm-green); border-color: var(--hhm-green); color: #fff; box-shadow: 0 0 0 6px var(--hhm-mist); }
.hhm-steps > li:not(:last-child)::after { background: linear-gradient(var(--hhm-green), rgba(20,71,47,.25)); width: 2px; }
.hhm-section--mist .hhm-steps > li::before { background: var(--hhm-green); }
.hhm-steps__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e3f1e8; color: var(--hhm-green); margin: 4px 0 2px; }
.hhm-steps__icon .hhm-icon { width: 22px; height: 22px; }

/* Vertikal (Vermittlung): jeder Schritt als Karte */
.hhm-steps:not(.hhm-steps--row) > li { padding-bottom: 18px; }
.hhm-steps:not(.hhm-steps--row) > li > :not(:first-child) { grid-column: 2; }
.hhm-steps:not(.hhm-steps--row) > li { grid-template-columns: 56px minmax(0, 1fr); }
.hhm-steps:not(.hhm-steps--row) > li > * { background: transparent; }
.hhm-steps:not(.hhm-steps--row) > li > .brxe-text-basic.hhm-steps__icon { display: none; }
.hhm-steps:not(.hhm-steps--row) > li { position: relative; }
.hhm-steps:not(.hhm-steps--row) > li > h3, .hhm-steps:not(.hhm-steps--row) > li > .brxe-text { background: #fff; padding-left: 24px; padding-right: 24px; }
.hhm-steps:not(.hhm-steps--row) > li > h3 { margin: 0 !important; padding-top: 20px; border-radius: 14px 14px 0 0; display: flex; align-items: center; gap: 10px; }
.hhm-steps:not(.hhm-steps--row) > li > .brxe-text { padding-bottom: 20px; border-radius: 0 0 14px 14px; box-shadow: 0 10px 24px -18px rgba(20,71,47,.45); }
.hhm-steps:not(.hhm-steps--row) > li > .brxe-text p { margin-top: 8px; }
.hhm-steps:not(.hhm-steps--row) > li:last-child > h3, .hhm-steps:not(.hhm-steps--row) > li:last-child > .brxe-text { background: #e3f1e8; }
.hhm-split--steps { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 860px) { .hhm-split--steps { grid-template-columns: 1fr; } }

/* Waagerecht (Startseite): Karten mit durchgehender Linie */
.hhm-steps--row { gap: 16px; position: relative; }
.hhm-steps--row > li { background: #fff; border-radius: 16px; padding: 22px 20px 24px !important; position: relative; box-shadow: 0 10px 28px -20px rgba(20,71,47,.45); display: flex !important; flex-direction: column; gap: 8px; }
.hhm-steps--row > li::before { position: absolute; top: -18px; left: 20px; width: 36px; height: 36px; font-size: .95rem; margin: 0; box-shadow: 0 0 0 5px var(--hhm-mist); }
.hhm-steps--row > li:not(:last-child)::after { display: block; content: ""; position: absolute; left: calc(20px + 36px); right: -16px; top: 0; bottom: auto; width: auto; height: 2px; transform: translateY(-1px); background: repeating-linear-gradient(90deg, rgba(20,71,47,.45) 0 6px, transparent 6px 12px); z-index: 0; }
.hhm-steps--row > li { margin-top: 18px; }
.hhm-steps--row > li .hhm-steps__icon { margin-top: 12px; }
.hhm-steps--row h3 { margin: 4px 0 0 !important; }
.hhm-steps--row p { font-size: .975rem; }
.hhm-steps--row > li:last-child { background: var(--hhm-green); color: #e9f2ec; }
.hhm-steps--row > li:last-child h3 { color: #fff; }
.hhm-steps--row > li:last-child p { color: #d6e6dc; }
.hhm-steps--row > li:last-child::before { background: var(--hhm-red); border-color: var(--hhm-red); }
.hhm-steps--row > li:last-child .hhm-steps__icon { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 1100px) { .hhm-steps--row > li:not(:last-child)::after { display: none; } }

/* Abschnitt mit feiner Linie statt Fläche */
.brxe-section.hhm-section--line { border-top: 1px solid var(--hhm-line); border-bottom: 1px solid var(--hhm-line); }

/* weniger Leerraum auf großen Bildschirmen */
.hhm-hero { padding-top: clamp(32px, 4vw, 64px) !important; padding-bottom: clamp(40px, 4vw, 72px) !important; }
.hhm-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.brxe-section.hhm-section--tight { padding-top: calc(var(--hhm-space) * .6); padding-bottom: calc(var(--hhm-space) * .6); }
.brxe-section.hhm-quote { padding-top: var(--hhm-space); padding-bottom: var(--hhm-space); }
.hhm-section--mist .hhm-contact, .hhm-section--mist .hhm-infobox { background: #fff; }

/* Facebook-Beiträge als Karten: Foto links, Text rechts */
.hhm-social #cff .cff-item { display: grid !important; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); column-gap: 28px; row-gap: 8px; align-items: start; padding: 18px !important; }
.hhm-social #cff .cff-item > * { grid-column: 2; float: none !important; width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.hhm-social #cff .cff-item > .cff-media-wrap { grid-column: 1; grid-row: 1 / span 4; margin: 0 !important; }
.hhm-social #cff .cff-media-wrap .cff-photo, .hhm-social #cff .cff-media-wrap .cff-html5-video { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.hhm-social #cff .cff-media-wrap img { width: 100% !important; height: auto; border-radius: 10px; }
.hhm-social #cff .cff-text-wrapper { padding: 4px 0 0 !important; }
.hhm-social #cff .cff-author-img img { border-radius: 50%; }
.hhm-social #cff .cff-post-links, .hhm-social #cff .cff-meta-wrap { justify-self: start; }
@media (max-width: 700px) {
	.hhm-social #cff .cff-item { grid-template-columns: 1fr; }
	.hhm-social #cff .cff-item > *, .hhm-social #cff .cff-item > .cff-media-wrap { grid-column: 1; grid-row: auto; }
}

/* Trefferzahl nur zeigen, wenn wirklich gefiltert wird */
.hhm-filter:not(.is-filtered) .hhm-filter__count { visibility: hidden; }
@media (max-width: 600px) {
	.hhm-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
	.hhm-filter__count { grid-column: 1 / -1; margin: 0 !important; }
	.hhm-filter:not(.is-filtered) .hhm-filter__count { display: none; }
}

/* ==========================================================================
   Schritte v3: Symbol in organischer Form, Nummer als Plakette, ruhige Bewegung
   ========================================================================== */
@keyframes hhm-morph {
	0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
	33%  { border-radius: 61% 39% 45% 55% / 53% 61% 39% 47%; }
	66%  { border-radius: 38% 62% 56% 44% / 62% 38% 62% 38%; }
	100% { border-radius: 52% 48% 38% 62% / 45% 57% 43% 55%; }
}
@keyframes hhm-drift {
	0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
	50%  { transform: translate(-2%, 3%) rotate(8deg) scale(1.04); }
	100% { transform: translate(2%, -2%) rotate(-6deg) scale(.98); }
}

.hhm-steps--row { gap: 18px; counter-reset: step; }
.hhm-steps--row > li {
	margin-top: 0 !important; padding: 24px 22px 26px !important; gap: 10px;
	border-radius: 20px; overflow: visible;
}
/* alte Kreisnummer → kleine Plakette am Rand der Form */
.hhm-steps--row > li::before {
	top: 62px; left: 62px; width: 26px; height: 26px; font-size: .8rem; font-weight: 750;
	background: #fff; color: var(--hhm-green); border: 2px solid var(--hhm-green);
	box-shadow: 0 0 0 3px #fff; z-index: 2;
}
.hhm-steps--row > li:last-child::before { background: var(--hhm-red); border-color: #fff; color: #fff; box-shadow: none; }
.hhm-steps--row .hhm-steps__icon {
	width: 58px; height: 58px; margin: 0 0 6px !important; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
	background: linear-gradient(140deg, #e3f1e8, #cfe6d7); color: var(--hhm-green);
	animation: hhm-morph 11s ease-in-out infinite alternate;
	transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.hhm-steps--row > li:nth-child(2) .hhm-steps__icon { animation-delay: -3s; }
.hhm-steps--row > li:nth-child(3) .hhm-steps__icon { animation-delay: -6s; }
.hhm-steps--row > li:nth-child(4) .hhm-steps__icon { animation-delay: -8s; }
.hhm-steps--row > li:hover .hhm-steps__icon { transform: scale(1.07) rotate(-4deg); }
.hhm-steps--row .hhm-steps__icon .hhm-icon { width: 26px; height: 26px; }
.hhm-steps--row > li:last-child .hhm-steps__icon { background: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); }

/* Verbindung zwischen den Karten (nur im Zwischenraum) */
.hhm-steps--row > li:not(:last-child)::after {
	display: block; content: ""; position: absolute; z-index: 0;
	left: 100%; top: 52px; width: 18px; height: 2px; right: auto; bottom: auto; transform: none;
	background: repeating-linear-gradient(90deg, var(--hhm-green) 0 4px, transparent 4px 8px); opacity: .5;
}
@media (max-width: 1100px) and (min-width: 861px) { .hhm-steps--row > li:not(:last-child)::after { display: none; } }

/* Handy: Symbol links, Text rechts, Verbindung senkrecht */
@media (max-width: 860px) {
	.hhm-steps--row { grid-template-columns: 1fr; gap: 14px; }
	.hhm-steps--row > li { display: grid !important; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding: 20px 20px 22px !important; align-items: start; }
	.hhm-steps--row > li > .hhm-steps__icon { grid-row: 1 / span 2; margin: 0 !important; }
	.hhm-steps--row > li > h3 { grid-column: 2; margin: 6px 0 0 !important; }
	.hhm-steps--row > li > .brxe-text { grid-column: 2; }
	.hhm-steps--row > li::before { top: 58px; left: 58px; }
	.hhm-steps--row > li:not(:last-child)::after { display: block; left: 48px; top: 100%; width: 2px; height: 14px; background: repeating-linear-gradient(180deg, var(--hhm-green) 0 4px, transparent 4px 8px); }
}

/* einmaliges Erscheinen beim Scrollen */
.hhm-js .hhm-steps--row:not(.is-in) > li { opacity: 0; transform: translateY(18px); }
.hhm-steps--row > li { transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.hhm-steps--row.is-in > li:nth-child(2) { transition-delay: .08s; }
.hhm-steps--row.is-in > li:nth-child(3) { transition-delay: .16s; }
.hhm-steps--row.is-in > li:nth-child(4) { transition-delay: .24s; }
.hhm-steps--row.is-in > li:nth-child(5) { transition-delay: .32s; }

/* atmende Form hinter den Fotos im Einstieg und beim Zitat */
.hhm-hero__media, .hhm-quote__grid { isolation: isolate; }
.hhm-hero__media::before, .hhm-quote__grid::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 60% at 40% 40%, rgba(0,144,72,.20), rgba(0,144,72,.07) 60%, transparent 72%);
	border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
	animation: hhm-morph 16s ease-in-out infinite alternate, hhm-drift 22s ease-in-out infinite alternate;
}
.hhm-hero__media::before { width: 78%; aspect-ratio: 1; right: -9%; top: -8%; }
.hhm-quote__grid { position: relative; }
.hhm-quote__grid::before { width: 46%; aspect-ratio: 1; left: -6%; top: -14%; background: radial-gradient(60% 60% at 50% 50%, rgba(210,34,38,.10), rgba(210,34,38,.04) 60%, transparent 72%); animation-delay: -5s, -9s; }
@media (max-width: 860px) {
	.hhm-hero__media::before { width: 90%; right: -18%; top: -6%; }
	.hhm-quote__grid::before { width: 80%; left: -20%; top: -8%; }
}

@media (prefers-reduced-motion: reduce) {
	.hhm-steps--row .hhm-steps__icon, .hhm-hero__media::before, .hhm-quote__grid::before { animation: none; }
	.hhm-js .hhm-steps--row:not(.is-in) > li { opacity: 1; transform: none; }
}
.brxe-section.hhm-section { overflow-x: clip; }
.hhm-section .hhm-steps.hhm-steps--row > li::before { background: #fff; color: var(--hhm-green); border: 2px solid var(--hhm-green); box-shadow: 0 0 0 3px #fff; display: grid; place-items: center; line-height: 1; }
.hhm-section .hhm-steps.hhm-steps--row > li:last-child::before { background: var(--hhm-red); color: #fff; border-color: #fff; box-shadow: 0 0 0 2px var(--hhm-green); }
