/*
Theme Name: Waisenhunde Astra Child
Template: astra
Version: 1.0
*/

/* =========================================================
   1. Design System / Vereinsfarben
   ========================================================= */
:root {
  --wh-purple: var(--ast-global-color-0);
  --wh-green: var(--ast-global-color-1);
  --wh-text: var(--ast-global-color-2);
  --wh-cream: var(--ast-global-color-4);
  --wh-sand: var(--ast-global-color-5);
  --wh-apricot: var(--ast-global-color-6);
  --wh-white: var(--ast-global-color-5);

  --wh-radius-sm: 14px;
  --wh-radius-md: 20px;
  --wh-radius-lg: 28px;

  --wh-shadow-soft: 0 10px 28px rgba(58, 46, 53, 0.08);
  --wh-shadow-hover: 0 18px 38px rgba(58, 46, 53, 0.14);
  
  --wh-ui-border: #6b6b6b;
  --wh-slider-dot: #6b6b6b;
}

body {
  background: var(--ast-global-color-4);
  color: var(--wh-text);
}
/* Single Hund: Hintergrund wie Archiv */
body.single-hund {
  background: transparent !important;
}

.single-hund .site,
.single-hund .site-content,
.single-hund .content-area,
.single-hund .site-main,
.single-hund #primary,
.single-hund .ast-container,
.single-hund .ast-article-single,
.single-hund .entry-content {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
/* =========================================================
   2. Astra / globale Container
   ========================================================= */
.ast-container {
  max-width: 1280px;
}

.site-main {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.page-id-358 .site-main,
.page-id-464 .site-main,
.page-id-568 .site-main,
.page-id-572 .site-main,
.page-id-573 .site-main,
.page-id-574 .site-main,
.page-id-998 .site-main {
  padding-top: 3rem;
}

/* =========================================================
   2a. Mobile: keine globalen Hintergrund-Hardcodes
   Hintergründe kommen zentral aus dem Astra-Customizer
   ========================================================= */
@media (max-width: 782px) {
  .post-type-archive-hund .site,
  .tax-hund_status .site,
  .page-id-358 .site,
  .page-id-464 .site,
  .page-id-568 .site,
  .page-id-572 .site,
  .page-id-573 .site,
  .page-id-574 .site,
  .page-id-998 .site,

  .post-type-archive-hund .site-content,
  .tax-hund_status .site-content,
  .page-id-358 .site-content,
  .page-id-464 .site-content,
  .page-id-568 .site-content,
  .page-id-572 .site-content,
  .page-id-573 .site-content,
  .page-id-574 .site-content,
  .page-id-998 .site-content,

  .post-type-archive-hund .content-area,
  .tax-hund_status .content-area,
  .page-id-358 .content-area,
  .page-id-464 .content-area,
  .page-id-568 .content-area,
  .page-id-572 .content-area,
  .page-id-573 .content-area,
  .page-id-574 .content-area,
  .page-id-998 .content-area,

  .post-type-archive-hund .site-main,
  .tax-hund_status .site-main,
  .page-id-358 .site-main,
  .page-id-464 .site-main,
  .page-id-568 .site-main,
  .page-id-572 .site-main,
  .page-id-573 .site-main,
  .page-id-574 .site-main,
  .page-id-998 .site-main,

  .post-type-archive-hund #primary,
  .tax-hund_status #primary,
  .page-id-358 #primary,
  .page-id-464 #primary,
  .page-id-568 #primary,
  .page-id-572 #primary,
  .page-id-573 #primary,
  .page-id-574 #primary,
  .page-id-998 #primary,

  .post-type-archive-hund .ast-container,
  .tax-hund_status .ast-container,
  .page-id-358 .ast-container,
  .page-id-464 .ast-container,
  .page-id-568 .ast-container,
  .page-id-572 .ast-container,
  .page-id-573 .ast-container,
  .page-id-574 .ast-container,
  .page-id-998 .ast-container,

  .post-type-archive-hund .ast-article-single,
  .tax-hund_status .ast-article-single,
  .page-id-358 .ast-article-single,
  .page-id-464 .ast-article-single,
  .page-id-568 .ast-article-single,
  .page-id-572 .ast-article-single,
  .page-id-573 .ast-article-single,
  .page-id-574 .ast-article-single,
  .page-id-998 .ast-article-single,

  .post-type-archive-hund .entry-content,
  .tax-hund_status .entry-content,
  .page-id-358 .entry-content,
  .page-id-464 .entry-content,
  .page-id-568 .entry-content,
  .page-id-572 .entry-content,
  .page-id-573 .entry-content,
  .page-id-574 .entry-content,
  .page-id-998 .entry-content {
    background: transparent !important;
  }

  .post-type-archive-hund .site-main > .ast-container,
  .tax-hund_status .site-main > .ast-container,
  .page-id-358 .site-main > .ast-container,
  .page-id-464 .site-main > .ast-container,
  .page-id-568 .site-main > .ast-container,
  .page-id-572 .site-main > .ast-container,
  .page-id-573 .site-main > .ast-container,
  .page-id-574 .site-main > .ast-container,
  .page-id-998 .site-main > .ast-container {
    width: 100%;
    max-width: var(--wp--custom--ast-content-width-size);
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   2b. Mobile Bedienung / horizontales Seiten-Ausweichen verhindern

   Wichtig:
   Keine globalen Container-Breiten überschreiben.
   Astra-Container und Single-Hund-Layouts müssen zentriert bleiben.
   ========================================================= */

html {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@media (max-width: 782px) {
  .site,
  .site-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .wh-home-hunde-teaser__viewport,
  .wh-news-teaser__viewport,
  .wh-slider,
  .wh-vslider {
    overscroll-behavior-x: contain;
  }
}
/* =========================================================
   Scroll-to-top Button: Pfote mit Pfeil
   ========================================================= */

#ast-scroll-top {
  width: 54px !important;
  height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#ast-scroll-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wh-purple, #96357f);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 56c-8.7 0-17.4-4.8-17.4-13.3 0-8.2 7.2-15.8 17.4-15.8s17.4 7.6 17.4 15.8C49.4 51.2 40.7 56 32 56zM15.6 31.4c-4.2 0-7.6-4.2-7.6-9.4s3.4-9.4 7.6-9.4 7.6 4.2 7.6 9.4-3.4 9.4-7.6 9.4zM48.4 31.4c-4.2 0-7.6-4.2-7.6-9.4s3.4-9.4 7.6-9.4S56 16.8 56 22s-3.4 9.4-7.6 9.4zM28 21.5c-4.1 0-7.4-4.1-7.4-9.1S23.9 3.3 28 3.3s7.4 4.1 7.4 9.1-3.3 9.1-7.4 9.1zM40.7 23.1c-3.8 0-6.9-3.8-6.9-8.5s3.1-8.5 6.9-8.5 6.9 3.8 6.9 8.5-3.1 8.5-6.9 8.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 56c-8.7 0-17.4-4.8-17.4-13.3 0-8.2 7.2-15.8 17.4-15.8s17.4 7.6 17.4 15.8C49.4 51.2 40.7 56 32 56zM15.6 31.4c-4.2 0-7.6-4.2-7.6-9.4s3.4-9.4 7.6-9.4 7.6 4.2 7.6 9.4-3.4 9.4-7.6 9.4zM48.4 31.4c-4.2 0-7.6-4.2-7.6-9.4s3.4-9.4 7.6-9.4S56 16.8 56 22s-3.4 9.4-7.6 9.4zM28 21.5c-4.1 0-7.4-4.1-7.4-9.1S23.9 3.3 28 3.3s7.4 4.1 7.4 9.1-3.3 9.1-7.4 9.1zM40.7 23.1c-3.8 0-6.9-3.8-6.9-8.5s3.1-8.5 6.9-8.5 6.9 3.8 6.9 8.5-3.1 8.5-6.9 8.5z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 8px 18px rgba(58, 46, 53, 0.18));
  transform: scale(1.12);
  transform-origin: center;
}

#ast-scroll-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 71%;
  width: 8px;
  height: 8px;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 3;
}

#ast-scroll-top .ast-icon,
#ast-scroll-top .ast-scroll-top-icon,
#ast-scroll-top svg {
  display: none !important;
}

#ast-scroll-top:hover::before,
#ast-scroll-top:focus::before {
  background-color: var(--wh-purple-dark, #7d2d6d);
}


/* =========================================================
   3. Hunde Archiv / Karten
   ========================================================= */
.post-type-archive-hund .site-main > .ast-container,
.tax-hund_status .site-main > .ast-container,
.page-id-358 .site-main > .ast-container,
.page-id-464 .site-main > .ast-container,
.page-id-568 .site-main > .ast-container,
.page-id-572 .site-main > .ast-container,
.page-id-573 .site-main > .ast-container,
.page-id-574 .site-main > .ast-container,
.page-id-998 .site-main > .ast-container {
  display: block;
  width: 100%;
  max-width: var(--wp--custom--ast-content-width-size);
  margin-left: auto;
  margin-right: auto;
}

/* Hunde-Archive:
   Seitenhintergrund nicht hart erzwingen –
   kommt zentral aus dem Astra-Customizer */

.post-type-archive-hund .site,
.tax-hund_status .site,
.page-id-358 .site,
.page-id-464 .site,
.page-id-568 .site,
.page-id-572 .site,
.page-id-573 .site,
.page-id-574 .site,
.page-id-998 .site,

.post-type-archive-hund .site-content,
.tax-hund_status .site-content,
.page-id-358 .site-content,
.page-id-464 .site-content,
.page-id-568 .site-content,
.page-id-572 .site-content,
.page-id-573 .site-content,
.page-id-574 .site-content,
.page-id-998 .site-content,

.post-type-archive-hund .content-area,
.tax-hund_status .content-area,
.page-id-358 .content-area,
.page-id-464 .content-area,
.page-id-568 .content-area,
.page-id-572 .content-area,
.page-id-573 .content-area,
.page-id-574 .content-area,
.page-id-998 .content-area,

.post-type-archive-hund .site-main,
.tax-hund_status .site-main,
.page-id-358 .site-main,
.page-id-464 .site-main,
.page-id-568 .site-main,
.page-id-572 .site-main,
.page-id-573 .site-main,
.page-id-574 .site-main,
.page-id-998 .site-main,

.post-type-archive-hund #primary,
.tax-hund_status #primary,
.page-id-358 #primary,
.page-id-464 #primary,
.page-id-568 #primary,
.page-id-572 #primary,
.page-id-573 #primary,
.page-id-574 #primary,
.page-id-998 #primary,

.post-type-archive-hund .ast-container,
.tax-hund_status .ast-container,
.page-id-358 .ast-container,
.page-id-464 .ast-container,
.page-id-568 .ast-container,
.page-id-572 .ast-container,
.page-id-573 .ast-container,
.page-id-574 .ast-container,
.page-id-998 .ast-container,

.post-type-archive-hund .ast-article-single,
.tax-hund_status .ast-article-single,
.page-id-358 .ast-article-single,
.page-id-464 .ast-article-single,
.page-id-568 .ast-article-single,
.page-id-572 .ast-article-single,
.page-id-573 .ast-article-single,
.page-id-574 .ast-article-single,
.page-id-998 .ast-article-single,

.post-type-archive-hund .entry-content,
.tax-hund_status .entry-content,
.page-id-358 .entry-content,
.page-id-464 .entry-content,
.page-id-568 .entry-content,
.page-id-572 .entry-content,
.page-id-573 .entry-content,
.page-id-574 .entry-content,
.page-id-998 .entry-content {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.post-type-archive-hund .ast-article-single,
.tax-hund_status .ast-article-single,
.post-type-archive-hund .entry-content,
.tax-hund_status .entry-content,
.page-id-358 .ast-article-single,
.page-id-358 .entry-content,
.page-id-998 .ast-article-single,
.page-id-998 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

.wh-hunde-archive-shell {
  display: block;
  width: 100%;
  max-width: var(--wp--custom--ast-content-width-size);
  margin: 0 auto;
  background: transparent;
  padding: 0 0 2rem;
}

/* Hunde-Seiten / Archive: Astra-Standardtitel und Archiv-Banner ausblenden */
.post-type-archive-hund .entry-header,
.tax-hund_status .entry-header,
.post-type-archive-hund .ast-single-entry-banner,
.tax-hund_status .ast-single-entry-banner,
.post-type-archive-hund .ast-archive-description,
.tax-hund_status .ast-archive-description,
.post-type-archive-hund .ast-archive-entry-banner,
.tax-hund_status .ast-archive-entry-banner,
.page-id-358 .entry-header,
.page-id-464 .entry-header,
.page-id-568 .entry-header,
.page-id-572 .entry-header,
.page-id-573 .entry-header,
.page-id-574 .entry-header,
.page-id-998 .entry-header,
.page-id-358 .ast-single-entry-banner,
.page-id-464 .ast-single-entry-banner,
.page-id-568 .ast-single-entry-banner,
.page-id-572 .ast-single-entry-banner,
.page-id-573 .ast-single-entry-banner,
.page-id-574 .ast-single-entry-banner,
.page-id-998 .ast-single-entry-banner,
.page-id-358 .ast-archive-description,
.page-id-464 .ast-archive-description,
.page-id-568 .ast-archive-description,
.page-id-572 .ast-archive-description,
.page-id-573 .ast-archive-description,
.page-id-574 .ast-archive-description,
.page-id-998 .ast-archive-description,
.page-id-358 .ast-archive-entry-banner,
.page-id-464 .ast-archive-entry-banner,
.page-id-568 .ast-archive-entry-banner,
.page-id-572 .ast-archive-entry-banner,
.page-id-573 .ast-archive-entry-banner,
.page-id-574 .ast-archive-entry-banner,
.page-id-998 .ast-archive-entry-banner {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header-Look: echtes Archiv + statische Hunde-Seiten */
.post-type-archive-hund .page-header,
.tax-hund_status .page-header,
.page-id-358 .wh-hunde-archive-shell > .page-header {
  position: relative;
  max-width: var(--wp--custom--ast-content-width-size);
  margin: 2rem 0 1.6rem;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: none !important;
  border: 0 !important;
}

.page-id-464 .wh-hunde-archive-shell > .page-header,
.page-id-568 .wh-hunde-archive-shell > .page-header,
.page-id-358 .wh-hunde-archive-shell > .page-header,
.page-id-572 .wh-hunde-archive-shell > .page-header,
.page-id-573 .wh-hunde-archive-shell > .page-header,
.page-id-574 .wh-hunde-archive-shell > .page-header,
.page-id-998 .wh-hunde-archive-shell > .page-header {
  position: relative;
  max-width: var(--wp--custom--ast-content-width-size);
  margin: 3.25rem 0 1.6rem;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: none !important;
  border: 0 !important;
}

/* ALLE dekorativen Elemente entfernen */
.post-type-archive-hund .page-header::before,
.tax-hund_status .page-header::before,
.page-id-358 .wh-hunde-archive-shell > .page-header::before,
.page-id-464 .wh-hunde-archive-shell > .page-header::before,
.page-id-568 .wh-hunde-archive-shell > .page-header::before,
.page-id-572 .wh-hunde-archive-shell > .page-header::before,
.page-id-573 .wh-hunde-archive-shell > .page-header::before,
.page-id-574 .wh-hunde-archive-shell > .page-header::before,
.page-id-998 .wh-hunde-archive-shell > .page-header::before,
.post-type-archive-hund .page-header::after,
.tax-hund_status .page-header::after,
.page-id-358 .wh-hunde-archive-shell > .page-header::after,
.page-id-464 .wh-hunde-archive-shell > .page-header::after,
.page-id-568 .wh-hunde-archive-shell > .page-header::after,
.page-id-572 .wh-hunde-archive-shell > .page-header::after,
.page-id-573 .wh-hunde-archive-shell > .page-header::after,
.page-id-574 .wh-hunde-archive-shell > .page-header::after,
.page-id-998 .wh-hunde-archive-shell > .page-header::after {
  content: none !important;
  display: none !important;
}

.post-type-archive-hund .page-header .page-title,
.tax-hund_status .page-header .page-title,
.page-id-358 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-464 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-568 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-572 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-573 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-574 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-998 .wh-hunde-archive-shell > .page-header .page-title {
  position: relative;
  margin: 0 0 .55rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: .96;
  letter-spacing: -0.035em;
  color: var(--wh-text);
  max-width: 920px;
}

.post-type-archive-hund .page-header .page-title::after,
.tax-hund_status .page-header .page-title::after,
.page-id-358 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-464 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-568 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-572 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-573 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-574 .wh-hunde-archive-shell > .page-header .page-title::after,
.page-id-998 .wh-hunde-archive-shell > .page-header .page-title::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wh-green) 0%, rgba(143, 175, 154, 0.18) 100%);
}

.post-type-archive-hund .page-header p,
.tax-hund_status .page-header p,
.page-id-358 .wh-hunde-archive-shell > .page-header p,
.page-id-464 .wh-hunde-archive-shell > .page-header p,
.page-id-568 .wh-hunde-archive-shell > .page-header p,
.page-id-572 .wh-hunde-archive-shell > .page-header p,
.page-id-573 .wh-hunde-archive-shell > .page-header p,
.page-id-574 .wh-hunde-archive-shell > .page-header p,
.page-id-998 .wh-hunde-archive-shell > .page-header p {
  max-width: 650px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(58, 46, 53, 0.86);
}

/* Hunde-Archive: Headline überall identisch */
.post-type-archive-hund .page-header .page-title,
.tax-hund_status .page-header .page-title,
.page-id-358 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-464 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-568 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-572 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-573 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-574 .wh-hunde-archive-shell > .page-header .page-title,
.page-id-998 .wh-hunde-archive-shell > .page-header .page-title {
  font-family: inherit;
  font-weight: 400;
}

@media (max-width: 782px) {
  .post-type-archive-hund .page-header,
  .tax-hund_status .page-header,
  .page-id-358 .wh-hunde-archive-shell > .page-header,
  .page-id-464 .wh-hunde-archive-shell > .page-header,
  .page-id-568 .wh-hunde-archive-shell > .page-header,
  .page-id-572 .wh-hunde-archive-shell > .page-header,
  .page-id-573 .wh-hunde-archive-shell > .page-header,
  .page-id-574 .wh-hunde-archive-shell > .page-header,
  .page-id-998 .wh-hunde-archive-shell > .page-header {
    padding: 0;
  }

  .post-type-archive-hund .page-header .page-title,
  .tax-hund_status .page-header .page-title,
  .page-id-358 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-464 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-568 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-572 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-573 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-574 .wh-hunde-archive-shell > .page-header .page-title,
  .page-id-998 .wh-hunde-archive-shell > .page-header .page-title {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 100%;
  }

  .post-type-archive-hund .page-header p,
  .tax-hund_status .page-header p,
  .page-id-358 .wh-hunde-archive-shell > .page-header p,
  .page-id-464 .wh-hunde-archive-shell > .page-header p,
  .page-id-568 .wh-hunde-archive-shell > .page-header p,
  .page-id-572 .wh-hunde-archive-shell > .page-header p,
  .page-id-573 .wh-hunde-archive-shell > .page-header p,
  .page-id-574 .wh-hunde-archive-shell > .page-header p,
  .page-id-998 .wh-hunde-archive-shell > .page-header p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 100%;
  }
}

