/* Taschen-Entdecker Editorial Engine · Ratgeber Hub v1.0
   Strictly scoped to .te-rh-v1 / .te-rh-v1-page. */

body.te-ee-ratgeber-hub .te-rh-v1-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

.te-rh-v1 {
  --te-rh-bordeaux: #8B4A5A;
  --te-rh-bordeaux-dark: #6F3947;
  --te-rh-anthracite: #2C2A29;
  --te-rh-text: #6B6560;
  --te-rh-cream: #FAF8F5;
  --te-rh-white: #FFFFFF;
  --te-rh-border: #E5DED8;
  --te-rh-hero: 1360px;
  --te-rh-inner: 1180px;
  --te-rh-copy: 1040px;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--te-rh-anthracite);
  background: var(--te-rh-white);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.te-rh-v1 *, .te-rh-v1 *::before, .te-rh-v1 *::after { box-sizing: border-box; }
.te-rh-v1 a { color: inherit; }
.te-rh-v1 img { display: block; max-width: 100%; }
.te-rh-v1 [hidden] { display: none !important; }

.te-rh-v1-kicker {
  display: block;
  margin: 0 0 13px;
  color: var(--te-rh-bordeaux);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .20em;
}

.te-rh-v1-inner {
  width: 100%;
  max-width: var(--te-rh-inner);
  margin: 0 auto;
}

/* Hero */
.te-rh-v1-hero-shell {
  width: 100%;
  padding: clamp(22px, 2.5vw, 38px) clamp(24px, 3.5vw, 56px) clamp(38px, 4vw, 58px);
  background: var(--te-rh-cream);
}

.te-rh-v1-hero {
  position: relative;
  width: 100%;
  max-width: var(--te-rh-hero);
  min-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--te-rh-cream);
}

.te-rh-v1-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(590px, 48%);
  min-height: 520px;
  padding: clamp(50px, 5vw, 78px) 0 clamp(50px, 5vw, 78px) clamp(18px, 2.2vw, 30px);
  flex-direction: column;
  justify-content: center;
}

.te-rh-v1-hero h1 {
  max-width: 570px;
  margin: 0 0 21px;
  color: var(--te-rh-anthracite);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 5.2vw, 78px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
}

.te-rh-v1-hero-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--te-rh-text);
  font-size: 17px;
  line-height: 1.72;
}

.te-rh-v1-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.te-rh-v1-btn {
  min-height: 46px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.te-rh-v1-btn-primary { color: #fff !important; background: var(--te-rh-bordeaux); border: 1px solid var(--te-rh-bordeaux); }
.te-rh-v1-btn-secondary { color: var(--te-rh-bordeaux) !important; background: rgba(255,255,255,.58); border: 1px solid rgba(139,74,90,.55); }

.te-rh-v1-hero-media { position: absolute; z-index: 1; inset: 0 0 0 39%; overflow: hidden; }
.te-rh-v1-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.te-rh-v1-hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--te-rh-cream) 0%,
    rgba(250,248,245,.99) 8%,
    rgba(250,248,245,.95) 18%,
    rgba(250,248,245,.76) 30%,
    rgba(250,248,245,.42) 42%,
    rgba(250,248,245,.12) 54%,
    rgba(250,248,245,0) 64%);
}

/* Featured */
.te-rh-v1-feature-shell { width: 100%; padding: 0 clamp(24px, 3.5vw, 56px); background: #fff; }
.te-rh-v1-feature-wrap { position: relative; z-index: 5; width: 100%; max-width: var(--te-rh-inner); margin: -34px auto 0; }
.te-rh-v1-feature {
  display: grid;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  min-height: 280px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(229,222,216,.92);
  border-radius: 7px;
  box-shadow: 0 16px 38px rgba(44,42,41,.07);
  text-decoration: none;
}
.te-rh-v1-feature-media { overflow: hidden; background: var(--te-rh-cream); }
.te-rh-v1-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.te-rh-v1-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,4vw,54px); }

.te-rh-v1-feature h2, .te-rh-v1-section-head h2, .te-rh-v1-cta h2 {
  margin: 0;
  color: var(--te-rh-anthracite);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.012em;
}
.te-rh-v1-feature h2 { max-width: 560px; font-size: clamp(34px,3vw,46px); line-height: 1.08; }
.te-rh-v1-feature-copy p { max-width: 590px; margin: 17px 0 19px; color: var(--te-rh-text); font-size: 15.5px; line-height: 1.7; }
.te-rh-v1-textlink, .te-rh-v1-inline-action { display: inline-flex; align-items: center; gap: 8px; color: var(--te-rh-bordeaux); font-size: 13px; font-weight: 700; text-decoration: none; }

/* Shared section heads */
.te-rh-v1-section-head { margin-bottom: 34px; }
.te-rh-v1-section-head-split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.te-rh-v1-section-head h2 { font-size: clamp(35px,3.2vw,48px); line-height: 1.08; }
.te-rh-v1-section-head p { max-width: 660px; margin: 10px 0 0; color: var(--te-rh-text); font-size: 15.5px; line-height: 1.65; }

