/* =========================================================
   HUNDETRAINER MIT HERZ
   GEMEINSAME CSS-BASIS FÜR ALLE UNTERSEITEN

   Prinzip:
   - Tiefblau trägt die Seite
   - Türkis führt den Blick
   - Beige bleibt einzelnen Karten vorbehalten
   - gleiche Breiten, Abstände, Buttons und CTA-Struktur
   - Startseite bleibt unangetastet
   ========================================================= */


/* =========================================================
   01 – FARBEN
   ========================================================= */

:root {
  --hmh-blue-deep: #14374b;
  --hmh-blue-mid: #1b4357;
  --hmh-blue-soft: #244b60;
  --hmh-blue-card: #193d52;

  --hmh-cream: #fffaf3;
  --hmh-cream-soft: #f7f2ea;

  --hmh-turquoise: #0f7770;
  --hmh-turquoise-light: #8fd7d5;

  --hmh-orange: #e4a12b;

  --hmh-text-dark: #173b50;
  --hmh-text-body: #354b56;

  --hmh-white-soft: rgba(255, 255, 255, 0.90);
  --hmh-white-muted: rgba(255, 255, 255, 0.78);

  --hmh-border-light: rgba(255, 255, 255, 0.14);
  --hmh-border-dark: rgba(105, 82, 54, 0.16);

  --hmh-shadow-soft:
    0 0.8rem 2rem rgba(0, 0, 0, 0.14);

  --hmh-shadow-strong:
    0 1.2rem 3rem rgba(0, 0, 0, 0.22);
}


/* =========================================================
   02 – GRUNDSEITE
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body.subpage-body,
body.welpentraining-page,
body.wesenstest-page,
body.problemhunde-page,
body.tierschutzhunde-page,
body.listenhunde-page,
body.hausbesuche-page,
body.familienhund-page,
body.erster-hund-page {
  background: var(--hmh-blue-deep);
  color: #ffffff;
}

.subpage,
main.subpage,
body.subpage-body main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--hmh-blue-deep);
}

.subpage img,
body.subpage-body main img {
  max-width: 100%;
}


/* =========================================================
   03 – HEADER DER UNTERSEITEN
   vorläufig einheitlich, endgültige Navigation später
   ========================================================= */

body.subpage-body .site-header,
body.welpentraining-page .site-header,
body.wesenstest-page .site-header {
  width: 100%;
  background: rgba(36, 55, 70, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.subpage-body .header-inner,
body.welpentraining-page .header-inner,
body.wesenstest-page .header-inner {
  width: min(92vw, 88rem);
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: clamp(1.5rem, 4vw, 3rem);

  min-height: 5rem;
}

body.subpage-body .logo,
body.welpentraining-page .logo,
body.wesenstest-page .logo {
  display: flex;
  align-items: center;

  gap: 0.75rem;

  flex: 0 0 auto;

  color: #ffffff;
  text-decoration: none;
}

body.subpage-body .logo img,
body.welpentraining-page .logo img,
body.wesenstest-page .logo img {
  display: block;

  width: 3.75rem;
  height: 3.75rem;

  object-fit: contain;
}

body.subpage-body .logo-text,
body.welpentraining-page .logo-text,
body.wesenstest-page .logo-text {
  display: flex;
  flex-direction: column;
}

body.subpage-body .logo-text strong,
body.welpentraining-page .logo-text strong,
body.wesenstest-page .logo-text strong {
  color: #ffffff;

  font-family: var(--font-heading, Georgia, serif);

  font-size: 1.22rem;
  line-height: 1.1;
}

body.subpage-body .logo-text span,
body.welpentraining-page .logo-text span,
body.wesenstest-page .logo-text span {
  margin-top: 0.15rem;

  color: #bfe9e8;

  font-size: 0.83rem;
}

body.subpage-body .main-nav,
body.welpentraining-page .main-nav,
body.wesenstest-page .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;

  gap: clamp(0.7rem, 1.5vw, 1.35rem);
}

body.subpage-body .main-nav a,
body.welpentraining-page .main-nav a,
body.wesenstest-page .main-nav a {
  color: #f7fafb;

  font-size: 0.91rem;
  font-weight: 600;

  line-height: 1.2;

  text-decoration: none;

  outline: none;
}

body.subpage-body .main-nav a:hover,
body.welpentraining-page .main-nav a:hover,
body.wesenstest-page .main-nav a:hover {
  color: var(--hmh-turquoise-light);
}


/* =========================================================
   04 – GEMEINSAME TYPOGRAFIE
   ========================================================= */

.subpage h1,
.subpage h2,
.subpage h3,
body.subpage-body main h1,
body.subpage-body main h2,
body.subpage-body main h3 {
  font-family: var(--font-heading, Georgia, serif);
}

.subpage h2,
body.subpage-body main h2 {
  margin-top: 0;
  margin-bottom: 1.4rem;

  font-size: clamp(2rem, 3.6vw, 3.2rem);

  line-height: 1.12;
}

.subpage h3,
body.subpage-body main h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;

  font-size: clamp(1.3rem, 2vw, 1.6rem);

  line-height: 1.2;
}