.wh-hunde-hero-content--archive {
  width: 100%;
  max-width: var(--wp--custom--ast-content-width-size);
  margin: 0 0 1.35rem;
}

.wh-hunde-hero-content--archive > *:first-child {
  margin-top: 0;
}

.wh-hunde-hero-content--archive > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 782px) {
  .wh-hunde-hero-content--archive {
    margin: 0 0 1.15rem;
  }

  .wh-hunde-hero-content--archive p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* =========================================================
   3a. Hunde Archiv / Filter
   ========================================================= */

.wh-filter-box {
  width: 100%;
  max-width: var(--wp--custom--ast-content-width-size);
  margin: 0 0 1.45rem;
  padding: 14px;
  border: 1px solid var(--wh-ui-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(58, 46, 53, 0.06);
}

.wh-filter-box__body {
  padding: 0;
  border: 0;
}

.wh-filter-form {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) repeat(4, minmax(130px, 0.85fr)) auto;
  gap: 10px;
  align-items: end;
}

.wh-filter-field {
  min-width: 0;
}

.wh-filter-label {
  display: block;
  margin: 0 0 5px;
  color: rgba(58, 46, 53, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wh-filter-field input[type="search"],
.wh-filter-field select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--wh-ui-border) !important;
  border-radius: 14px;
  background-color: #ffffff;
  color: var(--wh-text);
  font-size: 0.94rem;
  line-height: 1.2;
  box-shadow: none !important;
  outline: none !important;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.wh-filter-field input[type="search"]::placeholder {
  color: rgba(58, 46, 53, 0.44);
}

.wh-filter-field input[type="search"]:hover,
.wh-filter-field input[type="search"]:focus,
.wh-filter-field input[type="search"]:focus-visible,
.wh-filter-field select:hover,
.wh-filter-field select:focus,
.wh-filter-field select:focus-visible {
  border-color: var(--wh-ui-border) !important;
  box-shadow: none !important;
  outline: none !important;
}

.wh-filter-actions {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  min-width: max-content;
}

.wh-filter-submit,
.wh-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.wh-filter-submit {
  border: 1px solid var(--wh-purple);
  background: var(--wh-purple);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(150, 53, 127, 0.16);
}

.wh-filter-submit:hover,
.wh-filter-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(150, 53, 127, 0.22);
}

.wh-filter-reset {
  border: 1px solid var(--wh-ui-border);
  background: #ffffff;
  color: var(--wh-text);
}

.wh-filter-reset:hover,
.wh-filter-reset:focus {
  transform: translateY(-1px);
  background: rgba(58, 46, 53, 0.04);
  color: var(--wh-text);
}

.wh-filter-group,
.wh-filter-chip,
.wh-filter-box__head,
.wh-filter-box__title,
.wh-filter-box__note {
  display: none;
}

@media (max-width: 1100px) {
  .wh-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wh-filter-field--search {
    grid-column: 1 / -1;
  }

  .wh-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  .wh-filter-box {
    max-width: 100%;
    margin-bottom: 1.15rem;
    padding: 12px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .wh-filter-form {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    max-width: 100%;
  }

  .wh-filter-field {
    min-width: 0;
  }

  .wh-filter-field--search {
    grid-column: 1 / -1;
  }

  .wh-filter-label {
    margin-bottom: 4px;
    font-size: 0.68rem;
  }

  .wh-filter-field input[type="search"],
  .wh-filter-field select {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .wh-filter-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    min-width: 0;
  }

  .wh-filter-submit,
  .wh-filter-reset {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }
}

@media (max-width: 520px) {
  .wh-filter-form {
    grid-template-columns: 1fr;
  }

  .wh-filter-actions {
    flex-direction: row;
  }
}

/* ---------- Pagination Archiv ---------- */
.wh-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 2.2rem 0 0;
}

.wh-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wh-pagination .page-numbers li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wh-pagination .page-numbers a,
.wh-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--wh-ui-border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(58, 46, 53, 0.06);
}

.wh-pagination .page-numbers a {
  background: rgba(255, 255, 255, 0.96);
  color: var(--wh-text);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.wh-pagination .page-numbers a:hover,
.wh-pagination .page-numbers a:focus,
.wh-pagination .page-numbers a:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--wh-text);
  border-color: var(--wh-ui-border);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(58, 46, 53, 0.10);
}

.wh-pagination .page-numbers .current {
  background: var(--wh-purple);
  color: #ffffff;
  border-color: var(--wh-ui-border);
  box-shadow: 0 12px 24px rgba(140, 58, 118, 0.18);
}

.wh-pagination .page-numbers .dots {
  min-width: auto;
  padding-left: 4px;
  padding-right: 4px;
  background: transparent;
  color: rgba(58, 46, 53, 0.55);
  border-color: transparent;
  box-shadow: none;
}

.wh-pagination::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143,175,154,0), var(--wh-green), rgba(143,175,154,0));
  opacity: .6;
}

/* ---------- Pagination Archiv ---------- */
.wh-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 2.2rem 0 0;
}

