/* Zusaetzliche OPC- und Bereichs-Styles. Zentrale Datei: themes/my-nova/zusatz.css. */

/* === Vorteilsleiste === */
/* OPC-Vorteilsstreifen: eigenstaendig, ohne Smarty-/custom.css-Aenderung. */
.hh-usp-strip,
.hh-usp-strip * { box-sizing: border-box; }
.hh-usp-strip {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 115px;
    min-height: 0;
    margin: 0 auto;
    padding: 12px 105px 12px 280px;
    overflow: hidden;
    background: #fcf7ee;
    color: #183039;
    font-family: 'Nunito Sans', sans-serif;
}
.hh-usp-strip__decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    height: 98px;
    object-fit: contain;
    opacity: .8;
    pointer-events: none;
    user-select: none;
}
.hh-usp-strip__decoration--left { left: 4px; width: 155px; object-position: left center; }
.hh-usp-strip__decoration--right { right: 5px; width: 90px; object-position: right center; }
.hh-usp-strip__list {
    position: relative;
    display: grid;
    height: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
}
.hh-usp-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 16px;
    text-align: center;
}
.hh-usp-strip__item + .hh-usp-strip__item { border-left: 1px solid #e8dfd2; }
.hh-usp-strip__icon { color: #ec4b2e; font-size: 32px; line-height: 1; margin: 0 0 6px; }
.hh-usp-strip .hh-usp-strip__text { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.2; }
/* Rueckfall auf schmalen OPC-Spalten; Desktop-Abnahme bleibt bei 1440 px. */
@media (max-width: 1199px) {
    .hh-usp-strip { padding: 12px 68px 12px 170px; }
    .hh-usp-strip__decoration--left { width: 140px; }
    .hh-usp-strip__decoration--right { width: 75px; }
    .hh-usp-strip__item { padding: 0 10px; }
    .hh-usp-strip .hh-usp-strip__text { display: block; font-size: 15px; }
}
@media (max-width: 767px) {
    .hh-usp-strip { height: auto; min-height: 115px; padding: 20px; }
    .hh-usp-strip__decoration { display: none; }
    .hh-usp-strip__list { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
    .hh-usp-strip__item { min-height: 90px; }
    .hh-usp-strip__item + .hh-usp-strip__item { border-left: 0; }
    .hh-usp-strip__item:nth-child(even) { border-left: 1px solid #e8dfd2; }
    .hh-usp-strip__item:last-child { grid-column: 1 / -1; }
}

/* === Groessen-Ueberschrift === */
/* Zwei getrennte HTML-Portlets in einer OPC-Zeile (9/3 oder 10/2). */
.hh-size-heading-row { align-items: center; }
.hh-size-heading-left,
.hh-size-heading-right {
    display: flex;
    align-items: center;
    min-height: 62px;
}
.hh-size-heading-left { gap: 14px; }
.hh-size-heading-left__paw {
    flex: 0 0 auto;
    color: #ec4b2e;
    font-size: 34px;
    line-height: 1;
}
.hh-size-heading-left .hh-size-heading-left__title {
    margin: 0;
    color: #183039;
    font: 700 22px/1.25 'Nunito Sans', sans-serif;
    letter-spacing: normal;
}
.hh-size-heading-right { justify-content: flex-end; }
.hh-size-heading-right .hh-size-heading-right__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #df482c;
    font: 600 17px/1.3 'Nunito Sans', sans-serif;
    text-decoration: none;
    white-space: nowrap;
}
.hh-size-heading-right__link[href]:hover { text-decoration: underline; }
.hh-size-heading-right__link[href]:focus-visible { outline: 2px solid #354e3d; outline-offset: 5px; }
.hh-size-heading-right__arrow { font: 400 26px/1 Nunito Sans, sans-serif; }

/* === Acht Groessen-Kacheln: XXS, XS, SM, S, M, L, XL, XXL === */
.hh-size-cards,
.hh-size-cards * { box-sizing: border-box; }
.hh-size-cards {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.hh-size-cards > .hh-size-cards__item { min-width: 0; margin: 0; padding: 0; }
.hh-size-cards .hh-size-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #f8f1e6;
    color: #183039;
    text-decoration: none;
    transition: box-shadow .15s ease;
}
.hh-size-card__label { display: block; min-height: 50px; padding: 6px 12px; }
.hh-size-card__name { display: block; color: #183039; font: 700 18px/1.1 'Nunito Sans', sans-serif; }
.hh-size-card__range { display: block; margin-top: 2px; color: #183039; font: 400 14px/1.2 'Nunito Sans', sans-serif; white-space: nowrap; }
.hh-size-cards .hh-size-card__photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    margin: 0;
}
.hh-size-cards .hh-size-card:hover { color: #183039; text-decoration: none; box-shadow: 0 3px 14px rgb(53 78 61 / 14%); }
.hh-size-cards .hh-size-card:focus-visible { outline: 3px solid #df482c; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hh-size-cards .hh-size-card { transition: none; } }

/* === Darum lieben uns Hundebesitzer: eigener OPC-Block === */
.hh-love-band,
.hh-love-band * { box-sizing: border-box; }
.hh-love-band {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    min-height: 150px;
    margin: 0 auto;
    padding: 12px 160px 14px;
    overflow: hidden;
    border-radius: 16px;
    background: #fcf7ee;
    color: #183039;
    font-family: 'Nunito Sans', sans-serif;
}
.hh-love-band .hh-love-band__title {
    position: relative;
    margin: 0 0 8px;
    color: #183039;
    font: 800 22px/1.2 'Nunito Sans', sans-serif;
    text-align: center;
}
.hh-love-band__title-heart { color: #ec4b2e; font-size: 24px; margin-left: 5px; vertical-align: -1px; }
.hh-love-band__decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}
.hh-love-band__decoration--left { left: 7px; }
.hh-love-band__decoration--right { right: 7px; }
.hh-love-band__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.hh-love-band .hh-love-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    margin: 0;
    padding: 0 16px;
    text-align: center;
}
.hh-love-band__item + .hh-love-band__item { border-left: 1px solid #e8dfd2; }
.hh-love-band__icon { display: block; color: #ec4b2e; font-size: 32px; line-height: 1; margin-bottom: 6px; }
.hh-love-band .hh-love-band__leaf { width: 32px; height: 32px; max-width: none; }
.hh-love-band .hh-love-band__text { margin: 0; color: #183039; font: 400 16px/1.2 'Nunito Sans', sans-serif; }

/* === Startseiten-Hero: exakt 1092 x 615 px bei voller Entwurfsbreite === */
.hh-home-hero,
.hh-home-hero * { box-sizing: border-box; }
.hh-home-hero {
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    width: 100%;
    max-width: 1092px;
    aspect-ratio: 1092 / 615;
    margin: 0 auto;
    overflow: hidden;
    background: #fcf7ee;
    color: #354e3d;
}
.hh-home-hero .hh-home-hero__background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; }
.hh-home-hero__copy {
    position: absolute;
    z-index: 1;
    left: 3.5%;
    top: 17%;
    width: 39%;
    transform: rotate(-3deg);
    transform-origin: left center;
}
.hh-home-hero .hh-home-hero__intro {
    margin: 0 0 6px;
    color: #df482c;
    font: 600 64px/1.05 'Caveat', cursive;
    font-size: 5.85cqw;
}
.hh-home-hero .hh-home-hero__title { margin: 0; color: #354e3d; font: 700 52px/1.02 Georgia, 'Times New Roman', serif; font-size: 4.76cqw; letter-spacing: -.035em; }
.hh-home-hero .hh-home-hero__description { margin: 18px 0 0; margin-top: 1.65cqw; color: #354e3d; font: 400 18px/1.35 'Nunito Sans', sans-serif; font-size: 1.65cqw; }
.hh-home-hero .hh-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    margin-top: 1.83cqw;
    padding: 14px 25px;
    padding: 1.28cqw 2.29cqw;
    border-radius: 999px;
    background: #e94b2d;
    color: #fffdf9;
    font: 700 21px/1.2 'Nunito Sans', sans-serif;
    font-size: 1.92cqw;
    text-decoration: none;
    white-space: nowrap;
}
.hh-home-hero .hh-home-hero__button:hover { color: #fffdf9; background: #ca3d23; text-decoration: none; }
.hh-home-hero .hh-home-hero__button:focus-visible { outline: 3px solid #354e3d; outline-offset: 4px; }
.hh-home-hero .hh-home-hero__note { position: absolute; z-index: 1; width: 19%; margin: 0; color: #354e3d; font: 600 32px/1.02 'Caveat', cursive; font-size: 2.93cqw; text-align: center; transform: rotate(-9deg); }
.hh-home-hero__note--top { right: 6.1%; top: 25%; }
.hh-home-hero__note--bottom { right: 4.7%; top: 64%; }
.hh-home-hero__note-heart { position: absolute; z-index: 1; right: 6%; top: 39%; color: #ec4b2e; font: 400 36px/1 Nunito Sans, sans-serif; font-size: 3.3cqw; transform: rotate(-7deg); }
.hh-home-hero .hh-home-hero__arrow { position: absolute; z-index: 1; right: 10%; top: 44%; width: 8%; height: 18%; object-fit: contain; margin: 0; }
#hh-groessen { scroll-margin-top: 160px; }

/* MD: Vorteils-Icons mit Text, ohne Zweige; vier Hunde pro Zeile. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hh-usp-strip { padding: 12px 16px; }
    .hh-usp-strip__decoration { display: none; }
    .hh-usp-strip__icon { margin: 0 0 6px; }
    .hh-size-heading-right { display: none; }
    .row > [class*='col']:has(.hh-size-heading-right) { display: none; }
    .row > [class*='col']:has(.hh-size-heading-left) { flex: 0 0 100%; max-width: 100%; }
    .hh-size-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* LG: Groessen-Ueberschrift weiterhin einzeilig neben dem Link. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hh-size-heading-left { gap: 8px; }
    .hh-size-heading-left__paw { font-size: 28px; }
    .hh-size-heading-left .hh-size-heading-left__title { font-size: 16px; white-space: nowrap; }
}

/* Lokal bereitgestellte Handschrift fuer Footer und Hero. */
@font-face {
    font-family: 'Caveat';
    src: url('../../assets/fonts/caveat/Caveat-variable.ttf') format('truetype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* XS bis MD: kompakte Vorteile und einspaltiger Kundenliebe-Bereich. */
@media (max-width: 991.98px) {
    .hh-opc-groessen-link { display: none !important; }
    .row > [class*='col']:has(.hh-opc-groessen-link) { display: none !important; }
    .row > [class*='col']:has(.hh-opc-groessen-titel) { flex: 0 0 100%; max-width: 100%; }
    .hh-size-heading-right { display: none; }
    .row > [class*='col']:has(.hh-size-heading-right) { display: none; }
    .row > [class*='col']:has(.hh-size-heading-left) { flex: 0 0 100%; max-width: 100%; }
    .hh-usp-strip { height: auto; min-height: 0; margin-top: 28px; padding: 12px; }
    .hh-usp-strip__decoration { display: none; }
    .hh-usp-strip__list {
        height: auto;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px 0;
    }
    .hh-usp-strip__item {
        grid-column: span 2;
        min-height: 62px;
        padding: 0 6px;
    }
    .hh-usp-strip__item:nth-child(4),
    .hh-usp-strip__item:last-child { grid-column: span 3; }
    .hh-usp-strip__item + .hh-usp-strip__item { border-left: 0; }
    .hh-usp-strip__icon { font-size: 24px; margin: 0 0 5px; }
    .hh-usp-strip .hh-usp-strip__text { display: block; font-size: 12px; line-height: 1.2; }
    .hh-love-band { min-height: 0; padding: 16px; }
    .hh-love-band__decoration { display: none; }
    .hh-love-band .hh-love-band__title { margin-bottom: 12px; font-size: 20px; }
    .hh-love-band__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hh-love-band .hh-love-band__item {
        flex-direction: row;
        gap: 12px;
        min-height: 58px;
        padding: 10px 0;
        text-align: left;
    }
    .hh-love-band__item + .hh-love-band__item { border-left: 0; border-top: 1px solid #e8dfd2; }
    .hh-love-band__icon { flex: 0 0 28px; width: 28px; font-size: 26px; margin: 0; text-align: center; }
    .hh-love-band .hh-love-band__leaf { width: 28px; height: 28px; }
    .hh-love-band .hh-love-band__text { flex: 0 1 220px; font-size: 14px; line-height: 1.3; }
}
/* SM/MD: acht Bilder in zwei Reihen; XS: vier Reihen mit je zwei Bildern. */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hh-size-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 575.98px) {
    .hh-size-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hh-size-card__label { padding: 7px 10px; }
}

/* SM und XS: Abstand an den OPC-Portlets, nicht an den inneren HTML-Bloecken. */
@media (max-width: 767.98px) {
    .hh-opc-vorteile { margin-bottom: 10px; }
    .hh-opc-groessen-titel { margin-top: 0; margin-bottom: 10px; }
    .hh-opc-groessen-bilder { margin-top: 0; }
}

/* FAQ-Aufklappmenü */
.hh-faq-menu {
  --faq-text: #243a38;
  --faq-green: #304c3c;
  --faq-cream: #f8f1e6;
  --faq-border: #e6ddcf;
  --faq-accent: #df482c;

  margin: 24px 0 36px;
  font-family: "Nunito Sans", Arial, sans-serif;
}

.hh-faq-menu > [itemprop="mainEntity"] {
  margin-bottom: 12px;
}

.hh-faq-menu .card {
  margin: 0;
  border: 1px solid var(--faq-border);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: none;
}

.hh-faq-menu .card-header {
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

.hh-faq-menu .card-header .h2 {
  margin: 0;
  font-size: inherit;
}

/* Fragen: einzeilig ca. 48 px hoch */
.hh-faq-menu .card-header .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 13px;
  background: var(--faq-cream);
  color: var(--faq-text);
  font: 700 16px/1.4 "Nunito Sans", Arial, sans-serif;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease;
}

.hh-faq-menu .card-header .btn [itemprop="name"] {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Vorhandene Pfeile ausblenden */
.hh-faq-menu .card-header .btn::before,
.hh-faq-menu .card-header .btn > i,
.hh-faq-menu .card-header .btn > svg {
  display: none;
}

/* Pluszeichen */
.hh-faq-menu .card-header .btn::after {
  content: "+";
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--faq-accent);
  font: 400 27px/28px Arial, sans-serif;
  text-align: center;
  transform: none;
}

.hh-faq-menu .card-header .btn:hover {
  background: #efe5d6;
  color: var(--faq-green);
  text-decoration: none;
}

/* Geöffnete Frage */
.hh-faq-menu .card-header .btn[aria-expanded="true"] {
  border-radius: 13px 13px 0 0;
  background: var(--faq-green);
  color: #fffaf3;
}

.hh-faq-menu .card-header .btn[aria-expanded="true"]::after {
  content: "\2212";
  color: #fffaf3;
}

/* Tastaturbedienung */
.hh-faq-menu .card-header .btn:focus-visible {
  outline: 3px solid var(--faq-accent);
  outline-offset: 3px;
}

/* Antworten */
.hh-faq-menu .card-body {
  padding: 18px 16px 20px;
  color: var(--faq-text);
  font: 400 16px/1.75 "Nunito Sans", Arial, sans-serif;
}

.hh-faq-menu .card-body p:last-child {
  margin-bottom: 0;
}

.hh-faq-menu .card-body a {
  color: var(--faq-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hh-faq-menu .card-body a:hover {
  color: var(--faq-accent);
}

/* Mobil: lange Fragen dürfen umbrechen */
@media (max-width: 575.98px) {
  .hh-faq-menu .card-header .btn {
    gap: 12px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .hh-faq-menu .card-body {
    padding: 16px 14px 20px;
  }
}

/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
  .hh-faq-menu .card-header .btn,
  .hh-faq-menu .collapsing {
    transition: none;
  }
}