.subpage p,
body.subpage-body main p {
  margin-top: 0;
}

.subpage-eyebrow,
.eyebrow {
  margin-bottom: 0.75rem;

  color: var(--hmh-turquoise-light);

  font-size: 0.78rem;
  font-weight: 800;

  line-height: 1.3;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}

.subpage-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);

  line-height: 1.55;

  font-weight: 600;
}


/* =========================================================
   05 – GEMEINSAMER HERO
   ========================================================= */

.subpage-hero,
.hero-section,
.puppy-hero,
.erster-hund-hero {
  width: 100%;

  background:
    linear-gradient(
      180deg,
      var(--hmh-blue-deep) 0%,
      var(--hmh-blue-mid) 100%
    );

  color: #ffffff;

  padding:
    clamp(3.5rem, 7vw, 6rem)
    0
    clamp(4rem, 7vw, 6rem);
}

.subpage-hero__grid,
.hero-grid,
.puppy-hero {
  width: min(90vw, 76rem);

  margin-inline: auto;
}

.subpage-hero__grid,
.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: clamp(3rem, 6vw, 5rem);
}

.puppy-hero {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: clamp(3rem, 6vw, 5rem);
}

.subpage-hero__content,
.hero-content,
.puppy-hero-content {
  min-width: 0;
}

.subpage-hero h1,
.hero-section h1,
.puppy-hero h1,
.erster-hund-hero h1 {
  margin:
    0
    0
    1.5rem;

  color: #ffffff;

  font-size: clamp(2.6rem, 5vw, 4.5rem);

  line-height: 1.04;
}

.subpage-hero h1 span,
.hero-section h1 span,
.puppy-hero h1 span {
  color: var(--hmh-turquoise-light);
}

.subpage-hero__lead,
.hero-text,
.puppy-hero-content > p:not(.eyebrow) {
  max-width: 42rem;

  color: var(--hmh-white-soft);

  font-size: clamp(1.05rem, 1.5vw, 1.18rem);

  line-height: 1.65;
}

.subpage-hero__image,
.hero-image,
.puppy-hero-image {
  position: relative;

  padding: 0.75rem;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid var(--hmh-border-light);

  border-radius: 1.25rem;

  box-shadow: var(--hmh-shadow-strong);
}

.subpage-hero__image img,
.hero-image img,
.puppy-hero-image img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center top;

  border-radius: 0.9rem;
}


/* =========================================================
   06 – BUTTONS
   ========================================================= */

.subpage-actions,
.hero-buttons,
.buttons,
.cta-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 0.9rem;

  margin-top: 2rem;
}


.subpage .btn,
body.subpage-body .btn,
body.welpentraining-page .btn,
body.wesenstest-page .btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 0.55rem;

  min-height: 3.1rem;

  padding: 0.8rem 1.4rem;

  border-radius: 999px;

  font-size: 0.96rem;
  font-weight: 800;

  line-height: 1;

  text-decoration: none;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.subpage .btn:hover,
body.subpage-body .btn:hover {
  transform: translateY(-2px);
}


/* ---------------------------------------------------------
   TELEFON / PRIMÄRER BUTTON
   --------------------------------------------------------- */

.btn-primary {
  color: #ffffff !important;

  background: var(--hmh-turquoise) !important;

  border: 1px solid var(--hmh-turquoise) !important;
}


.btn-primary:hover {
  background: #0d6862 !important;

  border-color: #0d6862 !important;

  box-shadow:
    0 0.45rem 1rem
    rgba(15, 119, 112, 0.22);
}


/* ---------------------------------------------------------
   NORMALER SEKUNDÄRER BUTTON
   --------------------------------------------------------- */

.btn-secondary {
  color: #ffffff !important;

  background: rgba(255, 255, 255, 0.08) !important;

  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}