.wh-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wh-pagination .page-numbers li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wh-pagination .page-numbers a,
.wh-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #6b6b6b !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(58, 46, 53, 0.06);
}

.wh-pagination .page-numbers a {
  background: rgba(255, 255, 255, 0.96);
  color: var(--wh-text);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.wh-pagination .page-numbers a:hover,
.wh-pagination .page-numbers a:focus,
.wh-pagination .page-numbers a:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--wh-text);
  border-color: #6b6b6b !important;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(58, 46, 53, 0.10);
}

.wh-pagination .page-numbers .current {
  background: var(--wh-purple);
  color: #ffffff;
  border-color: #6b6b6b !important;
  box-shadow: 0 12px 24px rgba(140, 58, 118, 0.18);
}

.wh-pagination .page-numbers .dots {
  min-width: auto;
  padding-left: 4px;
  padding-right: 4px;
  background: transparent;
  color: rgba(58, 46, 53, 0.55);
  border-color: transparent !important;
  box-shadow: none;
}

.wh-pagination::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143,175,154,0), var(--wh-green), rgba(143,175,154,0));
  opacity: .6;
}
/* ---------- Karten ---------- */
.wh-hund-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 1.7rem 0 3rem;
  align-items: stretch;
}

.wh-hund-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(58, 46, 53, 0.08);
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    box-shadow .28s cubic-bezier(.22,.61,.36,1),
    border-color .28s cubic-bezier(.22,.61,.36,1);

  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(58, 46, 53, 0.10);
  transform-origin: center bottom;
  will-change: transform, box-shadow;
}

.wh-hund-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(58, 46, 53, 0.12);
  border-color: rgba(58, 46, 53, 0.14);
}

.wh-hund-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wh-hund-card__image {
  display: block;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: #f4f1ee;
  border-radius: 26px 26px 0 0;
  position: relative;
}

.wh-hund-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(58,46,53,0.10) 100%
  );
  opacity: .52;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: 1;
}

.wh-hund-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  transform-origin: center center;
}

.wh-hund-card:hover .wh-hund-card__image::after {
  opacity: .72;
}

.wh-hund-card:hover .wh-hund-card__image img {
  transform: scale(1.05);
}

.wh-hund-card__body {
  padding: 18px 18px 20px;
  background: #ffffff;
  border-radius: 0 0 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
}

.wh-hund-card__title,
.wh-hund-card__title a,
.wh-hund-card__title a:link,
.wh-hund-card__title a:visited,
.wh-hund-card__title a:hover,
.wh-hund-card__title a:focus,
.wh-hund-card__title a:active {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--wh-text) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  transition: color .22s ease;
}

.wh-hund-card:hover .wh-hund-card__title,
.wh-hund-card:hover .wh-hund-card__title a {
  color: var(--wh-text) !important;
  letter-spacing: 0;
  transform: none;
}

.wh-hund-card__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(58, 46, 53, 0.78);
  font-weight: 500;
  text-align: center;
}

.wh-hund-card__fact {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.wh-hund-card__fact:not(:last-child)::after {
  content: "•";
  display: inline-block;
  margin: 0 12px;
  color: rgba(58, 46, 53, 0.34);
}

.wh-hund-card__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
}

.wh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.wh-hund-card:hover .wh-badge {
  transform: none;
}

.wh-badge--meta,
.wh-badge--eigenschaft {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
}

.wh-badge--status {
  font-weight: 600;
  background: rgba(58, 46, 53, 0.06);
  border: 1px solid rgba(58, 46, 53, 0.08);
  color: var(--wh-text);
}

.wh-badge--home,
.wh-badge--pflege,
.wh-badge--pate,
.wh-badge--neutral,
.wh-badge--success,
.wh-badge--dark {
  background: rgba(58, 46, 53, 0.06);
  border: 1px solid rgba(58, 46, 53, 0.08);
  color: var(--wh-text);
}

/* Archiv-Flagge */
.wh-hund-card__image {
  position: relative;
  z-index: 1;
}

.wh-hund-card__body {
  position: relative;
  z-index: 3;
}

.wh-hund-card__flag-pin {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
  pointer-events: none;
}

.wh-hund-card__flag-pin-head,
.wh-hund-card__flag-pin-head::after {
  display: none !important;
  content: none !important;
}

.wh-hund-card__flag-pin-emoji {
  position: relative;
  z-index: 2;
  display: block;
  width: 42px;
  line-height: 1;
  transform: rotate(8deg);
  transform-origin: 18px 10px;
  filter: drop-shadow(0 10px 14px rgba(58, 46, 53, .12));
  opacity: 0;
}

.wh-hund-card__flag-pin-emoji img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}


.wh-hund-card__happy-sticker {
  position: absolute;
  left: auto;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 34px;
  padding: 6px 9px;
  border: 2px solid rgba(140, 58, 118, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,0.96), rgba(255,255,255,0.80) 48%, rgba(244,241,238,0.90) 100%);
  color: var(--wh-purple);
  font-size: clamp(0.58rem, 0.82vw, 0.74rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(58, 46, 53, 0.12);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) rotate(-8deg) scale(.88);
  transform-origin: center;
}

.wh-hund-card__happy-sticker::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(140, 58, 118, 0.46);
  border-radius: inherit;
  pointer-events: none;
}

.wh-hund-card__happy-sticker span {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 104px;
}

.wh-js .wh-hund-card__happy-sticker.is-visible {
  animation: wh-happy-sticker-in .58s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes wh-happy-sticker-in {
  0% {
    opacity: 0;
    transform: translateY(12px) rotate(-15deg) scale(.84);
  }

  58% {
    opacity: 1;
    transform: translateY(-2px) rotate(-5deg) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-8deg) scale(1);
  }
}

.wh-hund-card--no-link .wh-hund-card__image,
.wh-hund-card--no-link .wh-hund-card__title-text {
  cursor: default;
}

@media (max-width: 782px) {
  .wh-hund-card__happy-sticker {
    left: auto;
    right: 8px;
    bottom: 8px;
    min-height: 31px;
    padding: 5px 7px;
    font-size: clamp(0.48rem, 2.15vw, 0.58rem);
  }

  .wh-hund-card__happy-sticker span {
    max-width: 92px;
  }
}

/* langsamer, klarer Aufbau je Card */
.wh-js .wh-hund-card__flag-pin.is-visible .wh-hund-card__flag-pin-emoji {
  animation: wh-flag-card-in .58s cubic-bezier(.22,.61,.36,1) forwards;
}

/* leichte Staffelung innerhalb sichtbarer Reihen */
.wh-hund-grid .wh-hund-card:nth-child(3n + 1) .wh-hund-card__flag-pin.is-visible .wh-hund-card__flag-pin-emoji {
  animation-delay: .06s;
}

.wh-hund-grid .wh-hund-card:nth-child(3n + 2) .wh-hund-card__flag-pin.is-visible .wh-hund-card__flag-pin-emoji {
  animation-delay: .20s;
}

.wh-hund-grid .wh-hund-card:nth-child(3n) .wh-hund-card__flag-pin.is-visible .wh-hund-card__flag-pin-emoji {
  animation-delay: .34s;
}

.wh-hund-grid .wh-hund-card:nth-child(3n + 1) .wh-hund-card__flag-pin.is-visible {
  animation-delay: .48s;
}

.wh-hund-grid .wh-hund-card:nth-child(3n + 2) .wh-hund-card__flag-pin.is-visible {
  animation-delay: .62s;
}

.wh-hund-grid .wh-hund-card:nth-child(3n) .wh-hund-card__flag-pin.is-visible {
  animation-delay: .76s;
}

@keyframes wh-flag-card-in {
  0% {
    opacity: 0;
    transform: translateY(-12px) rotate(1deg) scale(.86);
  }
  58% {
    opacity: 1;
    transform: translateY(3px) rotate(10deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(8deg) scale(1);
  }
}


/* =========================================================
   4. Single Hund – Layout
   ========================================================= */
.wh-single {
  padding: 42px 0 64px;
}

.wh-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.wh-head {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.wh-title {
  margin: 0;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--wh-text);
}

.wh-title::after {
  content: "";
  display: block;
  width: min(190px, 64%);
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122,154,99,0), var(--wh-green) 18%, var(--wh-green) 72%, rgba(122,154,99,0));
  transform: skewX(-10deg);
}

.wh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .92fr);
  gap: 36px;
  align-items: start;
}

.wh-media,
.wh-facts {
  min-width: 0;
}

.wh-facts {
  display: grid;
  gap: 22px;
}

.wh-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(58, 46, 53, 0.08);
  box-shadow: 0 14px 34px rgba(58, 46, 53, 0.075);
  overflow: hidden;
  margin-bottom: 24px;
}

/* =========================================================
   4a. Single Hund – neutrale Statuskarte
   zuhause-gefunden / regenbogenbruecke
   ========================================================= */
.single-hund .wh-single--status-note {
  width: 100%;
  padding: 48px 0 64px;
}

.single-hund .wh-status-note-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.single-hund .wh-status-note-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.single-hund .wh-status-note-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  box-sizing: border-box;
  background: #e9eaeb;
  border: 3px solid var(--wh-green);
  border-radius: 28px;
}

.single-hund .wh-status-note-card__image {
  width: min(100%, 340px);
  margin: 0 auto 26px;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f1ee;
}

.single-hund .wh-status-note-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.single-hund .wh-status-note-card__title {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.single-hund .wh-status-note-card__title::after {
  margin-left: auto;
  margin-right: auto;
}

.single-hund .wh-status-note-card__text {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(58, 46, 53, 0.86);
}

.single-hund .wh-status-note-card__text p {
  margin: 0 0 14px;
}

.single-hund .wh-status-note-card__text p:last-child {
  margin-bottom: 0;
}

.single-hund .wh-status-note-card__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   4b. Single Hund – Happy-End-Geschichte
   ========================================================= */
.single-hund .wh-happy-story {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 56px);
  box-sizing: border-box;
}

.single-hund .wh-happy-story__header {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.single-hund .wh-happy-story__eyebrow {
  margin: 0 0 12px;
  color: var(--wh-purple);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.single-hund .wh-happy-story__title {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
}

.single-hund .wh-happy-story__title::after {
  width: 120px;
  margin-left: auto;
  margin-right: auto;
}

.single-hund .wh-happy-story__content p {
  line-height: 1.75;
}

.single-hund .wh-happy-story__content .wp-block-image,
.single-hund .wh-happy-story__content .wp-block-gallery,
.single-hund .wh-happy-story__content .wp-block-columns,
.single-hund .wh-happy-story__content .wp-block-quote,
.single-hund .wh-happy-story__content .wp-block-buttons {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.single-hund .wh-happy-story__content .wp-block-image img,
.single-hund .wh-happy-story__content .wp-block-gallery img {
  border-radius: 22px;
}

.single-hund .wh-happy-story__content .wp-block-quote {
  padding: 22px 26px;
  border-left: 4px solid var(--wh-green);
  border-radius: 20px;
  background: rgba(143, 175, 154, .10);
}

/* =========================================================
   5. Single Hund – Hauptbild / Album / Videos
   ========================================================= */
.wh-profile-main-media {
  align-self: start;
}

.wh-card--hero-image {
  position: relative;
  padding: 0;
  background: #ffffff;
  overflow: visible;
}

.wh-hero-image__button {
  display: block;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: #f6f4f2 !important;
  cursor: zoom-in;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  outline: none !important;
  box-shadow: none !important;
}

.wh-hero-image__button:hover,
.wh-hero-image__button:focus,
.wh-hero-image__button:focus-visible,
.wh-hero-image__button:active {
  background: #f6f4f2 !important;
  outline: none !important;
  box-shadow: none !important;
}

.wh-hero-image__img {
  display: block;
  width: 100%;
  height: clamp(560px, 70vh, 760px);
  object-fit: cover;
  object-position: center 24%;
  border-radius: 28px;
}

.wh-pflegestelle-stamp {
  position: absolute;
  top: auto;
  right: 12px;
  bottom: 18px;
  z-index: 5;
  width: max-content;
  max-width: min(150px, calc(100% - 24px));
  min-height: 52px;
  padding: 9px 9px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid rgba(140, 58, 118, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,0.95), rgba(255,255,255,0.72) 48%, rgba(244,241,238,0.82) 100%);
  color: var(--wh-purple);
  text-align: center;
  font-size: clamp(0.66rem, 0.9vw, 0.82rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(58, 46, 53, 0.13);
  transform: rotate(-8deg) scale(0.86);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  animation: whPflegestelleStampIn 0.72s cubic-bezier(.18,.88,.28,1.18) 0.62s forwards;
}

.wh-pflegestelle-stamp::before,
.wh-pflegestelle-stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(140, 58, 118, 0.48);
  border-radius: inherit;
  pointer-events: none;
}

.wh-pflegestelle-stamp::after {
  inset: 10px;
  border-style: solid;
  opacity: 0.35;
}

.wh-pflegestelle-stamp span {
  position: relative;
  z-index: 2;
}

@keyframes whPflegestelleStampIn {
  0% {
    opacity: 0;
    transform: rotate(-16deg) scale(0.62) translateY(8px);
  }

  58% {
    opacity: 1;
    transform: rotate(-6deg) scale(1.06) translateY(0);
  }

  78% {
    transform: rotate(-10deg) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wh-pflegestelle-stamp {
    animation: none;
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

.wh-profile-section {
  width: 100%;
  margin: 72px 0 0;
}

.wh-profile-album {
  margin-top: 92px;
}

.wh-profile-videos {
  margin-top: 76px;
}

.wh-section-head {
  margin: 0 auto 26px;
  text-align: center;
}

.wh-section-title {
  display: inline-block;
  margin: 0;
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--wh-text);
}

.wh-album-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 88px;
  gap: 14px;
  width: min(100%, 1120px);
  margin: 0 auto;
  align-items: stretch;
}

.wh-album-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  max-width: 520px;
}

.wh-album-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  max-width: 820px;
}

.wh-album-grid--count-3 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wh-album-grid--count-3 .wh-album-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 5;
}

