:root {
  font-size: 125%;
}

/* Freistehende Absätze nach einem Lösung-Block: mehr Luft nach oben */
.ki-markdown-content .ki-case + .ki-body-paragraph,
.ki-markdown-content .ki-case ~ .ki-body-paragraph:first-of-type {
  margin-top: 2.5rem !important;
}

.ratgeber-hero-shell {
  max-width: 76rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
  position: relative;
  isolation: isolate;
}

.ratgeber-hero-shell::before {
  position: absolute;
  z-index: -1;
  inset: -10px auto -10px 50%;
  width: calc(100vw + 20px);
  transform: translateX(-50%);
  filter: blur(6px);
  background-image:
    linear-gradient(90deg,
      rgba(253, 252, 251, 0.5) 0,
      rgba(253, 252, 251, 0.97) 110px,
      rgba(253, 252, 251, 0.96) 50%,
      rgba(253, 252, 251, 0.88) 65%,
      rgba(253, 252, 251, 0.48) 82%,
      rgba(253, 252, 251, 0.26) 100%),
    var(--hero-img);
  background-position: center;
  background-size: cover;
  content: "";
}

.ratgeber-hero-nav-media-row {
  display: none;
}

.ratgeber-hero-mobile-social {
  display: none;
}

body.new-hero-layout .ratgeber-hero-intro p,
body.new-hero-layout main p,
body.new-hero-layout main li,
body.new-hero-layout main .example-quote,
body.new-hero-layout #redegold p,
body.new-hero-layout footer p {
  line-height: 1.5 !important;
  letter-spacing: -0.01em;
}

.ratgeber-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.ratgeber-hero-copy {
  min-width: 0;
}

.ratgeber-hero-copy>h1,
.ratgeber-hero-copy>h1+p {
  padding-left: 0 !important;
}

.ratgeber-hero-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 5.625vw, 3.5rem) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  margin: 0 0 0.9rem;
}

.ratgeber-hero-title span {
  color: #C5A059;
}

.ratgeber-hero-title a,
.ratgeber-hero-meta a {
  color: inherit;
  text-decoration: none;
}

.ratgeber-hero-title a:hover,
.ratgeber-hero-meta a:hover {
  color: #a8864a;
}

.ratgeber-hero-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 1.95vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
  color: #374151;
  font-style: italic;
  margin: 0 0 0.75rem;
}

.ratgeber-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 1.5rem;
  color: #aaa;
  font-size: 1rem;
}

.ratgeber-hero-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ratgeber-hero-jumps-desktop {
  display: none;
}

.ratgeber-hero-jumps a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #eae6df;
  border-radius: 9999px;
  background: #f8f6f2;
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

/* Fokus-Ring nur bei Tastaturnavigation zeigen, nicht nach Mausklick */
.ratgeber-hero-jumps a:focus:not(:focus-visible) {
  outline: none;
}

.ratgeber-hero-jumps a span {
  color: #C5A059;
}

.ratgeber-hero-intro p {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  margin: 0 0 0.75rem;
}

.ratgeber-hero-intro a {
  color: #a8864a;
}

.ratgeber-hero-image-card {
  display: block;
  overflow: hidden;
  border-radius: 0.875rem;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.12);
}

.ratgeber-hero-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ratgeber-hero-audio-wrap {
  width: 18rem;
  max-width: 100%;
  margin-top: 1rem;
}

.ratgeber-hero-audio-card {
  overflow: hidden;
  padding: 0.5rem;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 0.9375rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.ratgeber-hero-audio-card img {
  display: block;
  width: 100%;
  border-radius: 0.625rem;
}

.ratgeber-hero-mobile-image {
  display: block;
  margin: 0 0 1.5rem;
}

.ratgeber-hero-mobile-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.875rem;
}