.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;

  border-color: rgba(255, 255, 255, 0.45) !important;
}


/* ---------------------------------------------------------
   WHATSAPP

   Jeder Link zu wa.me bekommt automatisch:
   - WhatsApp-Grün
   - weißes Symbol
   - eigene Hover-Farbe

   Keine Änderung am HTML nötig.
   --------------------------------------------------------- */

.subpage a.btn[href^="https://wa.me/"],
body.subpage-body a.btn[href^="https://wa.me/"],
body.welpentraining-page a.btn[href^="https://wa.me/"],
body.wesenstest-page a.btn[href^="https://wa.me/"] {
  color: #ffffff !important;

  background: #25D366 !important;

  border-color: #25D366 !important;

  box-shadow:
    0 0.4rem 1rem
    rgba(37, 211, 102, 0.18);
}


.subpage a.btn[href^="https://wa.me/"]::before,
body.subpage-body a.btn[href^="https://wa.me/"]::before,
body.welpentraining-page a.btn[href^="https://wa.me/"]::before,
body.wesenstest-page a.btn[href^="https://wa.me/"]::before {
  content: "";

  display: inline-block;

  flex: 0 0 auto;

  width: 1.15rem;
  height: 1.15rem;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Cpath d='M10.5 23.5l1.2-3.6a9 9 0 1 1 3.1 2.2z'/%3E%3Cpath d='M12.6 11.7c.4-.5.8-.5 1.2-.1l1.5 1.8c.3.4.3.7.1 1.1l-.7 1c-.2.3-.1.6.1.9 1 1.6 2.3 2.9 3.9 3.8.3.2.6.2.9-.1l1-1c.3-.3.7-.3 1.1-.1l1.8 1.1c.4.3.5.7.3 1.1-.5 1.2-1.7 2-3.1 2-2.1 0-4.8-1.5-7.1-3.8-2.3-2.3-3.8-5-3.8-7.1 0-1 .3-1.9.8-2.6z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;
}


.subpage a.btn[href^="https://wa.me/"]:hover,
body.subpage-body a.btn[href^="https://wa.me/"]:hover,
body.welpentraining-page a.btn[href^="https://wa.me/"]:hover,
body.wesenstest-page a.btn[href^="https://wa.me/"]:hover {
  background: #1ebe5d !important;

  border-color: #1ebe5d !important;

  box-shadow:
    0 0.55rem 1.2rem
    rgba(37, 211, 102, 0.28);
}

/* =========================================================
   07 – GROSSE INHALTSSEKTIONEN
   Grundregel:
   große Flächen bleiben blau
   ========================================================= */

.subpage-section,
.about-section,
.about-highlight,
.human-section,
.final-message,
.about-next,
.wesenstest-info-section,
.behoerden-section,
.wesenstest-training-section,
.wesenstest-pdf-section,
.wesenstest-final-section,
.cta-section {
  width: 100%;

  padding:
    clamp(4rem, 7vw, 6.5rem)
    0;

  background:
    linear-gradient(
      180deg,
      var(--hmh-blue-mid) 0%,
      var(--hmh-blue-deep) 100%
    );

  color: #ffffff;
}


/* =========================================================
   08 – GEMEINSAME INHALTSBREITEN
   ========================================================= */

.subpage-content,
.subpage-split,
.about-section > *,
.about-highlight > *,
.human-section > *,
.final-message > *,
.about-next > *,
.wesenstest-info-box,
.behoerden-card,
.wesenstest-training-grid,
.wesenstest-highlight,
.wesenstest-pdf-card,
.wesenstest-final-card,
.cta-box {
  width: min(88vw, 72rem);

  margin-left: auto;
  margin-right: auto;
}

.subpage-content--narrow {
  width: min(88vw, 56rem);
}

.about-section,
.about-highlight,
.human-section,
.final-message,
.about-next {
  text-align: left;
}


/* =========================================================
   09 – TEXTE AUF BLAU
   ========================================================= */

.subpage-section h2,
.subpage-section h3,
.about-section h2,
.about-section h3,
.about-highlight h2,
.about-highlight h3,
.human-section h2,
.human-section h3,
.final-message h2,
.about-next h2,
.wesenstest-info-section h2,
.behoerden-section h2,
.wesenstest-training-section h2,
.wesenstest-final-section h2,
.cta-section h2 {
  color: #ffffff;
}