.wh-album-grid--count-3 .wh-album-item:nth-child(2) {
  grid-column: span 2;
  grid-row: span 4;
}

.wh-album-grid--count-3 .wh-album-item:nth-child(3) {
  grid-column: span 2;
  grid-row: span 5;
}

/* 6er-Mosaik */
.wh-album-grid--count-6 .wh-album-item:nth-child(1),
.wh-album-grid--count-6 .wh-album-item:nth-child(3) {
  grid-column: span 2;
  grid-row: span 5;
}

.wh-album-grid--count-6 .wh-album-item:nth-child(2),
.wh-album-grid--count-6 .wh-album-item:nth-child(4),
.wh-album-grid--count-6 .wh-album-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 3;
}

.wh-album-grid--count-6 .wh-album-item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 4;
}

/* 9er-Mosaik: wiederholt sich für 10–18, 19–27 usw. */
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+1),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+3),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+7) {
  grid-column: span 2;
  grid-row: span 5;
}

.wh-album-grid--count-9 .wh-album-item:nth-child(9n+2),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+4),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+6),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n) {
  grid-column: span 2;
  grid-row: span 3;
}

.wh-album-grid--count-9 .wh-album-item:nth-child(9n+5),
.wh-album-grid--count-9 .wh-album-item:nth-child(9n+8) {
  grid-column: span 2;
  grid-row: span 4;
}

.wh-album-item,
.wh-album-grid .wh-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  overflow: hidden;
  background: #dfe1e3 !important;
  cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(58, 46, 53, 0.06) !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.wh-album-item:hover,
.wh-album-grid .wh-lightbox-trigger:hover,
.wh-album-item:focus,
.wh-album-item:focus-visible,
.wh-album-grid .wh-lightbox-trigger:focus,
.wh-album-grid .wh-lightbox-trigger:focus-visible {
  transform: translateY(-2px);
  background: #dfe1e3 !important;
  box-shadow: 0 14px 28px rgba(58, 46, 53, 0.10) !important;
  outline: none !important;
}

.wh-album-item img,
.wh-album-grid .wh-lightbox-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 9px;
}

.wh-album-lightbox-sources,
.wh-lightbox-trigger--hidden {
  display: none !important;
}

.wh-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 980px);
  margin: 0 auto;
}

.wh-video-grid--count-1 {
  grid-template-columns: minmax(0, 315px);
  justify-content: center;
  width: min(100%, 315px);
}

.wh-video-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 315px));
  justify-content: center;
  width: min(100%, 648px);
}

.wh-video-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 980px);
}

.wh-video-item {
  overflow: hidden;
  border-radius: 18px;
  background: #f6f4f2;
  box-shadow: 0 14px 34px rgba(58, 46, 53, .075);
}

.wh-video-item video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

/* =========================================================
   6. Single Hund – Tabs / Steckbrief
   ========================================================= */
.wh-facts .wh-card:first-child {
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

.wh-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(58, 46, 53, .07);
  background: #e9eaeb;
}

.wh-tab {
  appearance: none;
  border: 1px solid var(--wh-purple);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--wh-purple);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  position: relative;
}

.wh-tab:hover,
.wh-tab:focus,
.wh-tab:focus-visible {
  transform: translateY(-1px);
  background: rgba(140, 58, 118, 0.06);
  color: var(--wh-purple);
  border-color: var(--wh-purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(140, 58, 118, 0.12);
}

.wh-tab.is-active,
.wh-tab.is-active:hover,
.wh-tab.is-active:focus,
.wh-tab.is-active:focus-visible {
  background: var(--wh-purple);
  color: #ffffff;
  border-color: var(--wh-purple);
  box-shadow: 0 8px 16px rgba(140, 58, 118, 0.16);
}

.wh-tabpanes,
.wh-tabpane,
.wh-pane {
  background: #ffffff;
}

.wh-tabpanes {
  padding: 24px 28px 30px;
}

.wh-pane {
  display: none;
  color: rgba(58, 46, 53, .9);
  font-size: 1rem;
  line-height: 1.7;
}

.wh-pane.is-active {
  display: block;
}

.wh-pane p:last-child {
  margin-bottom: 0;
}

.wh-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
}

.wh-list li {
  display: grid;
  grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  line-height: 1.55;
  color: var(--wh-text);
  background: #ffffff;
  border-bottom: 1px solid rgba(58, 46, 53, 0.08);
}

.wh-list li:last-child {
  border-bottom: none;
}

.wh-list li strong {
  display: block;
  min-width: 0;
  margin: 0;
  font-weight: 800;
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--wh-text);
  opacity: 0.84;
}

.wh-hund-eigenschaften {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: #ffffff;
}

.wh-hund-eigenschaft-row {
  margin: 0 !important;
  background: #ffffff;
}

.wh-hund-eigenschaft {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(122,154,99,.10);
  border: 1px solid rgba(122,154,99,.45);
  color: var(--wh-text);
  font-weight: 650;
  font-size: .94rem;
}

/* =========================================================
   7. Kontakt / Hinweis / Patenschaft / Share
   ========================================================= */
.wh-profile-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  width: min(100%, 1120px);
  margin: 62px auto 0;
  align-items: stretch;
}

.wh-profile-action-grid .wh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 245px;
  margin-bottom: 0;
  padding-top: 22px;
}

.wh-profile-action-grid .wh-card--kontakt {
  order: 1;
}

.wh-profile-action-grid .wh-form-card {
  order: 2;
}

.wh-profile-action-grid .wh-card--hinweis {
  order: 3;
}

.wh-profile-action-grid .wh-card--share-bottom {
  order: 4;
}

.wh-profile-action-grid .wh-card--adoption-info {
  order: 5;
}

.wh-profile-action-grid .wh-card--pflegestelle-info {
  order: 6;
}

.wh-profile-action-grid .wh-card--adoption-info--centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 17px);
}

.wh-profile-action-grid .wh-card--paten {
  order: 7;
}

.wh-card--top-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: min(100%, 620px);
  max-width: 100%;
  min-height: 188px;
  margin: 28px auto 0;
  padding: 0;
  box-sizing: border-box;
  border: 3px solid var(--wh-green);
  border-radius: 32px;
  background: #e9eaeb;
  text-align: center;
}

.wh-card--top-cta .wh-kontakt-head {
  padding: 26px 28px 10px;
}

.wh-card--top-cta .wh-kontakt-body {
  padding: 8px 28px 28px;
}

.wh-card--top-cta .wh-kontakt-title {
  display: block;
}

.wh-card--top-cta .wh-kontakt-sub {
  margin-top: 12px;
}

@media (max-width: 782px) {
  .wh-card--top-cta {
    width: 100%;
    margin-top: 18px;
  }

  .wh-card--share-desktop {
    display: none !important;
  }

  .wh-card--paten-top {
    display: flex !important;
    min-height: auto;
  }
}

.single-hund .wh-card--paten,
.single-hund .wh-card--hinweis,
.single-hund .wh-card--kontakt,
.single-hund .wh-card--share,
.single-hund .wh-form-card,
.single-hund .wh-card--adoption-info,
.single-hund .wh-card--pflegestelle-info {
  background: #e9eaeb;
  overflow: hidden;
  text-align: center;
}

.single-hund .wh-card--hinweis,
.single-hund .wh-card--share,
.single-hund .wh-card--adoption-info,
.single-hund .wh-card--pflegestelle-info {
  border: 3px solid var(--wh-green);
}

.wh-kontakt-head,
.wh-media-head {
  position: relative;
  padding: 0 24px 10px;
  border-bottom: 0;
  background: transparent;
  text-align: center;
}

.wh-kontakt-title,
.wh-media-title {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.14rem, 1.55vw, 1.42rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--wh-text);
}

.wh-kontakt-sub {
  max-width: 520px;
  margin: 10px auto 0;
  color: rgba(58, 46, 53, .78);
  line-height: 1.58;
}

.wh-kontakt-body,
.wh-hinweis-body {
  padding: 8px 28px 28px;
  background: transparent;
}

.wh-profile-action-grid .wh-form-card > div[style] {
  padding: 8px 28px 28px !important;
  background: transparent !important;
}