/* Mehr Luft links/rechts NUR für Titel & Text (Bild und Boxen bleiben unverändert) */
.ratgeber-hero-title,
.ratgeber-hero-subtitle,
.ratgeber-hero-meta,
.ratgeber-hero-jumps,
.ratgeber-hero-intro {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

/* Textbereich nie breiter als die Autorenbox (Box = max-w-xl 36rem abzgl. 5% Innenabstand = 34.2rem; Text beginnt 0.75rem weiter rechts, dazu ca. 2.25rem Luft rechts) */
.ratgeber-hero-copy .ratgeber-hero-title,
.ratgeber-hero-copy .ratgeber-hero-subtitle,
.ratgeber-hero-copy .ratgeber-hero-meta,
.ratgeber-hero-copy .ratgeber-hero-intro {
  box-sizing: border-box;
  max-width: calc(34.2rem - 3rem);
}

/* Hero-Titel: normal umbrechen (kein balance), sonst steht der Text nach dem Link-Span immer in einer eigenen Zeile */
.ratgeber-hero-title {
  text-wrap: wrap;
}

.ratgeber-hero-mobile-audio {
  display: none;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .ratgeber-hero-copy {
    padding-left: 2rem;
    padding-right: 4rem;
  }

  .ratgeber-hero-title {
    line-height: 1.05 !important;
  }
}

@media (min-width: 1024px) {

  .ratgeber-hero-meta,
  .ratgeber-hero-intro p {
    font-size: 0.9rem;
  }

  body.new-hero-layout footer>.max-w-7xl,
  body.new-hero-layout footer>.site-footer-inner {
    box-sizing: border-box;
    padding-right: 0;
    padding-left: 0;
  }

  body.new-hero-layout .ratgeber-hero-nav-media-row {
    display: flex;
    min-height: 2rem;
    max-height: 2rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: #fafaf9;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.28s ease,
      border-color 0.2s ease;
  }

  body.new-hero-layout>nav.nav-scroll-up .ratgeber-hero-nav-media-row {
    min-height: 0;
    max-height: 0;
    border-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
  }

  body.new-hero-layout .ratgeber-hero-nav-media-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
  }

  body.new-hero-layout .ratgeber-hero-nav-media-label {
    margin-right: 17px;
    color: #aaa;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  body.new-hero-layout .ratgeber-hero-nav-media-row a>span:not(.ratgeber-hero-nav-media-label) {
    color: #999;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  body.new-hero-layout .ratgeber-hero-nav-media-row a>span:not(.ratgeber-hero-nav-media-label):not(:last-child)::after {
    content: "·";
    margin-left: 0.5rem;
    color: #ddd;
  }

  body.new-hero-layout #author-box-placement.author-box-suppressed .mini-testimonial-float {
    display: none !important;
  }

  body.new-hero-layout .ratgeber-hero-copy #author-box-placement {
    margin-top: 32px !important;
  }

  .ratgeber-hero-shell {
    box-sizing: border-box;
    width: calc(100% - 240px);
    max-width: none;
    margin-right: 120px;
    margin-left: 120px;
    padding-top: 3rem;
  }

  body.new-hero-layout>.max-w-7xl {
    max-width: 64rem;
  }

  body.new-hero-layout main {
    max-width: 44.8rem;
    padding-top: 5rem !important;
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
  }

  body.new-hero-layout main> :not(:first-child) {
    zoom: 0.8;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float {
    right: 36px;
    bottom: 100px;
    width: 288px;
    padding: 24px;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float>.flex.items-center.gap-4 {
    gap: 16px;
    margin-bottom: 16px;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float>.flex.items-center.gap-4 img {
    width: 56px;
    height: 56px;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float>p {
    margin-bottom: 16px;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float>div:last-child {
    padding-top: 12px;
  }

  body.new-hero-layout #author-box-placement.author-box-sticky .mini-testimonial-float>div:last-child svg {
    width: 12px;
    height: 12px;
  }

  .ratgeber-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, clamp(22rem, 36vw, 26.25rem));
    gap: 3.5rem;
    align-items: stretch;
    /* Auf großen Monitoren: Text und Bild als Einheit zentrieren statt auseinanderzuziehen (40.2rem Textspalte + 3.5rem Gap + 26.25rem Bild) */
    max-width: 70rem;
    margin-right: auto;
    margin-left: auto;
  }

  .ratgeber-hero-media {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    left: -2rem;
  }

  .ratgeber-hero-jumps-mobile {
    display: none;
  }

  .ratgeber-hero-jumps-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 1.5rem;
  }

  .ratgeber-hero-jumps-desktop a {
    box-sizing: border-box;
    justify-content: center;
    height: 44px;
    padding: 0 0.5rem;
    white-space: nowrap;
  }

  .ratgeber-hero-jumps-desktop a {
    gap: 8px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
      transform 0.25s ease, box-shadow 0.25s ease;
  }

  .ratgeber-hero-jumps-desktop a span {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .ratgeber-hero-jumps-desktop a:hover,
  .ratgeber-hero-jumps-desktop a:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #d4b06a 0%, #a8864a 100%);
    background-origin: border-box;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(168, 134, 74, 0.38);
  }

  .ratgeber-hero-jumps-desktop a:hover span,
  .ratgeber-hero-jumps-desktop a:focus-visible span {
    color: #fff;
    transform: translate(2px, 2px);
  }

  .ratgeber-hero-jumps-desktop a:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(168, 134, 74, 0.3);
  }

  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-audio-wrap {
    position: absolute;
    /* Position wie bisher an der Fensterhoehe, aber nie naeher als 1.5rem an den Buttons:
       Bild (4:3) + Buttons (24px Abstand + 44px Hoehe) + 1.5rem Luft */
    top: max(calc(100vh - 12rem), calc(0.75 * clamp(22rem, 36vw, 26.25rem) + 68px + 1.5rem));
    right: 0;
    z-index: 60;
    width: 18rem;
    margin-top: 0;
  }

  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-image-card,
  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-audio-card {
    position: relative;
  }

  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-image-card::after,
  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-audio-card::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(255, 255, 255, 0.32);
    content: "";
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-image-card:hover::after,
  body.new-hero-layout .ratgeber-hero-media .ratgeber-hero-audio-card:hover::after {
    opacity: 0;
  }

  .ratgeber-hero-toc {
    width: 100%;
    margin: 0 0 4rem !important;
  }

  .ratgeber-hero-toc .toc-title {
    color: #666;
    font-size: 2rem;
    font-weight: 500;
  }

  .ratgeber-hero-toc .toc-nav {
    padding: 28px 44px 48px;
  }

  .ratgeber-hero-toc .toc-link-h2,
  .ratgeber-hero-toc .toc-link-h2 .toc-text {
    padding: 5.6px 8px;
    margin: 0 -8px;
    font-size: 1.15rem !important;
  }

  body.new-hero-layout #toc-container .toc-link-h2 .toc-text {
    padding: 5.6px 0;
    font-size: 1.15rem !important;
  }

  .ratgeber-hero-toc .toc-num-h2 {
    min-width: 32px;
    font-size: 1.05rem !important;
  }

  .ratgeber-hero-toc .toc-link-sub,
  .ratgeber-hero-toc .toc-link-sub .toc-text {
    margin-left: 36px;
    padding: 6px 0 6px 20px;
    font-size: 1rem !important;
  }

  .ratgeber-hero-toc .toc-num-sub {
    min-width: 32px;
    font-size: 1rem !important;
  }

  .ratgeber-hero-toc .toc-link-subsub,
  .ratgeber-hero-toc .toc-link-subsub .toc-text {
    margin-left: 56px;
    padding: 5px 0 5px 20px;
    font-size: 1rem !important;
  }

  .ratgeber-hero-toc .toc-num-subsub {
    min-width: 36px;
    font-size: 1rem !important;
  }

  .ratgeber-hero-mobile-image,
  .ratgeber-hero-mobile-audio {
    display: none;
  }
}