.subpage-section p,
.about-section p,
.about-highlight p,
.human-section p,
.final-message p,
.about-next p,
.wesenstest-info-section p,
.behoerden-section p,
.wesenstest-training-section p,
.wesenstest-final-section p,
.cta-section p {
  color: var(--hmh-white-soft);

  font-size: clamp(1.03rem, 1.4vw, 1.12rem);

  line-height: 1.72;
}

.subpage-section .eyebrow,
.about-section .eyebrow,
.about-highlight .eyebrow,
.human-section .eyebrow,
.about-next .eyebrow,
.wesenstest-info-section .eyebrow,
.behoerden-section .eyebrow,
.wesenstest-training-section .eyebrow,
.wesenstest-final-section .eyebrow {
  color: var(--hmh-turquoise-light);
}


/* =========================================================
   10 – ZENTRIERTE HALTUNGSBEREICHE
   ========================================================= */

.subpage-section--statement,
.about-highlight,
.final-message {
  text-align: center;
}

.subpage-section--statement > *,
.about-highlight > *,
.final-message > * {
  max-width: 56rem;

  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   11 – KARTENRASTER
   ========================================================= */

.subpage-card-grid,
.trust-grid {
  display: grid;

  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}


/* Standardraster:
   zwei Karten nebeneinander.
   Wird unter anderem auf der Preisseite verwendet. */

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


/* Bewusste Dreiergruppen auf den übrigen Unterseiten */

.subpage-card-grid--three,
.trust-grid {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

/* =========================================================
   12 – GEMEINSAME BEIGE KARTEN
   ========================================================= */

.subpage-card,
.trust-card,
.subpage-note,
.wesenstest-info-box,
.behoerden-highlight,
.wesenstest-pdf-card,
.wesenstest-final-card {
  background:
    linear-gradient(
      145deg,
      var(--hmh-cream) 0%,
      var(--hmh-cream-soft) 100%
    );

  color: var(--hmh-text-dark);

  border:
    1px solid
    var(--hmh-border-dark);

  border-radius: 1.15rem;

  box-shadow: var(--hmh-shadow-soft);
}


/* Karten mit eigenem Innenabstand */

.subpage-card,
.trust-card,
.subpage-note,
.wesenstest-info-box,
.behoerden-highlight {
  padding: clamp(1.6rem, 3vw, 2.2rem);
}


/* Texte in beigen Karten */

.subpage-card h2,
.subpage-card h3,
.trust-card h2,
.trust-card h3,
.subpage-note h2,
.subpage-note h3,
.wesenstest-info-box h2,
.wesenstest-info-box h3,
.behoerden-highlight h2,
.behoerden-highlight h3,
.wesenstest-pdf-card h2,
.wesenstest-pdf-card h3,
.wesenstest-final-card h2,
.wesenstest-final-card h3 {
  color: var(--hmh-text-dark) !important;
}

.subpage-card p,
.trust-card p,
.subpage-note p,
.wesenstest-info-box p,
.behoerden-highlight p,
.wesenstest-pdf-card p,
.wesenstest-final-card p {
  color: var(--hmh-text-body) !important;

  line-height: 1.65;
}


/* =========================================================
   13 – KARTEN-ICONS
   ========================================================= */

.subpage-card__icon,
.trust-number {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 2.8rem;
  height: 2.8rem;

  margin-bottom: 1.2rem;

  color: var(--hmh-turquoise);

  background:
    rgba(143, 215, 213, 0.24);

  border:
    1px solid
    rgba(15, 119, 112, 0.22);

  border-radius: 50%;

  font-size: 1.3rem;

  font-weight: 800;
}


/* =========================================================
   14 – TEXT + INFO-KACHEL
   ========================================================= */

.subpage-split {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(18rem, 0.75fr);

  align-items: start;

  gap: clamp(2rem, 5vw, 4rem);
}

.subpage-split__content h2 {
  color: #ffffff;
}

.subpage-split__content p {
  color: var(--hmh-white-soft);

  font-size: clamp(1.03rem, 1.4vw, 1.12rem);

  line-height: 1.72;
}

.subpage-note__label {
  margin-bottom: 0.7rem !important;

  color: var(--hmh-turquoise) !important;

  font-size: 0.78rem !important;

  font-weight: 800;

  line-height: 1.3;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


/* =========================================================
   15 – BILD/TEXT-KARTEN
   Wesenstest und ähnliche Seiten
   ========================================================= */

.wesenstest-pdf-card,
.wesenstest-final-card,
.about-card,
.behoerden-card {
  overflow: hidden;
}

.wesenstest-pdf-card,
.wesenstest-final-card,
.about-card {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: stretch;
}

.about-card {
  width: min(88vw, 72rem);

  margin-inline: auto;

  background:
    linear-gradient(
      145deg,
      var(--hmh-cream) 0%,
      var(--hmh-cream-soft) 100%
    );

  border:
    1px solid
    var(--hmh-border-dark);

  border-radius: 1.15rem;

  box-shadow: var(--hmh-shadow-soft);

  overflow: hidden;
}

.about-content,
.wesenstest-pdf-content,
.wesenstest-final-content {
  padding: clamp(2rem, 4vw, 3rem);
}

.about-content h2,
.about-content h3,
.about-content p,
.wesenstest-pdf-content h2,
.wesenstest-pdf-content h3,
.wesenstest-pdf-content p,
.wesenstest-final-content h2,
.wesenstest-final-content h3,
.wesenstest-final-content p {
  color: var(--hmh-text-dark) !important;
}

.about-image img,
.wesenstest-pdf-image img,
.wesenstest-final-image img,
.wesenstest-training-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}


/* =========================================================
   16 – CHECKLISTEN
   ========================================================= */

.wesenstest-checklist,
.wesenstest-pdf-list,
.cta-list,
.behoerden-highlight ul {
  margin:
    1.4rem
    0
    0;

  padding: 0;

  list-style: none;
}

.wesenstest-checklist li,
.wesenstest-pdf-list li,
.cta-list li,
.behoerden-highlight li {
  margin-bottom: 0.7rem;

  line-height: 1.55;
}

.wesenstest-checklist li,
.cta-list li {
  color: var(--hmh-white-soft);
}

.wesenstest-pdf-list li,
.behoerden-highlight li {
  color: var(--hmh-text-body);
}


/* =========================================================
   17 – ZITAT / KERNGEDANKE
   ========================================================= */

.subpage-quote {
  width: 100%;

  background:
    linear-gradient(
      180deg,
      var(--hmh-blue-deep) 0%,
      var(--hmh-blue-mid) 100%
    );

  padding:
    clamp(3.5rem, 6vw, 5rem)
    0;
}

.subpage-quote__inner {
  width: min(88vw, 58rem);

  margin-inline: auto;

  text-align: center;
}

.subpage-quote p,
.final-message p,
.final-quote,
.highlight-text {
  margin-left: auto;
  margin-right: auto;

  color: #ffffff;

  font-family: var(--font-heading, Georgia, serif);

  font-size: clamp(1.5rem, 2.8vw, 2.4rem);

  line-height: 1.35;
}


/* =========================================================
   18 – ABSCHLUSS / CTA
   ========================================================= */

.subpage-cta,
.about-next,
.cta-section {
  width: 100%;

  padding:
    clamp(4.5rem, 8vw, 7rem)
    0;

  background:
    linear-gradient(
      180deg,
      var(--hmh-blue-mid) 0%,
      var(--hmh-blue-deep) 100%
    );

  text-align: center;
}

.subpage-cta__inner,
.about-next > *,
.cta-box {
  width: min(88vw, 58rem);

  margin-left: auto;
  margin-right: auto;
}

.subpage-actions--center,
.about-next .buttons,
.cta-buttons {
  justify-content: center;
}


/* =========================================================
   19 – ABSCHNITTSTRENNER / ORNAMENT
   ========================================================= */

.section-divider {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  padding:
    1.5rem
    0;

  background: var(--hmh-blue-deep);
}

.section-divider img {
  display: block;

  width: min(80vw, 28rem);
  height: auto;

  opacity: 0.9;
}


/* =========================================================
   20 – FOOTER
   gemeinsamer Referenz-Footer
   ========================================================= */

body.subpage-body .site-footer,
body.welpentraining-page .site-footer,
body.wesenstest-page .site-footer {
  width: 100%;

  margin-top: 0 !important;

  background: var(--hmh-blue-deep) !important;

  color: rgba(255, 255, 255, 0.82);
}

body.subpage-body .site-footer .container,
body.welpentraining-page .site-footer .container,
body.wesenstest-page .site-footer .container {
  width: min(92vw, 88rem);

  margin-inline: auto;
}

body.subpage-body .footer-grid,
body.welpentraining-page .footer-grid,
body.wesenstest-page .footer-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr);

  gap: clamp(2rem, 5vw, 4rem);
}