.wh-profile-action-grid .wh-form-card p {
  max-width: 470px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.wh-kontakt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.wh-kontakt-list li {
  margin: 0 0 10px;
  line-height: 1.6;
}

.wh-kontakt-list strong {
  display: block;
  margin-bottom: 2px;
}

.wh-kontakt-link {
  color: var(--wh-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wh-kontakt-link:hover {
  color: var(--wh-apricot);
}

.wh-paten-cta-actions,
.wh-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.wh-paten-btn,
.wh-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--wh-purple);
  background: #ffffff !important;
  color: var(--wh-purple) !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.wh-paten-btn-primary,
.wh-paten-btn-secondary,
.wh-share-btn,
.wh-share-btn--secondary {
  background: #ffffff !important;
  color: var(--wh-purple) !important;
  border-color: var(--wh-purple) !important;
}

.wh-paten-btn:hover,
.wh-paten-btn:focus,
.wh-paten-btn:focus-visible,
.wh-paten-btn:active,
.wh-share-btn:hover,
.wh-share-btn:focus,
.wh-share-btn:focus-visible,
.wh-share-btn:active {
  transform: translateY(-1px);
  background: var(--wh-purple) !important;
  color: #ffffff !important;
  border-color: var(--wh-purple) !important;
  box-shadow: 0 8px 16px rgba(58, 46, 53, 0.08);
  outline: none;
}

.wh-paten-btn-disabled {
  opacity: .6;
  cursor: not-allowed;
}

.wh-hinweis-intro {
  margin: 0 0 14px;
  color: var(--wh-text);
  line-height: 1.65;
  font-size: 1rem;
}

.wh-hinweis-features {
  display: none;
}

.wh-hinweis-icon,
.wh-hinweis-icon::after,
.wh-hinweis-label {
  display: none;
}

.wh-album-hidden-lightbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.wh-album-hidden-lightbox button {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}

@media (max-width: 1100px) {
  .wh-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wh-hero-image__img {
    height: auto;
    max-height: none;
  }

  .wh-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wh-profile-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .wh-single {
    padding: 24px 0 46px;
  }

  .wh-container {
    padding: 0 16px;
  }

  .wh-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .wh-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wh-profile-main-media {
    order: 1;
  }

  .wh-facts {
    order: 2;
  }

  .wh-card {
    border-radius: 22px;
  }

  .wh-card--hero-image {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    overflow: visible;
    margin-bottom: 18px;
  }

  .wh-pflegestelle-stamp {
    top: auto;
    right: 6px;
    bottom: 8px;
    width: min(108px, 29vw);
    max-width: calc(100% - 14px);
    min-height: 36px;
    padding: 5px 6px;
    font-size: clamp(0.43rem, 1.85vw, 0.53rem);
    line-height: 1.04;
    letter-spacing: 0;
    box-shadow: 0 6px 12px rgba(58, 46, 53, 0.10);
  }

  .wh-pflegestelle-stamp::before {
    inset: 3px;
  }

  .wh-pflegestelle-stamp::after {
    inset: 6px;
  }


  .wh-hero-image__button {
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f6f4f2 !important;
  }

  .wh-hero-image__img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 22px;
  }

  .wh-profile-main-media .wh-card--media,
  .wh-profile-main-media .wh-slider-wrap,
  .wh-profile-main-media .wh-slider,
  .wh-profile-main-media .wh-slide,
  .wh-profile-main-media .wh-media-count,
  .wh-profile-main-media .wh-media-dots {
    display: none !important;
  }

  .wh-tabs {
    gap: 8px;
    padding: 14px 14px 26px;
  }

  .wh-tab {
    width: 100%;
    text-align: center;
  }

  .wh-tabpanes,
  .wh-kontakt-body {
    padding: 20px 18px 22px;
  }

  .wh-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 0;
  }

  .wh-list li strong {
    font-size: 0.72rem;
  }

  .wh-section-title {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .wh-profile-section {
    margin-top: 64px;
  }

  .wh-profile-album {
    margin-top: 84px;
  }

  .wh-profile-videos {
    margin-top: 64px;
  }

  .wh-profile-action-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wh-profile-action-grid .wh-card--adoption-info--centered {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .wh-profile-action-grid .wh-card {
    min-height: auto;
    padding-top: 18px;
  }

  .wh-card--share-desktop {
    display: none !important;
  }

  .wh-card--paten-top {
    display: flex !important;
    margin-top: 18px;
  }

  .wh-profile-action-grid .wh-card--share-bottom {
    display: flex !important;
  }

  .wh-album-grid,
  .wh-video-grid {
    display: flex;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 16px 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .wh-album-grid::-webkit-scrollbar,
  .wh-video-grid::-webkit-scrollbar {
    display: none;
  }

  .wh-album-grid .wh-album-item,
  .wh-album-grid .wh-lightbox-trigger {
    flex: 0 0 84%;
    width: 84%;
    max-width: 84%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
    grid-column: auto !important;
    grid-row: auto !important;
    scroll-snap-align: start;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    background: #dfe1e3 !important;
    box-shadow: 0 10px 24px rgba(58, 46, 53, 0.08) !important;
    outline: none !important;
  }

  .wh-album-grid .wh-album-item:hover,
  .wh-album-grid .wh-lightbox-trigger:hover,
  .wh-album-grid .wh-album-item:focus,
  .wh-album-grid .wh-lightbox-trigger:focus {
    background: #dfe1e3 !important;
    box-shadow: 0 10px 24px rgba(58, 46, 53, 0.08) !important;
    outline: none !important;
    transform: none;
  }

  .wh-album-grid .wh-album-item img,
  .wh-album-grid .wh-lightbox-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
  }

  .wh-video-grid .wh-video-item {
    flex: 0 0 84%;
    width: 84%;
    max-width: 84%;
    scroll-snap-align: start;
    border-radius: 18px;
  }

  .wh-video-item video {
    aspect-ratio: 9 / 16;
    border-radius: 18px;
  }
}

/* =========================================================
   8. Form / Content / Lightbox
   ========================================================= */
.wh-iframe-wrap {
  overflow: hidden;
  border-radius: 20px;
  background: var(--wh-cream);
  border: 1px solid rgba(58, 46, 53, .08);
}

.wh-iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.wh-desktop-only {
  display: block;
}

.wh-mobile-only {
  display: none;
}

.wh-content .wh-card--content {
  padding: 24px 28px;
}

.wh-no-scroll {
  overflow: hidden;
}

.wh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.wh-lightbox.is-open {
  display: block;
}

.wh-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 18, .86);
}

.wh-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(94vw, 1280px);
  height: min(90vh, 920px);
  margin: 5vh auto;
  padding: 28px 72px 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.wh-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}

/* Close + Nav */
.wh-lightbox__close,
.wh-lightbox__nav {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: absolute;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.wh-lightbox__close:hover,
.wh-lightbox__nav:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, .22);
}

.wh-lightbox__close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.wh-lightbox__close::before,
.wh-lightbox__close::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 13px;
  width: 2px;
  height: 20px;
  background: currentColor;
}

.wh-lightbox__close::before {
  transform: rotate(45deg);
}

.wh-lightbox__close::after {
  transform: rotate(-45deg);
}

.wh-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.wh-lightbox__prev {
  left: 18px;
}

.wh-lightbox__next {
  right: 18px;
}

.wh-lightbox__nav::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.wh-lightbox__prev::before {
  transform: rotate(-135deg);
}

.wh-lightbox__next::before {
  transform: rotate(45deg);
}

/* Counter */
.wh-lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Dots */
.wh-lightbox__dots {
  position: absolute;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(8px);
}

.wh-lightbox__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
}

.wh-lightbox__dot.is-active {
  background: #fff;
}

/* Responsive */
@media (max-width: 782px) {
  .wh-lightbox__dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 18px 14px 92px;
  }

  .wh-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    border-radius: 16px;
  }

  .wh-lightbox__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .wh-lightbox__close::before,
  .wh-lightbox__close::after {
    left: 20px;
    top: 11px;
    height: 18px;
  }

  .wh-lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .wh-lightbox__prev {
    left: 10px;
  }

  .wh-lightbox__next {
    right: 10px;
  }

  .wh-lightbox__count {
    bottom: 14px;
    font-size: .92rem;
    padding: 8px 12px;
  }

  .wh-lightbox__dots {
    bottom: 50px;
    gap: 7px;
    padding: 5px 10px;
  }

  .wh-lightbox__dot {
    width: 9px;
    height: 9px;
  }
}

/* =========================================================
   9. Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .wh-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 782px) {
  .wh-single {
    padding: 20px 0 42px;
  }

  .wh-container {
    padding: 0 16px;
  }

  .wh-card {
    border-radius: 22px;
  }

  .single-hund .wh-single--status-note {
    padding: 24px 0 42px;
  }

  .single-hund .wh-status-note-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .single-hund .wh-status-note-card {
    width: 100%;
    padding: 30px 20px;
    border-radius: 22px;
  }

  .single-hund .wh-status-note-card__image {
    width: min(100%, 300px);
  }

  .single-hund .wh-status-note-card__title {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    line-height: 1.08;
  }

  .single-hund .wh-status-note-card__text p {
    margin-bottom: 12px;
  }

  .single-hund .wh-status-note-card__text p:last-child {
    margin-bottom: 0;
  }

  .single-hund .wh-status-note-card__actions .wh-paten-btn {
    width: 100%;
  }

  .single-hund .wh-happy-story {
    width: 100%;
    padding: 30px 20px;
    border-radius: 22px;
  }

  .single-hund .wh-happy-story__header {
    text-align: center;
  }

  .single-hund .wh-happy-story__title {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .single-hund .wh-happy-story__title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .single-hund .wh-happy-story__content {
    text-align: left;
  }

  .single-hund .wh-happy-story__content .wp-block-columns {
    gap: 1.4rem;
  }

  .single-hund .wh-happy-story__footer .wh-paten-btn {
    width: 100%;
  }

  .wh-media-head,
  .wh-kontakt-head {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wh-tabpanes,
  .wh-kontakt-body {
    padding: 20px 18px 22px;
  }


  .wh-lightbox-trigger {
    height: clamp(420px, 78vw, 560px);
    min-height: 420px;
    padding: 14px 14px 54px;
  }

  .wh-vslide {
    height: clamp(420px, 78vw, 560px);
    min-height: 420px;
    padding: 14px 14px 54px;
  }

  .wh-vslide video {
    width: 100%;
    height: 100%;
  }

  .wh-iframe-wrap iframe {
    min-height: 420px;
  }

  .wh-desktop-only {
    display: none;
  }

  .wh-mobile-only {
    display: block;
  }

  .wh-filter-box {
  margin-bottom: 1rem;
  max-width: 100%;
}

  .wh-filter-box {
    padding: 14px 14px 12px;
    border-radius: 20px;
  }

  .wh-filter-box__title {
    font-size: clamp(1.1rem, 6vw, 1.45rem);
  }

  .wh-filter-box__body {
    padding-top: 8px;
  }

  .wh-filter-group {
    gap: 7px;
  }

  .wh-filter-search {
    margin: 0 0 10px;
  }

  .wh-filter-search input[type="text"] {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 15px;
  }

  .wh-filter-chip,
  .wh-filter-reset {
    width: 100%;
    min-height: 32px;
    padding: 6px 10px;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .wh-hund-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .wh-hund-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .wh-home-hunde-teaser .wh-hund-grid {
    grid-template-columns: none;
    justify-content: start;
  }

  .wh-hinweis-features {
    grid-template-columns: 1fr;
  }

  .wh-pagination {
    margin-top: 1.8rem;
  }

  .wh-pagination .page-numbers {
    gap: 8px;
  }

  .wh-pagination .page-numbers a,
  .wh-pagination .page-numbers span {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .wh-title {
    font-size: 2rem;
  }

  .wh-lightbox-trigger {
    height: clamp(320px, 88vw, 440px);
    min-height: 320px;
    padding: 12px 12px 50px;
    border-radius: 0;
  }

  .wh-vslide {
    height: clamp(320px, 88vw, 440px);
    min-height: 320px;
    padding: 12px 12px 50px;
  }

  .wh-vslide video {
    width: 100%;
    height: 100%;
    border-radius: 14px;
  }

  .wh-media-btn,
  .wh-vbtn {
    width: 40px;
    height: 40px;
  }

  .wh-media-btn--prev,
  .wh-vbtn--prev {
    left: 20px;
  }

  .wh-media-btn--next,
  .wh-vbtn--next {
    right: 20px;
  }

  .wh-paten-cta-actions,
  .wh-share-actions {
    flex-direction: column;
  }

  .wh-match-box__headline {
    font-size: 1rem;
  }

  .wh-filter-chip {
    font-size: 0.75rem;
  }

  .wh-match-chip {
    font-size: 0.86rem;
    line-height: 1.28;
  }
}

/* Flagge auf rechter Card (angeheftet Look) */
.wh-card {
  position: relative;
}

.wh-facts > .wh-card:first-child {
  overflow: hidden;
}

.wh-single-flag-card {
  position: absolute;
  top: 49px;
  right: 14px;
  z-index: 60;
  pointer-events: none;
}

.wh-single-flag-card-emoji {
  display: block;
  width: 52px;
  line-height: 1;
  transform: none;
  filter: none;
  transition: none;
}
.wh-single-flag-card-emoji img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.wh-card:hover .wh-single-flag-card-emoji {
  transform: none;
}

/* =========================================================
   10. Entrance Animation – Seite baut sich auf
   ========================================================= */

/* Titelbereich */
.wh-head {
  opacity: 0;
  transform: translateY(34px) scale(.94);
  animation: wh-build-title 1s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: .04s;
}

.wh-title::after {
  transform: scaleX(0);
  transform-origin: left center;
  animation: wh-line-in .8s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: .42s;
}

