/* Alte Seitenköpfe: kompakt, ohne 50/50-Banner. */

body.page-framed,
body.page-konto,
body.page-checkout {
  background: #fff;
  color: #111;
}

body.page-framed .page-hero {
  display: block;
  min-height: 0;
  height: auto;
  overflow: visible;
  background: #fff;
  color: #111;
  padding: 1.35rem var(--pad) 0.35rem;
}

body.page-framed .page-hero::after {
  display: none;
}

body.page-framed .page-hero > img,
body.page-framed .page-hero > picture,
body.page-framed .page-hero > .page-hero__media {
  position: relative;
  inset: auto;
  display: block;
  width: min(720px, 100%);
  height: auto;
  max-width: 720px;
  margin: 0.9rem 0 0;
  pointer-events: none;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  border: 1px solid #e6e6e6;
}

body.page-framed .page-hero > img,
body.page-framed .page-hero > picture img,
body.page-framed .page-hero > .page-hero__media img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  opacity: 1;
  border-radius: 8px;
}

body.page-legal .page-hero > img,
body.page-legal .page-hero > picture,
body.page-kontakt .page-hero > img,
body.page-kontakt .page-hero > picture,
body.page-hilfe .page-hero > img,
body.page-hilfe .page-hero > picture,
body.page-shop .page-hero > img,
body.page-shop .page-hero > picture,
body.page-shop .page-hero > .page-hero__media,
body.page-ratgeber .page-hero > img,
body.page-ratgeber .page-hero > picture,
body.page-blog-index .page-hero > img,
body.page-blog-index .page-hero > picture {
  display: none;
}

body.page-framed .page-hero > div {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

body.page-framed .page-hero h1,
body.page-framed .page-hero .kicker,
body.page-framed .page-hero p,
body.page-framed .page-hero .breadcrumb,
body.page-framed .page-hero .breadcrumb a,
body.page-framed .page-hero .page-hero-desc {
  color: #111 !important;
}

body.page-framed .page-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16em;
}

body.page-framed .page-hero .page-hero-desc,
body.page-framed .page-hero p:not(.kicker):not(.breadcrumb) {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  color: #3c3c3c !important;
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 38rem;
}

body.page-framed .page-hero .btn,
body.page-framed .page-hero .btn.white,
body.page-framed .btn.dark {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  border-radius: 6px;
  box-shadow: none;
}

body.page-framed .page-hero .btn:hover,
body.page-framed .btn.dark:hover {
  background: #00a0ff !important;
  color: #0a0a0a !important;
  border-color: #00a0ff !important;
  box-shadow: none;
}

body.page-framed .page-hero .btn.ghost {
  background: transparent !important;
  color: #111 !important;
  border-color: rgba(17, 17, 17, 0.28) !important;
}

body.page-legal {
  background: #fff;
}

body.page-legal .breadcrumb {
  display: block;
}

body.page-legal .legal-sidebar__card,
body.page-legal .legal-content {
  background: #fff;
  color: #111;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: none;
}

body.page-legal .legal-sidebar__title,
body.page-legal .legal-sidebar__meta {
  color: #3c3c3c;
  border-color: #e6e6e6;
}

body.page-legal .legal-sidebar__nav a,
body.page-legal .legal-sidebar__meta a {
  color: #111;
  border-radius: 6px;
}

body.page-legal .legal-sidebar__nav a:hover,
body.page-legal .legal-sidebar__nav a.is-active {
  background: #f4f4f4;
  color: #111;
}

body.page-framed .shop-card,
body.page-framed .rg-feature,
body.page-framed .rg-tile .studio-media,
body.page-framed .legal-sidebar__card,
body.page-framed .article-figure img,
body.page-framed .studio-media,
body.page-framed .studio-media img {
  border-radius: 8px;
  box-shadow: none;
}

body.page-ratgeber {
  background: #fff;
}

body.page-ratgeber .rg-hub-v2,
body.page-blog-index .shell-body--blog {
  background: #fff;
  padding: 0.5rem 0 2rem;
}

body.page-ratgeber .rg-feature {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
}

body.page-ratgeber .rg-feature__media {
  min-height: 0;
  height: auto;
  border: 0;
}

body.page-ratgeber .rg-feature__media img {
  aspect-ratio: 1;
  height: auto;
  max-height: 180px;
  object-fit: cover;
}

body.page-ratgeber .rg-feature__body h2 {
  font-size: 1.35rem;
  max-width: none;
}

body.page-ratgeber .rg-link,
body.page-blog-index .rg-link {
  background: #111;
  color: #fff;
  border-radius: 6px;
}

body.page-ratgeber .rg-feature:hover .rg-link,
body.page-blog-index .rg-feature:hover .rg-link {
  background: #00a0ff;
  color: #0a0a0a;
  border: 0;
}

body.page-ratgeber .rg-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

body.page-ratgeber .rg-tile .studio-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.page-ratgeber .rg-tile .studio-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.page-ratgeber .rg-tile__body h3 {
  font-size: 1rem;
}

body.page-kontakt .contact-panel {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #e6e6e6;
  min-height: 0;
}

body.page-kontakt .contact-aside {
  background: #111;
  color: #fff;
}

body.page-checkout .checkout-layout,
.checkout-layout {
  background: #fff;
}

.checkout-steps--bar {
  border-radius: 8px;
}

.checkout-btn {
  border-radius: 6px;
  box-shadow: none;
}

.checkout-btn--primary:not(:disabled) {
  background: #111;
  color: #fff;
  border-color: #111;
}

.checkout-btn--primary:not(:disabled):hover {
  background: #00a0ff;
  color: #0a0a0a;
  border-color: #00a0ff;
  transform: none;
  box-shadow: none;
}

.checkout-page-title {
  letter-spacing: -0.03em;
}

.page-konto {
  --konto-accent: #00a0ff;
  --konto-radius: 8px;
  --konto-radius-sm: 6px;
  --konto-bg: #fff;
  --konto-font: inherit;
  background: #fff;
  background-image: none;
  font-family: inherit;
}

.page-konto .konto-login-card,
.page-konto .konto-panel,
.page-konto .konto-card {
  border-radius: 8px;
  box-shadow: none;
}

.page-konto .konto-login-visual {
  background: #111;
  border-radius: 8px;
}

.page-konto .konto-login-visual::before {
  display: none;
}

@media (max-width: 800px) {
  body.page-framed .page-hero {
    padding-inline: var(--pad);
  }

  body.page-ratgeber .rg-feature,
  body.page-ratgeber .rg-tiles {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-framed .page-hero,
  body.page-framed .page-hero img {
    transition: none;
  }
}
