/* Hundefriseur-Verzeichnis (/hundefriseur, /hundefriseur/<stadt>, /hundefriseur/<stadt>/<salon>).
   Baut auf article.css + hundekosten-ratgeber.css (.kosten, k-*) auf. Neutral gestaltet: keine Deals. */

.hf-page .container > section { max-width: 780px; margin: 32px auto 0; }

/* Städte-Raster */
.hf-stadt-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
}
.hf-stadt-grid a {
  display: block; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s;
}
.hf-stadt-grid a:hover { transform: translateY(-2px); border-color: rgba(122, 185, 74, 0.6); }
.hf-stadt-grid strong { display: block; font-size: 1.05rem; }
.hf-stadt-grid small { color: var(--text-muted); }

/* Stadtseite: Filter-Chips (reines CSS, Radio + :has) */
.hf-filter { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; }
.hf-filter legend { width: 100%; margin-bottom: 8px; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.hf-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hf-filter label {
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--white, #fff);
  color: var(--navy); font-weight: 600; font-size: 0.92rem; cursor: pointer; user-select: none;
}
.hf-filter input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white, #fff); }
.hf-filter input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.hf-liste:has(#hf-salon:checked) .hf-card:not([data-art="salon"]),
.hf-liste:has(#hf-mobil:checked) .hf-card:not([data-art="mobil"]),
.hf-liste:has(#hf-katzen:checked) .hf-card:not([data-katzen]),
.hf-liste:has(#hf-buchung:checked) .hf-card:not([data-buchung]) { display: none; }
.hf-leer { display: none; color: var(--text-muted); font-style: italic; }
.hf-liste:has(#hf-salon:checked):not(:has(.hf-card[data-art="salon"])) .hf-leer,
.hf-liste:has(#hf-mobil:checked):not(:has(.hf-card[data-art="mobil"])) .hf-leer,
.hf-liste:has(#hf-katzen:checked):not(:has(.hf-card[data-katzen])) .hf-leer,
.hf-liste:has(#hf-buchung:checked):not(:has(.hf-card[data-buchung])) .hf-leer { display: block; }
/* Gruppen-Überschrift ausblenden, wenn der Filter in dieser Gruppe nichts findet */
.hf-liste:has(#hf-salon:checked) .hf-gruppe:not(:has(+ .hf-cards .hf-card[data-art="salon"])),
.hf-liste:has(#hf-mobil:checked) .hf-gruppe:not(:has(+ .hf-cards .hf-card[data-art="mobil"])),
.hf-liste:has(#hf-katzen:checked) .hf-gruppe:not(:has(+ .hf-cards .hf-card[data-katzen])),
.hf-liste:has(#hf-buchung:checked) .hf-gruppe:not(:has(+ .hf-cards .hf-card[data-buchung])) { display: none; }

/* Salon-Karten */
.hf-cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.hf-card {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  background: var(--white, #fff); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.hf-card-icon {
  width: 72px; height: 72px; border-radius: 12px; background: var(--cream-light, #f8f4e8);
  display: grid; place-items: center; font-size: 2rem; overflow: hidden;
}
.hf-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.hf-card h2, .hf-card h3 { font-size: 1.12rem; margin: 0 8px 4px 0; display: inline; }
.hf-card h2::before, .hf-card h3::before { display: none; }
.hf-card h2 a, .hf-card h3 a { color: var(--navy); text-decoration: none; }
.hf-card h2 a:hover, .hf-card h3 a:hover { color: var(--green-dark, #5e9436); text-decoration: underline; }
.hf-card-meta { margin: 6px 0 2px; color: var(--text); font-size: 0.95rem; }
.hf-tags { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.hf-card-claim { margin: 6px 0 0; font-size: 0.88rem; }
.hf-card-claim a { color: var(--green-dark, #5e9436); }
.hf-card-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.hf-btn {
  display: inline-block; text-align: center; white-space: nowrap; font-weight: 700; font-size: 0.92rem;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--navy);
  color: var(--navy) !important; text-decoration: none !important; background: var(--white, #fff);
}
.hf-btn:hover { background: var(--navy); color: #fff !important; }
.hf-btn-primary { background: var(--green, #7ab94a); border-color: var(--green, #7ab94a); color: var(--navy-dark, #0f1b36) !important; }
.hf-btn-primary:hover { background: var(--green-dark, #5e9436); border-color: var(--green-dark, #5e9436); }
.hf-gruppe { margin: 24px 0 10px; font-weight: 700; color: var(--navy); }
.hf-gruppe small { display: block; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.hf-liste:has(#hf-alle:not(:checked)) .hf-gruppe small { display: none; }

@media (max-width: 600px) {
  .hf-card { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .hf-card-icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .hf-card-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .hf-card-actions .hf-btn { flex: 1 1 auto; }
}

/* Status-Kennzeichnung */
.hf-badge {
  display: inline-block; vertical-align: middle; font-size: 0.8rem; font-weight: 700; border-radius: 999px; padding: 3px 10px;
  border: 1px solid; line-height: 1.5;
}
.hf-badge-ok { color: var(--green-dark, #5e9436); background: rgba(122, 185, 74, 0.12); border-color: rgba(122, 185, 74, 0.5); }
.hf-badge-open { color: var(--text-muted); background: var(--cream-light, #f8f4e8); border-color: var(--border); }

/* Profil */
.hf-profil { margin-top: 28px; }
.hf-foto { display: block; width: 100%; height: auto; border-radius: 14px; }
.hf-kurz { font-size: 1.08rem; }
.hf-facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px;
  background: var(--white, #fff); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px;
}
.hf-facts dt { font-weight: 700; color: var(--navy); }
.hf-facts dd { margin: 0; overflow-wrap: anywhere; }
.hf-hinweis, .hf-stand { font-size: 0.9rem; color: var(--text-muted); }
.hf-aendern {
  background: var(--cream-light, #f8f4e8); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px;
}
.hf-aendern p { margin-top: 0; }
.hf-mail {
  display: inline-block; font-weight: 700; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--navy); color: var(--navy) !important; text-decoration: none !important;
}
.hf-mail:hover { background: var(--navy); color: #fff !important; }

@media (max-width: 520px) {
  .hf-facts { grid-template-columns: 1fr; gap: 2px; }
  .hf-facts dd { margin-bottom: 10px; }
}

/* Stadtseite: Satz mit Anzahl Salons auch am Handy zeigen (hundekosten-ratgeber.css blendet .article-lead aus) */
@media (max-width: 640px) {
  .hf-page .article-lead { display: block; font-size: 0.98rem; margin-top: 8px; }
}

/* Öffnungszeiten im Profil: Zeilenumbrüche des Inhabers behalten */
.hf-pre { white-space: pre-line; }

/* Selbst-Eintragsformular /hundefriseur/eintragen – mobil zuerst */
.hf-form { max-width: 640px; margin: 24px auto 48px; display: grid; gap: 18px; }
.hf-form fieldset {
  border: 1px solid var(--border); border-radius: 14px; background: var(--white, #fff);
  padding: 16px; margin: 0; display: grid; gap: 6px; min-width: 0;
}
.hf-form legend { font-weight: 800; color: var(--navy); padding: 0 6px; font-size: 1.05rem; }
.hf-form label, .hf-form-label { font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-top: 8px; }
.hf-form input[type="text"], .hf-form input[type="tel"], .hf-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; /* 16px: kein Zoom auf iOS */
  padding: 11px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text);
}
.hf-form input:focus, .hf-form textarea:focus { outline: none; border-color: var(--green, #7ab94a); box-shadow: 0 0 0 3px rgba(122, 185, 74, 0.25); }
.hf-form small { color: var(--text-muted); font-size: 0.85rem; }
.hf-form .req { color: #b4432f; }
.hf-form-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.hf-form-row > div { display: grid; gap: 6px; }
.hf-choice { display: grid; gap: 8px; margin-top: 4px; }
.hf-choice label, .hf-checks label {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--cream-light, #f8f4e8); cursor: pointer;
}
.hf-choice input, .hf-checks input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.hf-choice label:has(input:checked) { border-color: var(--navy); background: #fff; }
.hf-choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-choice-grid label { padding: 8px 12px; border-radius: 999px; align-items: center; font-size: 0.93rem; }
.hf-choice-grid input { width: 18px; height: 18px; margin: 0; }
.hf-checks { display: grid; gap: 10px; }
.hf-checks a, .hf-form-note a { color: var(--green-dark, #5e9436); text-decoration: underline; font-weight: 600; }
.hf-checks label { background: transparent; border: 0; padding: 0; font-size: 0.92rem; line-height: 1.45; }
.hf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hf-form-status { display: none; margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8a2a1c; font-weight: 600; }
.hf-form-status.is-visible { display: block; }
.hf-form-submit { width: 100%; padding: 14px 18px; font-size: 1.05rem; cursor: pointer; }
.hf-form-submit[disabled] { opacity: 0.6; cursor: wait; }
.hf-form-note { margin: 0; font-size: 0.88rem; color: var(--text-muted); text-align: center; }
@media (min-width: 600px) {
  .hf-form fieldset { padding: 20px 22px; }
  .hf-form-row { grid-template-columns: 120px minmax(0, 1fr); }
}

/* ===== Branchenverzeichnis (26.11.2026): invertierte H1, Regionen, Nachbarorte, FAQ ===== */
.article-hero h1.hf-seo-h {
  font-family: var(--body, inherit); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-dark, #5e9436); margin: 0.9em 0 0.4em; max-width: none; line-height: 1.4;
}
.hf-display {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--navy); margin: 0 0 0.35em; max-width: 22ch; text-wrap: balance;
}
.hf-display em { font-style: normal; color: var(--green-dark, #5e9436); display: block; }
.hf-page .prose h2, .hf-page section > h2 { text-wrap: balance; }
.hf-sektion { max-width: 780px; margin: 36px auto 0; }
.hf-sektion > h2 { font-family: var(--display); color: var(--navy); font-size: 1.4rem; margin: 0 0 12px; }
.hf-sektion > p { max-width: 66ch; }
.hf-stadt-grid small { font-variant-numeric: tabular-nums; }
.hf-az { columns: 3 180px; column-gap: 24px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.hf-az li { break-inside: avoid; padding: 2px 0; }
.hf-az a { color: var(--text); text-decoration: none; }
.hf-az a:hover { color: var(--green-dark, #5e9436); text-decoration: underline; }
.hf-az small { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hf-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.hf-bars li { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) 48px; gap: 10px; align-items: center; }
.hf-bars a { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-bars a:hover { text-decoration: underline; }
.hf-bars i { display: block; height: 10px; border-radius: 5px; background: var(--green, #7ab94a); min-width: 4px; }
.hf-bars small { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hf-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hf-bars-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 28px; }
.hf-guide a {
  display: block; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; text-decoration: none; color: var(--navy); font-weight: 700; box-shadow: var(--shadow-sm);
}
.hf-guide a:hover { border-color: rgba(122, 185, 74, 0.6); }
.hf-guide small { display: block; color: var(--text-muted); font-weight: 400; margin-top: 4px; }
.hf-guide .hf-k { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-dark, #5e9436); margin-bottom: 6px; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hf-chips a {
  display: inline-block; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-weight: 600; font-size: 0.92rem; color: var(--navy); text-decoration: none;
}
.hf-chips a:hover { border-color: var(--green, #7ab94a); }
.hf-faq details { background: var(--white, #fff); border: 1px solid var(--border); border-radius: 12px; margin-top: 8px; }
.hf-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); }
.hf-faq details p { margin: 0; padding: 0 16px 14px; }
.hf-cta { background: var(--navy, #1a2d52); color: #e8ecf5; border-radius: 18px; padding: 22px 24px; max-width: 780px; margin: 36px auto 0; }
.hf-cta h2 { font-family: var(--display); color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.hf-cta h2::before { display: none; }
.hf-cta p { margin: 0 0 12px; max-width: 60ch; }
.hf-cta a.hf-btn-primary { display: inline-block; }
.hf-mehr { max-width: 780px; margin: 28px auto 0; font-size: 0.92rem; color: var(--text-muted); }
.hf-mehr summary { cursor: pointer; font-weight: 600; }
.hf-card-adr { margin: 2px 0 0; font-size: 0.93rem; color: var(--text); }
@media (max-width: 640px) {
  .hf-guide, .hf-bars-2 { grid-template-columns: 1fr; }
  .hf-bars li { grid-template-columns: 110px minmax(0, 1fr) 40px; }
}
.hf-quelle { max-width: 780px; margin: 22px auto 0; font-size: 0.82rem; color: var(--text-muted); }