/* Archiv Filter */
.wh-filter-box {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  filter: blur(8px);
  animation: wh-build-card .7s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-filter-box {
  animation-delay: .06s;
}

/* Archiv-Cards */
.wh-hund-card {
  opacity: 0;
  filter: blur(8px);
  animation: wh-build-card-fade .9s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-hund-grid .wh-hund-card:nth-child(1) { animation-delay: .10s; }
.wh-hund-grid .wh-hund-card:nth-child(2) { animation-delay: .18s; }
.wh-hund-grid .wh-hund-card:nth-child(3) { animation-delay: .26s; }
.wh-hund-grid .wh-hund-card:nth-child(4) { animation-delay: .34s; }
.wh-hund-grid .wh-hund-card:nth-child(5) { animation-delay: .42s; }
.wh-hund-grid .wh-hund-card:nth-child(6) { animation-delay: .50s; }
.wh-hund-grid .wh-hund-card:nth-child(7) { animation-delay: .58s; }
.wh-hund-grid .wh-hund-card:nth-child(8) { animation-delay: .66s; }
.wh-hund-grid .wh-hund-card:nth-child(9) { animation-delay: .74s; }

/* Single-Cards */
.wh-single .wh-card {
  opacity: 0;
  transform: translateY(44px) scale(.95);
  filter: blur(10px);
  animation: wh-build-card .95s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-single .wh-media > .wh-card:nth-child(1) { animation-delay: .12s; }
.wh-single .wh-media > .wh-card:nth-child(2) { animation-delay: .24s; }
.wh-single .wh-media > .wh-card:nth-child(3) { animation-delay: .36s; }

.wh-single .wh-facts > .wh-card:nth-child(1) { animation-delay: .18s; }
.wh-single .wh-facts > .wh-card:nth-child(2) { animation-delay: .30s; }
.wh-single .wh-facts > .wh-card:nth-child(3) { animation-delay: .42s; }
.wh-single .wh-facts > .wh-card:nth-child(4) { animation-delay: .54s; }
.wh-single .wh-facts > .wh-card:nth-child(5) { animation-delay: .66s; }

.wh-single .wh-content .wh-card {
  animation-delay: .34s;
}

/* Flaggen */
.wh-single-flag-card-emoji {
  opacity: 0;
  transform: translateY(-24px) rotate(4deg) scale(.82);
  filter: blur(2px) drop-shadow(0 10px 18px rgba(0,0,0,.22));
  animation: wh-build-flag .95s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-single-flag-card-emoji { animation-delay: .44s; }

/* Keyframes */
@keyframes wh-build-card-fade {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes wh-build-title {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(.94);
    filter: blur(10px);
  }
  55% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes wh-build-card {
  0% {
    opacity: 0;
    transform: translateY(42px) scale(.94);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes wh-build-flag {
  0% {
    opacity: 0;
    transform: translateY(-24px) rotate(4deg) scale(.82);
    filter: blur(3px) drop-shadow(0 10px 18px rgba(0,0,0,.22));
  }
  60% {
    opacity: 1;
    transform: translateY(2px) rotate(9deg) scale(1.08);
    filter: blur(0) drop-shadow(0 10px 18px rgba(0,0,0,.22));
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(8deg) scale(1);
    filter: blur(0) drop-shadow(0 10px 18px rgba(0,0,0,.22));
  }
}

@keyframes wh-line-in {
  0% {
    transform: scaleX(0);
    opacity: .2;
  }
  100% {
    transform: scaleX(1);
    opacity: .6;
  }
}

@keyframes wh-match-line-pulse {
  0%, 100% {
    transform: scaleX(.72);
    opacity: .45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes wh-match-arrow-bounce {
  0%, 100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes wh-hero-heart-float {
  0%, 100% {
    transform: translateY(0) rotate(-8deg) scale(1);
  }
  50% {
    transform: translateY(-6px) rotate(-5deg) scale(1.04);
  }
}

@keyframes wh-hero-orb-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-10px) translateX(10px);
  }
}

@keyframes wh-hero-line-in {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
    opacity: .2;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left center;
    opacity: 1;
  }
}
/* =========================
   Team – Grid + Team – Single
   ========================= */

/* ---------- Team Grid ---------- */
.wh-team-hero-content {
  width: 100%;
  margin: 0 0 1.7rem;
  padding: 0 20px;
  box-sizing: border-box;
}

.wh-team-hero-content > *:first-child {
  margin-top: 0;
}

.wh-team-hero-content > *:last-child {
  margin-bottom: 0;
}

.wh-team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 34px;
  padding: 0 18px;
  align-items: stretch;
  box-sizing: border-box;
}

@media (min-width: 700px) {
  .wh-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .wh-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wh-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(135, 167, 50, 0.72);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(58, 46, 53, 0.08);
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    box-shadow .28s cubic-bezier(.22,.61,.36,1),
    border-color .28s cubic-bezier(.22,.61,.36,1);
  opacity: 0;
  filter: blur(8px);
  animation: wh-build-card-fade .9s cubic-bezier(.22,.61,.36,1) forwards;
  transform-origin: center bottom;
  will-change: transform, box-shadow;
}

.wh-team-grid .wh-team-card:nth-child(1) { animation-delay: .08s; }
.wh-team-grid .wh-team-card:nth-child(2) { animation-delay: .16s; }
.wh-team-grid .wh-team-card:nth-child(3) { animation-delay: .24s; }
.wh-team-grid .wh-team-card:nth-child(4) { animation-delay: .32s; }
.wh-team-grid .wh-team-card:nth-child(5) { animation-delay: .40s; }
.wh-team-grid .wh-team-card:nth-child(6) { animation-delay: .48s; }
.wh-team-grid .wh-team-card:nth-child(7) { animation-delay: .56s; }
.wh-team-grid .wh-team-card:nth-child(8) { animation-delay: .64s; }
.wh-team-grid .wh-team-card:nth-child(9) { animation-delay: .72s; }

.wh-team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(135, 167, 50, 0.95);
  box-shadow: 0 16px 30px rgba(58, 46, 53, 0.12);
}

.wh-team-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.wh-team-card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 2.9;
  overflow: hidden;
  background: #f4f1ee;
}
.wh-team-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(58, 46, 53, 0) 0%, rgba(58, 46, 53, 0.20) 100%);
  pointer-events: none;
}

.wh-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform .55s ease;
}

.wh-team-card:hover .wh-team-card__media img {
  transform: scale(1.04);
}

.wh-team-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 166px;
  padding: 14px 16px 16px;
  box-sizing: border-box;
  background: #ffffff;
}

.wh-team-card__role {
  min-height: 2.5em;
  margin: 0 0 5px;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--wh-text);
}

.wh-team-card__title {
  display: flex;
  align-items: flex-start;
  min-height: 2em;
  margin: 0 0 8px;
  font-size: clamp(1.16rem, 1.45vw, 1.38rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wh-text);
}

.wh-team-card__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 48px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(140, 58, 118, 0.10);
}

.wh-team-card__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .81rem;
  line-height: 1.3;
  color: var(--wh-purple);
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ---------- Team Single ---------- */
.wh-team-single {
  background: var(--wh-cream);
  color: var(--wh-text);
}

.wh-team-single__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.wh-team-single__hero {
  padding: 48px 0 30px;
}

.wh-team-single__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

@media (min-width: 980px) {
  .wh-team-single__grid {
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 44px;
  }
}

.wh-team-single__media,
.wh-team-single__content,
.wh-team-single__card {
  opacity: 0;
  transform: translateY(42px) scale(.96);
  filter: blur(8px);
  animation: wh-build-card .9s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-team-single__media { animation-delay: .10s; }
.wh-team-single__content { animation-delay: .18s; }
.wh-team-single__card { animation-delay: .28s; }

.wh-team-single__media {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(135, 167, 50, 0.55);
  box-shadow: 0 22px 60px rgba(58, 46, 53, 0.12);
  background: rgba(135, 167, 50, 0.08);
}

.wh-team-single__img {
  width: 100%;
  height: auto;
  display: block;
}

.wh-team-single__img--placeholder {
  aspect-ratio: 4 / 4.35;
  background:
    linear-gradient(
      135deg,
      rgba(135, 167, 50, 0.12),
      rgba(135, 167, 50, 0.30)
    );
}

.wh-team-single__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wh-team-single__kicker {
  margin: 0 0 14px;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wh-purple);
}

.wh-team-single__kicker a {
  color: var(--wh-purple) !important;
  text-decoration: none !important;
}

.wh-team-single__kicker a:hover {
  color: var(--wh-text) !important;
}

.wh-team-single__title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: .98;
  letter-spacing: -0.03em;
  color: var(--wh-text);
}

.wh-team-single__position {
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--wh-purple);
}

.wh-team-single__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wh-team-single__contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--wh-text) !important;
  text-decoration: none !important;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(135, 167, 50, 0.50);
  background: rgba(135, 167, 50, 0.10);
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.wh-team-single__contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(135, 167, 50, 0.90);
  background: rgba(135, 167, 50, 0.18);
  box-shadow: 0 8px 18px rgba(58, 46, 53, 0.08);
}

.wh-team-single__body {
  padding: 8px 0 72px;
}

.wh-team-single__card {
  background: #e9eaeb;
  border-radius: 30px;
  border: 1px solid rgba(135, 167, 50, 0.55);
  box-shadow: 0 22px 60px rgba(58, 46, 53, 0.09);
  overflow: hidden;
}

.wh-team-single__h2 {
  margin: 0;
  padding: 18px 24px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wh-text);
  background:
    linear-gradient(
      180deg,
      rgba(135, 167, 50, 0.26),
      rgba(135, 167, 50, 0.12)
    );
  border-bottom: 1px solid rgba(135, 167, 50, 0.55);
}

.wh-team-single__bio {
  padding: 28px 24px 30px;
  color: var(--wh-text);
  font-size: 1.04rem;
  line-height: 1.82;
}

.wh-team-single__bio p:first-child {
  margin-top: 0;
}