/* Topics */
.te-rh-v1-topics-shell { width: 100%; padding: clamp(78px,7vw,104px) clamp(24px,3.5vw,56px); background: var(--te-rh-cream); }
.te-rh-v1-topic-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 14px; }
.te-rh-v1-topic {
  min-width: 0;
  padding: 8px 8px 17px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(229,222,216,.9);
  border-radius: 6px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.te-rh-v1-topic-media { overflow: hidden; aspect-ratio: 1.24/1; background: #f2eee9; border-radius: 4px; }
.te-rh-v1-topic-media img { width: 100%; height: 100%; object-fit: cover; }
.te-rh-v1-topic h3 { min-height: 48px; margin: 13px 8px 7px; color: var(--te-rh-anthracite); font-family: "Playfair Display", Georgia, serif; font-size: 17px; font-weight: 600; line-height: 1.22; }
.te-rh-v1-topic > span { display: block; margin: 0 8px; color: var(--te-rh-bordeaux); font-size: 20px; line-height: 1; }

/* Latest guides */
.te-rh-v1-latest-shell { width: 100%; padding: clamp(78px,7vw,104px) clamp(24px,3.5vw,56px); background: #fff; }
.te-rh-v1-article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 20px; }
/* Keep incomplete archive pages visually balanced instead of leaving an orphan card. */
.te-rh-v1-article-grid--count-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.te-rh-v1-article-grid--count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 780px; }
.te-rh-v1-article-grid--count-4 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 860px; }
.te-rh-v1-article-grid--count-5 { grid-template-columns: repeat(6,minmax(0,1fr)); }
.te-rh-v1-article-grid--count-5 > .te-rh-v1-article { grid-column: span 2; }
.te-rh-v1-article-grid--count-5 > .te-rh-v1-article:nth-last-child(-n+2) { grid-column: span 3; }
.te-rh-v1-article-grid--count-1,
.te-rh-v1-article-grid--count-2,
.te-rh-v1-article-grid--count-4 { margin-left: auto; margin-right: auto; }
.te-rh-v1-article { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--te-rh-border); border-radius: 6px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.te-rh-v1-article > a { display: block; height: 100%; text-decoration: none; }
.te-rh-v1-article-media { overflow: hidden; aspect-ratio: 16/7.2; background: var(--te-rh-cream); }
.te-rh-v1-article-media img { width: 100%; height: 100%; object-fit: cover; }
.te-rh-v1-article-body { padding: 19px 20px 21px; }
.te-rh-v1-label { display: inline-block; margin-bottom: 8px; padding: 4px 8px; color: var(--te-rh-bordeaux); background: var(--te-rh-cream); border-radius: 999px; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: .12em; }
.te-rh-v1-article h3 { margin: 0; color: var(--te-rh-anthracite); font-family: "Playfair Display", Georgia, serif; font-size: clamp(23px,2vw,28px); font-weight: 700; line-height: 1.12; }
.te-rh-v1-article p { margin: 10px 0 16px; color: var(--te-rh-text); font-size: 14px; line-height: 1.58; }
.te-rh-v1-empty { margin: 0; color: var(--te-rh-text); font-size: 15px; }