/* Schrift in den Spruch-Boxen: passend zum Fließtext */
body.new-hero-layout main .deep-text .grid>.p-8 li {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  :root {
    font-size: 100%;
  }

  body.new-hero-layout .ratgeber-hero-intro p {
    font-size: 1rem;
  }

  body.new-hero-layout .ratgeber-hero-shell {
    padding-top: 0;
  }

  body.new-hero-layout .ratgeber-hero-shell::before {
    display: none;
  }

  body.new-hero-layout #author-box-placement {
    margin-top: 32px !important;
    margin-bottom: 48px !important;
  }

  body.new-hero-layout #toc-container {
    margin: 50px 0 57px !important;
  }

  body.new-hero-layout .ratgeber-hero-mobile-social {
    display: block;
    width: 100%;
    background: #fafaf9;
  }

  body.new-hero-layout .ratgeber-hero-mobile-badge {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 16px;
    border-bottom: 1px solid #f0efed;
    background: #fff;
    color: #4b5563;
    font-size: 1rem;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }

  body.new-hero-layout .ratgeber-hero-mobile-stars {
    flex: 0 0 auto;
    color: #c5a059;
    font-size: 1rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  body.new-hero-layout .ratgeber-hero-mobile-media {
    display: block;
    padding: 1rem 1rem 1.125rem;
    color: inherit;
    text-align: center;
    text-decoration: none;
  }

  body.new-hero-layout .ratgeber-hero-mobile-media-logos {
    display: flex;
    max-width: 22rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0.875rem;
    row-gap: 0.5rem;
    margin: 0 auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
    color: #aaa;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
    opacity: 0.8;
  }

  body.new-hero-layout .ratgeber-hero-mobile-media-caption {
    display: block;
    margin-top: 1rem;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .ratgeber-hero-mobile-audio {
    display: block;
  }

  .ratgeber-hero-jumps-mobile {
    display: none !important;
  }

  .ratgeber-hero-media {
    display: none;
  }

  .ratgeber-hero-toc {
    width: 100%;
    margin: 0 !important;
  }

  .ratgeber-hero-toc .toc-summary {
    padding: 1rem 1.25rem;
  }

  .ratgeber-hero-toc .toc-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 639px) {
  body.new-hero-layout>nav>div:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  body.new-hero-layout footer {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  body.new-hero-layout>nav>div:first-child>div:first-child img {
    width: auto;
    height: 1.5rem;
    max-width: 6rem;
    object-fit: contain;
  }

  body.new-hero-layout>nav a.nav-soforthilfe-btn {
    width: max-content;
    max-width: 7.5rem;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0.4rem !important;
    font-size: 0.625rem !important;
  }

  body.new-hero-layout>nav a.mobile-toc-toggle {
    flex-shrink: 0;
    margin: 0 !important;
  }

  /* main-Padding von px-6 (1.5rem) auf 0.75rem reduzieren – mehr Breite für Inhalt */
  body.new-hero-layout main.px-6 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .ratgeber-hero-shell {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .ratgeber-hero-mobile-image {
    margin-right: -0.75rem;
    margin-left: -0.75rem;
  }

  .ratgeber-hero-mobile-image img {
    border-radius: 0;
  }

  .ratgeber-hero-jumps {
    gap: 0.35rem;
  }

  /* Autorzeile (Autor / aktualisiert) mobil 15 % kleiner */
  .ratgeber-hero-meta {
    font-size: 0.85rem;
  }

  .ratgeber-hero-jumps a {
    padding: 0.3125rem 0.625rem;
    font-size: 1rem;
  }

  body.new-hero-layout main .example-quote {
    min-width: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 1rem !important;
  }

  body.new-hero-layout main .content-section,
  body.new-hero-layout main .deep-text,
  body.new-hero-layout main .deep-text .grid {
    min-width: 0;
    width: 100%;
  }

  body.new-hero-layout main .deep-text .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.new-hero-layout main .ratgeber-box-white,
  body.new-hero-layout main .ratgeber-box-gray,
  body.new-hero-layout main .comparison-bad,
  body.new-hero-layout main .comparison-good,
  body.new-hero-layout main .byline-container,
  body.new-hero-layout main .content-section>.p-10,
  body.new-hero-layout main #redezeit-rechner,
  body.new-hero-layout main #strategy-box {
    box-sizing: border-box;
    min-width: 0;
    width: calc(100% + 1.5rem) !important;
    max-width: calc(100% + 1.5rem) !important;
    margin-right: -0.75rem !important;
    margin-left: -0.75rem !important;
  }

  body.new-hero-layout main .content-section>.p-10 {
    padding: 1rem 1.25rem !important;
  }

  /* Boxen mit eigenem Padding (ratgeber-box-white etc.): innen mehr Luft lassen */
  body.new-hero-layout main .ratgeber-box-white,
  body.new-hero-layout main .ratgeber-box-gray,
  body.new-hero-layout main .comparison-bad,
  body.new-hero-layout main .comparison-good {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  body.new-hero-layout main .example-quote-title,
  body.new-hero-layout main .quiz-button {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.new-hero-layout #redegold .cta-beam-ring {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.new-hero-layout #redegold a.gold-bg {
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    white-space: normal;
  }

  body.new-hero-layout #redegold .flex.gap-8 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* Textboxen im Fließtext: mehr Platz für den Text auf dem Handy */
  body.new-hero-layout main .deep-text .grid>.p-8 {
    padding: 1.25rem !important;
    /* statt 2rem */
  }

  /* Training/Redekarten-Boxen: inneres px-6 des max-w-5xl-Containers reduzieren */
  article#einstudieren>div.max-w-5xl {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* CTA-Button "Kostenlose Erstberatung" mobil:
     zentrieren + nach Beam-Animation nicht nach rechts wachsen */
  .cta-beam-ring {
    display: flex !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: calc(100vw - 2.5rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  .cta-beam-ring a.gold-bg {
    max-width: 100% !important;
    width: auto !important;
    white-space: nowrap;
    overflow: hidden;
  }
}

/* Weißer Schleier auch mobil (Hero-Bild + tha.gif) */
@media (max-width: 1023px) {

  .ratgeber-hero-mobile-image,
  .ratgeber-hero-mobile-audio .ratgeber-hero-audio-card {
    position: relative;
  }

  .ratgeber-hero-mobile-image::after,
  .ratgeber-hero-mobile-audio .ratgeber-hero-audio-card::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(255, 255, 255, 0.32);
    content: "";
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .ratgeber-hero-mobile-image::after {
    border-radius: 0;
    /* Bild ist mobil randlos (siehe border-radius: 0 beim img) */
  }
}

@media (max-width: 1023px) and (hover: hover) {

  .ratgeber-hero-mobile-image:hover::after,
  .ratgeber-hero-mobile-audio .ratgeber-hero-audio-card:hover::after {
    opacity: 0;
  }
}

/* Tablet quer / kleine Laptops (1024-1279px, z. B. iPad Pro 13 Hochformat = 1032px):
   Desktop-Layout beibehalten, aber Seitenraender, Spaltenabstand und Titelgroesse verkleinern,
   damit die Textspalte nicht zu schmal wird. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ratgeber-hero-shell {
    width: calc(100% - 8vw);
    margin-right: 4vw;
    margin-left: 4vw;
  }

  .ratgeber-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    gap: 2.5rem;
  }

  .ratgeber-hero-copy {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  body.new-hero-layout .ratgeber-hero-title {
    font-size: clamp(2rem, 4.4vw, 3rem) !important;
  }
}