body.subpage-body .footer-bottom,
body.welpentraining-page .footer-bottom,
body.wesenstest-page .footer-bottom {
  width: min(92vw, 88rem);

  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   21 – TABLET
   ========================================================= */

@media
  (min-width: 48rem)
  and
  (max-width: 75rem) {

  body.subpage-body .header-inner,
  body.welpentraining-page .header-inner,
  body.wesenstest-page .header-inner {
    width: min(92vw, 68rem);
  }

  body.subpage-body .main-nav,
  body.welpentraining-page .main-nav,
  body.wesenstest-page .main-nav {
    gap: 0.7rem;
  }

  body.subpage-body .main-nav a,
  body.welpentraining-page .main-nav a,
  body.wesenstest-page .main-nav a {
    font-size: 0.84rem;
  }

  .subpage-hero__grid,
  .hero-grid,
  .puppy-hero {
    width: min(90vw, 66rem);

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 0.9fr);

    gap: 2.5rem;
  }

  .subpage-card-grid--three,
  .trust-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .subpage-card-grid--three
  .subpage-card:last-child:nth-child(odd),
  .trust-grid
  .trust-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;

    width: min(100%, 32rem);

    margin-inline: auto;
  }

  .subpage-split {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(15rem, 0.8fr);
  }

  .wesenstest-pdf-card,
  .wesenstest-final-card,
  .about-card {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   22 – SMARTPHONE
   ========================================================= */

@media (max-width: 47.99rem) {

  body.subpage-body .header-inner,
  body.welpentraining-page .header-inner,
  body.wesenstest-page .header-inner {
    width: 90vw;

    flex-direction: column;

    align-items: flex-start;

    padding:
      0.8rem
      0;
  }

  body.subpage-body .main-nav,
  body.welpentraining-page .main-nav,
  body.wesenstest-page .main-nav {
    width: 100%;

    justify-content: flex-start;

    gap:
      0.55rem
      0.9rem;
  }

  body.subpage-body .main-nav a,
  body.welpentraining-page .main-nav a,
  body.wesenstest-page .main-nav a {
    font-size: 0.86rem;
  }

  .subpage-hero,
  .hero-section,
  .puppy-hero,
  .erster-hund-hero {
    padding:
      2.8rem
      0
      3.5rem;
  }

  .subpage-hero__grid,
  .hero-grid,
  .puppy-hero {
    width: 90vw;

    grid-template-columns: 1fr;

    gap: 2.4rem;
  }

  .subpage-hero h1,
  .hero-section h1,
  .puppy-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }

  .subpage-hero__image,
  .hero-image,
  .puppy-hero-image {
    padding: 0.5rem;
  }

  .subpage-hero__image img,
  .hero-image img,
  .puppy-hero-image img {
    width: 100%;
    height: auto;
  }

  .subpage-actions,
  .hero-buttons,
  .buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .subpage-actions .btn,
  .hero-buttons .btn,
  .buttons .btn,
  .cta-buttons .btn {
    width: 100%;

    box-sizing: border-box;
  }

  .subpage-section,
  .about-section,
  .about-highlight,
  .human-section,
  .final-message,
  .about-next,
  .wesenstest-info-section,
  .behoerden-section,
  .wesenstest-training-section,
  .wesenstest-pdf-section,
  .wesenstest-final-section,
  .cta-section {
    padding:
      3.5rem
      0;
  }

  .subpage-content,
  .subpage-content--narrow,
  .subpage-split,
  .about-section > *,
  .about-highlight > *,
  .human-section > *,
  .final-message > *,
  .about-next > *,
  .wesenstest-info-box,
  .behoerden-card,
  .wesenstest-training-grid,
  .wesenstest-highlight,
  .wesenstest-pdf-card,
  .wesenstest-final-card,
  .cta-box {
    width: 88vw;
  }

  .subpage-card-grid--three,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .subpage-split {
    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .subpage-card,
  .trust-card,
  .subpage-note {
    padding: 1.5rem;
  }

  .wesenstest-pdf-card,
  .wesenstest-final-card,
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-image,
  .wesenstest-pdf-image,
  .wesenstest-final-image {
    order: -1;
  }

  .about-image img,
  .wesenstest-pdf-image img,
  .wesenstest-final-image img {
    height: auto;
  }

  .subpage-quote {
    padding:
      3rem
      0;
  }

  .subpage-quote__inner {
    width: 86vw;
  }

  body.subpage-body .footer-grid,
  body.welpentraining-page .footer-grid,
  body.wesenstest-page .footer-grid {
    grid-template-columns: 1fr;

    gap: 2rem;
  }
}