.wh-team-single__bio a {
  color: var(--wh-purple) !important;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 782px) {
  .page-id-358 .entry-content > h1,
  .page-id-358 .entry-content > h2,
  .page-id-358 .entry-content > h3,
  .wh-team-grid,
  .wh-team-single__wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wh-team-hero-content {
    margin-bottom: 1.35rem;
    padding-left: 16px;
    padding-right: 16px;
  }

  .wh-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .wh-team-card {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 18px;
  }

  .wh-team-card__media {
    aspect-ratio: 4 / 3.15;
  }

  .wh-team-card__body {
    min-height: 180px;
    padding: 11px 11px 12px;
  }

  .wh-team-card__role {
    min-height: 4.8em;
    margin-bottom: 5px;
    font-size: .61rem;
    line-height: 1.25;
    letter-spacing: .075em;
  }

  .wh-team-card__title {
    min-height: 2.25em;
    margin-bottom: 7px;
    font-size: 1rem;
    line-height: 1.08;
  }

  .wh-team-card__contact {
    gap: 3px;
    min-height: 68px;
    padding-top: 7px;
  }

  .wh-team-card__contact-item {
    font-size: .70rem;
    line-height: 1.28;
  }

  .wh-team-single__hero {
    padding: 28px 0 20px;
  }

  .wh-team-single__media,
  .wh-team-single__card {
    border-radius: 24px;
  }

  .wh-team-single__title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .wh-team-single__contact {
    flex-direction: column;
    align-items: stretch;
  }

  .wh-team-single__contact-link {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .wh-team-grid {
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .wh-team-card__media {
    aspect-ratio: 4 / 3.25;
  }

  .wh-team-card__body {
    min-height: 178px;
    padding: 10px 10px 11px;
  }

  .wh-team-card__title {
    font-size: .96rem;
  }

  .wh-team-card__contact-item {
    font-size: .67rem;
  }

  .wh-team-single__bio {
    padding: 22px 18px 24px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .wh-team-single__h2 {
    padding: 16px 18px;
  }
}

/* Mobile: Pfeile ausblenden (Galerie + Video) */
@media (max-width: 782px) {
  .wh-media-btn,
  .wh-vbtn {
    display: none !important;
  }
}

.wh-hund-lookup-entry {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wh-hund-lookup-entry img {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;

	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;

	display: block;
	box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.wh-hund-lookup-entry img {
	border: 2px solid #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
/* =========================================================
   Startseite: Astra/Footer-Abstand
   ========================================================= */

body.home.page-id-141 .site-main {
  padding-bottom: 0;
}

body.home.page-id-141 .entry-content > .wp-block-buttons:last-child {
  margin-bottom: 0;
}

/* Startseite: Erfolgsgeschichten – Luci mobil in gleicher Reihenfolge wie Pepper/Max */
@media (max-width: 782px) {
  .home .kadence-column141_33148d-54 > .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
  }

  .home .kadence-column141_33148d-54 > .kt-inside-inner-col > .wp-block-kadence-image {
    order: 3;
  }

  .home .kadence-column141_33148d-54 > .kt-inside-inner-col > h3 {
    order: 1;
  }

  .home .kadence-column141_33148d-54 > .kt-inside-inner-col > p {
    order: 2;
  }
}

/* =========================================================
   Startseite: Hunde-Slider mit Pfeilen + Dots
   ========================================================= */

.wh-home-hunde-teaser {
  --wh-home-gap: 34px;
  --wh-home-nav-size: 52px;
  --wh-home-dot-size: 10px;
  --wh-home-nav-top: 50%;
  --wh-home-nav-left: -26px;
  --wh-home-nav-right: -26px;

  position: relative;
  width: 100%;
  margin: 1.6rem 0 2.6rem;
  overflow: visible;
}

.wh-home-hunde-teaser__viewport {
  position: relative;
  margin: 0;
  padding: 10px 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wh-home-hunde-teaser__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.wh-home-hunde-teaser .wh-hund-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (2 * var(--wh-home-gap))) / 3);
  grid-template-columns: none;
  gap: var(--wh-home-gap);
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: start;
  overflow: visible;
}

.wh-home-hunde-teaser .wh-hund-card {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/*
 * Das komplette Kartendesign wird bewusst von den zentralen
 * Archivregeln geerbt: Bildformat, Rahmen, Schatten, Typografie,
 * Abstände, Status-Badges und Hover-Verhalten.
 */

.wh-home-hunde-teaser__controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 0;
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav {
  appearance: none;
  position: absolute;
  top: var(--wh-home-nav-top);
  transform: translateY(-50%);
  z-index: 40;

  width: var(--wh-home-nav-size);
  height: var(--wh-home-nav-size);
  border-radius: 999px;
  border: 1px solid #6B6B6B;
  background: #6B6B6B;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(107, 107, 107, .18);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    opacity .18s ease;
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav--prev {
  left: var(--wh-home-nav-left);
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav--next {
  right: var(--wh-home-nav-right);
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #6B6B6B;
  color: #ffffff;
  border-color: #6B6B6B;
  box-shadow: 0 16px 32px rgba(107, 107, 107, .24);
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav:disabled {
  opacity: .32;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(107, 107, 107, .16);
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav--prev::before {
  transform: rotate(-135deg);
}

.wh-home-hunde-teaser > .wh-home-hunde-teaser__nav--next::before {
  transform: rotate(45deg);
}

.wh-home-hunde-teaser__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 24px;
}

.wh-home-hunde-teaser__dot {
  appearance: none;
  width: var(--wh-home-dot-size);
  height: var(--wh-home-dot-size);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(107, 107, 107, .34);
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    opacity .18s ease;
}

.wh-home-hunde-teaser__dot:hover {
  transform: scale(1.08);
  background: rgba(107, 107, 107, .56);
}

.wh-home-hunde-teaser__dot.is-active {
  background: var(--wh-slider-dot);
  transform: scale(1.18);
}

@media (max-width: 980px) {
  .wh-home-hunde-teaser {
    --wh-home-gap: 20px;
  }

  .wh-home-hunde-teaser .wh-hund-grid {
    grid-auto-columns: calc((100% - var(--wh-home-gap)) / 2);
  }
}

@media (max-width: 782px) {
  .wh-home-hunde-teaser {
    --wh-home-gap: 16px;
    --wh-home-dot-size: 9px;
  }

  .wh-home-hunde-teaser__viewport {
    padding: 8px 0 14px;
  }

  .wh-home-hunde-teaser .wh-hund-grid {
    grid-auto-columns: 100%;
    gap: var(--wh-home-gap);
  }

  .wh-home-hunde-teaser .wh-hund-card {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    scroll-snap-align: center;
  }

  .wh-home-hunde-teaser > .wh-home-hunde-teaser__nav {
    display: none !important;
  }

  .wh-home-hunde-teaser__controls {
    margin-top: 6px;
  }

  .wh-home-hunde-teaser__dots {
    gap: 8px;
    min-height: 24px;
  }
}

/* Startseite: Kadence-Galerie „Tierschutz vor Ort“ – Controls wie Hunde-Slider */
.wh-project-gallery-slider {
  --wh-project-gallery-nav-size: var(--wh-home-nav-size, 52px);
  --wh-project-gallery-dot-size: var(--wh-home-dot-size, 10px);

  position: relative;
  overflow: visible;
}

.wh-project-gallery-slider .kt-blocks-carousel,
.wh-project-gallery-slider .splide {
  overflow: visible;
}

.wh-project-gallery-slider .splide__track {
  overflow: hidden;
}

.wh-project-gallery-slider .splide__arrow {
  width: var(--wh-project-gallery-nav-size) !important;
  height: var(--wh-project-gallery-nav-size) !important;
  border: 1px solid var(--wh-ui-border) !important;
  border-radius: 999px !important;
  background: var(--wh-ui-border) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(107, 107, 107, .18) !important;
}

.wh-project-gallery-slider .splide__arrow--prev {
  left: -64px !important;
}

.wh-project-gallery-slider .splide__arrow--next {
  right: -64px !important;
}

.wh-project-gallery-slider .splide__arrow:hover,
.wh-project-gallery-slider .splide__arrow:focus {
  background: var(--wh-ui-border) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.06) !important;
  box-shadow: 0 16px 32px rgba(107, 107, 107, .24) !important;
}

.wh-project-gallery-slider .splide__arrow svg {
  fill: currentColor !important;
}

.wh-project-gallery-slider .splide__pagination {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

.wh-project-gallery-slider .splide__pagination li {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
}

.wh-project-gallery-slider .splide__pagination__page,
.wh-project-gallery-slider.kt-carousel-dotstyle-outlinedark .splide__pagination__page {
  width: var(--wh-project-gallery-dot-size) !important;
  height: var(--wh-project-gallery-dot-size) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(107, 107, 107, .34) !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

.wh-project-gallery-slider .splide__pagination__page:hover {
  background: rgba(107, 107, 107, .56) !important;
  transform: scale(1.08) !important;
}

.wh-project-gallery-slider .splide__pagination__page.is-active,
.wh-project-gallery-slider.kt-carousel-dotstyle-outlinedark .splide__pagination__page.is-active {
  background: var(--wh-slider-dot) !important;
  transform: scale(1.18) !important;
}

@media (max-width: 782px) {
  .wh-project-gallery-slider {
    --wh-project-gallery-dot-size: 9px;
  }

  .wh-project-gallery-slider .splide__arrow {
    display: none !important;
  }

  .wh-project-gallery-slider .splide__pagination {
    gap: 8px !important;
  }
}

/* =========================================================
   Startseite: News/Aktuelles Teaser
   ========================================================= */

.wh-news-teaser {
  width: 100%;
  max-width: 100%;
  margin: 1.6rem 0 2.6rem;
  overflow: hidden;
}

.wh-news-teaser__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  overscroll-behavior-x: contain;
}

.wh-news-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.wh-news-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    box-shadow .28s cubic-bezier(.22,.61,.36,1);
}

.wh-news-card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.wh-news-card__image {
  display: block;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: #f4f1ee;
  border-radius: 26px 26px 0 0;
  position: relative;
}

.wh-news-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(58,46,53,0.10) 100%
  );
  opacity: .52;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: 1;
}

.wh-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

.wh-news-card:hover .wh-news-card__image::after {
  opacity: .72;
}

.wh-news-card:hover .wh-news-card__image img {
  transform: scale(1.05);
}

.wh-news-card__body {
  padding: 20px 20px 22px;
  background: #ffffff;
  border-radius: 0 0 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 350px;
  align-items: center;
  text-align: center;
}

.wh-news-card__title,
.wh-news-card__title a,
.wh-news-card__title a:link,
.wh-news-card__title a:visited,
.wh-news-card__title a:hover,
.wh-news-card__title a:focus,
.wh-news-card__title a:active {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 500;
  color: var(--wh-text) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.wh-news-card__title {
  min-height: calc(1.22em * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-news-card__excerpt {
  display: -webkit-box;
  min-height: calc(1.5em * 4);
  max-height: calc(1.5em * 4);
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(58, 46, 53, 0.78);
  font-weight: 500;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.wh-news-card__date {
  margin: auto 0 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(58, 46, 53, 0.62);
  font-weight: 600;
}

.wh-news-teaser__dots {
  display: none;
}

/* Tablet: 2 Karten */
@media (max-width: 980px) {
  .wh-news-teaser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobil: 1 Karte sichtbar, horizontal wischbar */
@media (max-width: 782px) {
  .wh-news-teaser__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 14px;
  }

  .wh-news-teaser__viewport::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .wh-news-teaser__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 16px;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: start;
  }

  .wh-news-card {
    width: 100%;
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .wh-news-card__body {
    min-height: 330px;
  }

  .wh-news-card__excerpt {
    min-height: calc(1.5em * 4);
    max-height: calc(1.5em * 4);
    -webkit-line-clamp: 4;
  }

  .wh-news-teaser__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin: 8px 0 0;
  }

    .wh-news-teaser__dot {
    appearance: none;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(107, 107, 107, .34);
    cursor: pointer;
    transition:
      transform .18s ease,
      background .18s ease,
      opacity .18s ease;
  }

  .wh-news-teaser__dot:hover {
    transform: scale(1.08);
    background: rgba(107, 107, 107, .56);
  }

  .wh-news-teaser__dot.is-active {
    background: var(--wh-slider-dot);
    transform: scale(1.18);
  }

  .wh-news-teaser__dot:focus,
  .wh-news-teaser__dot:focus-visible {
    outline: none;
    box-shadow: none;
  }
}



/* =========================================================
   Aktuelles / Spendenaufrufe: News-Grid-Modus
   Nutzt dieselben Cards wie die Startseite, aber ohne Mobile-Slider.
   ========================================================= */

.wh-news-teaser--grid,
.wh-news-teaser--overview {
  overflow: visible;
  margin: 2rem 0 3rem;
}

.wh-news-teaser--grid .wh-news-teaser__viewport,
.wh-news-teaser--overview .wh-news-teaser__viewport {
  overflow: visible;
  padding: 0;
}

.wh-news-teaser--grid .wh-news-teaser__grid,
.wh-news-teaser--overview .wh-news-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.wh-news-teaser--grid .wh-news-teaser__dots,
.wh-news-teaser--overview .wh-news-teaser__dots {
  display: none !important;
}

.wh-news-teaser__empty {
  max-width: 720px;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  color: rgba(58, 46, 53, 0.72);
  font-weight: 500;
}

@media (max-width: 980px) {
  .wh-news-teaser--grid .wh-news-teaser__grid,
  .wh-news-teaser--overview .wh-news-teaser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 782px) {
  .wh-news-teaser--grid .wh-news-teaser__viewport,
  .wh-news-teaser--overview .wh-news-teaser__viewport {
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .wh-news-teaser--grid .wh-news-teaser__grid,
  .wh-news-teaser--overview .wh-news-teaser__grid {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wh-news-teaser--grid .wh-news-card,
  .wh-news-teaser--overview .wh-news-card {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}


/* ---------------------------------------------------------
   13.1 Fotoecken
   Nutzung im Gutenberg-Editor:
   Bild-Block oder Bild-Wrapper bekommt:
   foto-ecke ecke-links
   oder:
   foto-ecke ecke-rechts
   --------------------------------------------------------- */

.foto-ecke {
  position: relative;
  overflow: visible !important;
}

.foto-ecke img {
  display: block !important;
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

.ecke-links::before,
.ecke-rechts::before {
  content: "";
  position: absolute;
  top: -20px;
  width: 152px;
  height: 152px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Freigezeichnete Außenlinie links */
.ecke-links::before {
  left: -20px;
  background-position: top left;
  background-image: url("data:image/svg+xml,%3Csvg width='152' height='152' viewBox='0 0 152 152' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 118 C 13 80, 13 45, 15 15 C 45 13, 80 13, 118 14' fill='none' stroke='%2387A732' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Freigezeichnete Außenlinie rechts */
.ecke-rechts::before {
  right: -20px;
  background-position: top right;
  background-image: url("data:image/svg+xml,%3Csvg width='152' height='152' viewBox='0 0 152 152' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M34 14 C 72 13, 107 13, 137 15 C 139 45, 139 80, 138 118' fill='none' stroke='%2387A732' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 782px) {
  .ecke-links::before,
  .ecke-rechts::before {
    top: -16px;
    width: 122px;
    height: 122px;
  }

  .ecke-links::before {
    left: -16px;
  }

  .ecke-rechts::before {
    right: -16px;
  }
}
/* =========================================================
   14. Gutenberg Deko-Elemente
   Nutzung im Gutenberg-Editor:
   Block auswählen → Erweitert → Zusätzliche CSS-Klasse(n)

   Beispiele:
   deko-unterstrich
   deko-welle
   deko-strahlen
   deko-ecke
   deko-marker

   Sinnvolle Kombinationen:
   deko-ecke deko-welle
   deko-ecke deko-unterstrich
   deko-strahlen deko-welle
   deko-strahlen deko-unterstrich
   ========================================================= */

/* ---------------------------------------------------------
   14.1 Basis für Überschriften-Deko
   --------------------------------------------------------- */

.deko-unterstrich,
.deko-welle,
.deko-strahlen,
.deko-strahlen-rechts,
.deko-ecke,
.deko-marker {
  position: relative !important;
  display: table !important;
  width: fit-content !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.deko-unterstrich > .wh-deko-text,
.deko-welle > .wh-deko-text,
.deko-strahlen > .wh-deko-text,
.deko-strahlen-rechts > .wh-deko-text,
.deko-ecke > .wh-deko-text,
.deko-marker > .wh-deko-text {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: visible;
}

/* Zentrierte Gutenberg- und Kadence-Überschriften bleiben zentriert */
.has-text-align-center.deko-unterstrich,
.has-text-align-center.deko-welle,
.has-text-align-center.deko-strahlen,
.has-text-align-center.deko-strahlen-rechts,
.has-text-align-center.deko-ecke,
.has-text-align-center.deko-marker,
.wp-block-heading.has-text-align-center.deko-unterstrich,
.wp-block-heading.has-text-align-center.deko-welle,
.wp-block-heading.has-text-align-center.deko-strahlen,
.wp-block-heading.has-text-align-center.deko-strahlen-rechts,
.wp-block-heading.has-text-align-center.deko-ecke,
.wp-block-heading.has-text-align-center.deko-marker,
.wp-block-kadence-advancedheading.deko-unterstrich,
.wp-block-kadence-advancedheading.deko-welle,
.wp-block-kadence-advancedheading.deko-strahlen,
.wp-block-kadence-advancedheading.deko-strahlen-rechts,
.wp-block-kadence-advancedheading.deko-ecke,
.wp-block-kadence-advancedheading.deko-marker {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* Linksbündige Gutenberg-Überschriften bleiben linksbündig */
.has-text-align-left.deko-unterstrich,
.has-text-align-left.deko-welle,
.has-text-align-left.deko-strahlen,
.has-text-align-left.deko-strahlen-rechts,
.has-text-align-left.deko-ecke,
.has-text-align-left.deko-marker,
.wp-block-heading.has-text-align-left.deko-unterstrich,
.wp-block-heading.has-text-align-left.deko-welle,
.wp-block-heading.has-text-align-left.deko-strahlen,
.wp-block-heading.has-text-align-left.deko-strahlen-rechts,
.wp-block-heading.has-text-align-left.deko-ecke,
.wp-block-heading.has-text-align-left.deko-marker {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left;
}

/* ---------------------------------------------------------
   14.2 Gerader, weicher Unterstrich
   --------------------------------------------------------- */

.deko-unterstrich > .wh-deko-text::after {
  content: "";
  display: block;
  width: calc(100% - 14px);
  max-width: 430px;
  min-width: 150px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(135, 167, 50, 0.10) 0%,
      #87A732 10%,
      #87A732 90%,
      rgba(135, 167, 50, 0.10) 100%
    );
  transform: rotate(-1deg);
}

/* ---------------------------------------------------------
   14.3 Freigezeichnete Wellenlinie
   --------------------------------------------------------- */

.deko-welle > .wh-deko-text::after {
  content: "";
  display: block;
  width: calc(100% - 12px);
  max-width: 440px;
  min-width: 170px;
  height: 18px;
  margin: 10px auto 0;
  background-image: url("data:image/svg+xml,%3Csvg width='440' height='24' viewBox='0 0 440 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 13 C 42 4, 70 19, 108 11 S 170 5, 215 13 S 295 20, 434 8' fill='none' stroke='%2387A732' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: rotate(-1deg);
}

/* ---------------------------------------------------------
   14.4 Kleiner Strahlen-Akzent
   --------------------------------------------------------- */

.deko-strahlen > .wh-deko-text::before,
.deko-strahlen-rechts > .wh-deko-text::before {
  content: "";
  position: absolute;
  top: -.34em;
  width: .74em;
  height: .62em;
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='28' viewBox='0 0 34 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 4 C 17 7, 17 9, 17 12' stroke='%238C3A76' stroke-width='4.3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M28 9 C 26 11, 24 13, 21 15' stroke='%238C3A76' stroke-width='4.3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M6 10 C 8 12, 11 14, 14 16' stroke='%238C3A76' stroke-width='4.3' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transform-origin: center center;
}

.deko-strahlen > .wh-deko-text::before {
  left: var(--wh-deko-rays-left, -.50em);
  transform: rotate(-14deg);
}

.deko-strahlen-rechts > .wh-deko-text::before {
  right: auto;
  left: var(--wh-deko-rays-right, calc(100% - .24em));
  transform: rotate(14deg) scaleX(-1);
}

/* ---------------------------------------------------------
   14.5 Freigezeichnete Überschriften-Ecke
   --------------------------------------------------------- */

.deko-ecke > .wh-deko-text {
  padding-top: 2px;
  padding-right: .62em;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='40' viewBox='0 0 48 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 8 C 17 7, 25 7, 36 8 C 37 16, 37 23, 36 32' fill='none' stroke='%2387A732' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: .72em .62em;
  background-position: right 0 top .02em;
}

/* ---------------------------------------------------------
   14.6 Marker-Hintergrund
   --------------------------------------------------------- */

.deko-marker > .wh-deko-text {
  z-index: 1;
  padding: 0 .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background:
    linear-gradient(
      180deg,
      transparent 54%,
      rgba(135, 167, 50, 0.28) 54%,
      rgba(135, 167, 50, 0.28) 88%,
      transparent 88%
    );
}

/* ---------------------------------------------------------
   14.7 Mobile Feinanpassung
   --------------------------------------------------------- */

@media (max-width: 782px) {
  .deko-strahlen > .wh-deko-text::before,
  .deko-strahlen-rechts > .wh-deko-text::before {
    top: -.30em;
    width: .66em;
    height: .56em;
  }

  .deko-strahlen > .wh-deko-text::before {
  left: var(--wh-deko-rays-left, -.44em);
}

.deko-strahlen-rechts > .wh-deko-text::before {
  right: auto;
  left: var(--wh-deko-rays-right, calc(100% - .22em));
}

  .deko-ecke > .wh-deko-text {
    padding-right: .58em;
    background-size: .66em .56em;
    background-position: right 0 top .04em;
  }

  .deko-welle > .wh-deko-text::after {
    width: calc(100% - 10px);
    min-width: 140px;
  }

  .deko-unterstrich > .wh-deko-text::after {
    width: calc(100% - 12px);
    min-width: 130px;
  }
}


/* =========================================================
   Hunde Archiv: Hero-Dog PNG Microanimation
   Testphase: nur /hund/
   ========================================================= */

.wh-animated-hero {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.wh-animated-hero .page-title {
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: wh-hero-title-enter 1.05s cubic-bezier(.22,.61,.36,1) both;
}

.wh-hero-title-text {
  position: relative;
  display: inline-block;
}

.wh-animated-hero .page-title::after {
  content: none !important;
  display: none !important;
}

.wh-animated-hero .wh-hero-title-text::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wh-green) 0%, rgba(143, 175, 154, 0.18) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .2;
  animation: wh-line-in .72s cubic-bezier(.22,.61,.36,1) .55s forwards;
}

.wh-hero-dog {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: -.18rem;
  margin-bottom: -.12em;
  width: 2.05em;
  height: 2.05em;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translateX(-.25rem) translateY(.08em) scale(.96);
  animation: wh-hero-dog-enter-blink-fade 3.4s cubic-bezier(.22,.61,.36,1) both;
}

.wh-hero-dog__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateX(-.34em) translateY(-.08em) scale(1.28);
  transform-origin: center;
}

.wh-hero-dog__img--open {
  opacity: 1;
}

.wh-hero-dog__img--blink {
  opacity: 0;
  animation: wh-hero-dog-blink-frame 3.4s linear both;
}

@keyframes wh-hero-title-enter {
  0% {
    opacity: 0;
    transform: translateX(-.45rem) translateY(.25rem);
    filter: blur(5px);
  }
  65% {
    opacity: 1;
    transform: translateX(.12rem) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

@keyframes wh-hero-dog-enter-blink-fade {
  0% {
    opacity: 0;
    transform: translateX(-.45rem) translateY(.08em) scale(.96);
  }
  20% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
  84% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes wh-hero-dog-blink-frame {
  0%, 34%, 43%, 60%, 69%, 100% {
    opacity: 0;
  }
  37%, 40%, 63%, 66% {
    opacity: 1;
  }
}

@media (max-width: 782px) {
  .wh-hero-dog {
    margin-left: -.22rem;
    margin-bottom: -.04em;
    width: 1.85em;
    height: 1.85em;
  }

  .wh-hero-dog__img {
    transform: translateX(-.30em) translateY(-.08em) scale(1.32);
  }

  .wh-animated-hero .page-title {
    display: inline-block;
    max-width: 100%;
    animation-duration: .95s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wh-animated-hero .page-title,
  .wh-hero-dog,
  .wh-hero-dog__img--blink {
    animation: none !important;
  }

  .wh-animated-hero .page-title {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .wh-hero-dog {
    display: none;
  }
}

/* Wiederverwendbarer Blockeditor-Aufbau */
.wh-section-reveal > .kt-inside-inner-col > * {
  opacity: 0;
  transform: translateY(42px) scale(.96);
  filter: blur(10px);
  animation: wh-build-card 1.85s cubic-bezier(.22,.61,.36,1) forwards;
}

.wh-section-reveal > .kt-inside-inner-col > *:nth-child(1) { animation-delay: .06s; }
.wh-section-reveal > .kt-inside-inner-col > *:nth-child(2) { animation-delay: .14s; }
.wh-section-reveal > .kt-inside-inner-col > *:nth-child(3) { animation-delay: .22s; }
.wh-section-reveal > .kt-inside-inner-col > *:nth-child(4) { animation-delay: .30s; }
.wh-section-reveal > .kt-inside-inner-col > *:nth-child(5) { animation-delay: .38s; }
.wh-section-reveal > .kt-inside-inner-col > *:nth-child(n+6) { animation-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .wh-section-reveal > .kt-inside-inner-col > * {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

/* Single Hund – Videos-Deko Desktop/Mobile wie Album-Welle */
.single-hund .wh-profile-videos .wh-section-head.deko-welle {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.single-hund .wh-profile-videos .wh-section-head.deko-welle > .wh-deko-text {
  min-width: min(430px, calc(100vw - 32px));
  text-align: center;
}

.single-hund .wh-profile-videos .wh-section-head.deko-welle > .wh-deko-text::after {
  width: 100% !important;
  max-width: 430px !important;
  height: 18px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background-size: 100% 100% !important;
}

@media (max-width: 782px) {
  .single-hund .wh-profile-videos .wh-section-head.deko-welle > .wh-deko-text {
    min-width: min(300px, calc(100vw - 32px));
  }

  .single-hund .wh-profile-videos .wh-section-head.deko-welle > .wh-deko-text::after {
    width: 100% !important;
    max-width: 300px !important;
    height: 18px !important;
    background-size: 100% 100% !important;
  }
}