.te-rh-v1-pagination { margin-top: 38px; }
.te-rh-v1-pagination ul { display: flex; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.te-rh-v1-pagination a, .te-rh-v1-pagination span { min-width: 34px; min-height: 34px; padding: 7px 10px; display: grid; place-items: center; border: 1px solid var(--te-rh-border); border-radius: 4px; color: var(--te-rh-text); background: #fff; font-size: 12px; text-decoration: none; }
.te-rh-v1-pagination .current { color: #fff; border-color: var(--te-rh-bordeaux); background: var(--te-rh-bordeaux); }

/* Closing band */
.te-rh-v1-cta-shell { width: 100%; padding: 30px clamp(24px,3.5vw,56px); background: var(--te-rh-cream); border-top: 1px solid var(--te-rh-border); border-bottom: 1px solid var(--te-rh-border); }
.te-rh-v1-cta { width: 100%; max-width: var(--te-rh-inner); margin: 0 auto; display: grid; grid-template-columns: 54px minmax(280px,.9fr) minmax(340px,1.18fr) auto; gap: 26px; align-items: center; }
.te-rh-v1-cta-mark { color: var(--te-rh-bordeaux); font-family: "Playfair Display", Georgia, serif; font-size: 48px; line-height: 1; }
.te-rh-v1-cta h2 { font-size: clamp(28px,2.5vw,38px); line-height: 1.1; }
.te-rh-v1-cta p { margin: 0; color: var(--te-rh-text); font-size: 14px; line-height: 1.62; }

/* Theme chips */
.te-rh-v1-filter-shell { width: 100%; padding: 22px clamp(24px,3.5vw,56px) 28px; background: #fff; scroll-margin-top: 96px; }
.te-rh-v1-filter { width: 100%; max-width: var(--te-rh-inner); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.te-rh-v1-filter-label { margin-right: 10px; color: var(--te-rh-bordeaux); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.te-rh-v1-filter button { min-height: 33px; padding: 6px 14px; border: 1px solid var(--te-rh-border); border-radius: 999px; color: var(--te-rh-text); background: #fff; font: 600 12px/1 Manrope, system-ui, sans-serif; cursor: pointer; }
.te-rh-v1-filter button.is-active { color: #fff; border-color: var(--te-rh-bordeaux); background: var(--te-rh-bordeaux); }

/* Focus / hover */
.te-rh-v1 a:focus-visible, .te-rh-v1 button:focus-visible { outline: 3px solid rgba(139,74,90,.38); outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
  .te-rh-v1-btn:hover { transform: translateY(-1px); }
  .te-rh-v1-btn-primary:hover { background: var(--te-rh-bordeaux-dark); border-color: var(--te-rh-bordeaux-dark); }
  .te-rh-v1-btn-secondary:hover { color: #fff !important; background: var(--te-rh-bordeaux); }
  .te-rh-v1-topic:hover, .te-rh-v1-article:hover { transform: translateY(-3px); border-color: rgba(139,74,90,.35); box-shadow: 0 10px 28px rgba(44,42,41,.07); }
}

@media (max-width:1180px) {
  .te-rh-v1-topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .te-rh-v1-cta { grid-template-columns: 44px 1fr 1.3fr; }
  .te-rh-v1-cta .te-rh-v1-btn { grid-column: 3; justify-self: start; }
}

@media (max-width:860px) {
  .te-rh-v1-hero { max-width: 720px; min-height: 0; }
  .te-rh-v1-hero-copy { width: 100%; min-height: 0; padding: 44px 38px 34px; }
  .te-rh-v1-hero h1 { font-size: clamp(48px,10vw,64px); }
  .te-rh-v1-hero-media { position: relative; inset: auto; width: 100%; aspect-ratio: 16/9; }
  .te-rh-v1-hero-media::before { background: linear-gradient(180deg,var(--te-rh-cream) 0%,rgba(250,248,245,.55) 10%,rgba(250,248,245,0) 24%); }
  .te-rh-v1-feature-wrap { margin-top: 28px; }
  .te-rh-v1-feature { grid-template-columns: 1fr; }
  .te-rh-v1-feature-media { aspect-ratio: 16/8; }
  .te-rh-v1-section-head-split { align-items: flex-start; flex-direction: column; gap: 14px; }
  .te-rh-v1-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .te-rh-v1-article-grid,
  .te-rh-v1-article-grid--count-4,
  .te-rh-v1-article-grid--count-5 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; }
  .te-rh-v1-article-grid--count-5 > .te-rh-v1-article,
  .te-rh-v1-article-grid--count-5 > .te-rh-v1-article:nth-last-child(-n+2) { grid-column: auto; }
  .te-rh-v1-article-grid--count-3 > .te-rh-v1-article:last-child,
  .te-rh-v1-article-grid--count-5 > .te-rh-v1-article:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
  .te-rh-v1-cta { grid-template-columns: 40px 1fr; }
  .te-rh-v1-cta p, .te-rh-v1-cta .te-rh-v1-btn { grid-column: 2; }
}

@media (max-width:600px) {
  .te-rh-v1-hero-shell { padding: 10px 12px 32px; }
  .te-rh-v1-hero-copy { padding: 34px 22px 30px; }
  .te-rh-v1-hero-copy p { font-size: 16px; }
  .te-rh-v1-feature-shell { padding: 0 16px; }
  .te-rh-v1-feature-copy { padding: 28px 23px 30px; }
  .te-rh-v1-topics-shell, .te-rh-v1-latest-shell { padding: 58px 16px; }
  .te-rh-v1-topic-grid,
  .te-rh-v1-article-grid,
  .te-rh-v1-article-grid--count-1,
  .te-rh-v1-article-grid--count-2,
  .te-rh-v1-article-grid--count-4,
  .te-rh-v1-article-grid--count-5 { grid-template-columns: 1fr; max-width: none; }
  .te-rh-v1-article-grid--count-3 > .te-rh-v1-article:last-child,
  .te-rh-v1-article-grid--count-5 > .te-rh-v1-article:last-child {
    grid-column: auto;
    width: 100%;
  }
  .te-rh-v1-topic { display: grid; grid-template-columns: 112px 1fr 22px; gap: 14px; align-items: center; padding: 8px; }
  .te-rh-v1-topic-media { aspect-ratio: 1.1/1; }
  .te-rh-v1-topic h3 { min-height: 0; margin: 0; font-size: 18px; }
  .te-rh-v1-topic > span { margin: 0; }
  .te-rh-v1-cta-shell { padding: 34px 18px; }
  .te-rh-v1-cta { grid-template-columns: 1fr; gap: 18px; }
  .te-rh-v1-cta-mark { display: none; }
  .te-rh-v1-cta p, .te-rh-v1-cta .te-rh-v1-btn { grid-column: 1; }
  .te-rh-v1-filter-shell { padding: 18px 16px 24px; }
  .te-rh-v1-filter-label { width: 100%; margin: 0 0 5px; }
}

@media (prefers-reduced-motion:reduce) {
  .te-rh-v1 *, .te-rh-v1 *::before, .te-rh-v1 *::after { scroll-behavior: auto !important; transition: none !important; }
}
