/* TWS Referenzen-Hub V2 – nur /referenzen/ (Klassen rh2-*) */
.rh2-page {
  --rh2-navy: #031f43;
  --rh2-navy-mid: #062a58;
  --rh2-ink: #102033;
  --rh2-muted: #55657a;
  --rh2-line: rgba(3, 31, 67, .12);
  --rh2-surface: #f2f5f9;
  --rh2-gold: #e7a400;
  --rh2-gold-dark: #8a6400;
  --rh2-red: var(--abus-red, #e30613);
  width: min(1320px, calc(100% - 2rem));
}
.rh2-page * { box-sizing: border-box; }
.rh2-page h2,
.rh2-page h3 { hyphens: manual; overflow-wrap: normal; text-wrap: balance; word-break: normal; }

.rh2-section { margin-top: clamp(2.75rem, 5.5vw, 4.5rem); }
.rh2-head { margin-bottom: clamp(1.25rem, 2.4vw, 1.75rem); }
.rh2-eyebrow { color: var(--rh2-gold-dark); font-size: .74rem; font-weight: 900; letter-spacing: .16em; line-height: 1.3; margin: 0 0 .55rem; text-transform: uppercase; }
.rh2-head h2 { color: var(--rh2-navy); font-size: clamp(1.6rem, 2.8vw, 2.35rem); letter-spacing: -.03em; line-height: 1.08; margin: 0; }
.rh2-kicker { color: var(--rh2-gold-dark); display: block; font-size: .7rem; font-weight: 900; letter-spacing: .13em; line-height: 1.35; margin: 0 0 .45rem; text-transform: uppercase; }
.rh2-link { align-items: center; color: var(--rh2-navy); display: inline-flex; font-size: .9rem; font-weight: 850; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.rh2-link span { color: var(--rh2-red); transition: transform .18s ease; }
.rh2-page a:hover .rh2-link span,
.rh2-page a:focus-visible .rh2-link span { transform: translateX(3px); }
.rh2-page a:focus-visible { outline: 3px solid var(--rh2-gold); outline-offset: 3px; }

/* AGGRETECH – Hauptfeature */
.rh2-feature {
  background: var(--rh2-navy);
  border-radius: 12px;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
  text-decoration: none;
}
.rh2-feature__media { display: block; min-height: 100%; overflow: hidden; position: relative; }
.rh2-feature__media img { display: block; height: 100%; object-fit: cover; object-position: 62% 50%; position: absolute; inset: 0; transition: transform .5s ease; width: 100%; }
.rh2-feature:hover .rh2-feature__media img { transform: scale(1.02); }
.rh2-feature__body {
  border-top: 3px solid var(--rh2-gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3.6vw, 3.25rem);
}
.rh2-feature__logo { align-self: flex-start; background: #fff; border-radius: 6px; display: inline-flex; margin-bottom: 1.5rem; padding: .6rem .85rem; }
.rh2-feature__logo img { display: block; height: auto; width: 150px; }
.rh2-feature .rh2-kicker { color: #ffc849; }
.rh2-feature h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.75rem); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 .9rem; }
.rh2-feature__lead { color: #dde5ee; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.6; margin: 0; max-width: 46ch; }
.rh2-feature__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.rh2-feature__tags li { border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .02em; padding: .28rem .7rem; }
.rh2-feature__cta {
  align-items: center;
  align-self: flex-start;
  background: linear-gradient(180deg, var(--rh2-red), var(--alarm-red-dark, #b8000c));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: .92rem;
  font-weight: 850;
  gap: .5rem;
  margin-top: 1.75rem;
  min-height: 48px;
  padding: .7rem 1.2rem;
}
.rh2-feature__cta span { transition: transform .18s ease; }
.rh2-feature:hover .rh2-feature__cta span { transform: translateX(3px); }

/* Drei weitere Featured Cases */
.rh2-cases { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1rem, 1.8vw, 1.5rem); }
.rh2-case,
.rh2-mini {
  background: #fff;
  border: 1px solid var(--rh2-line);
  border-radius: 10px;
  color: var(--rh2-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.rh2-case:hover,
.rh2-mini:hover { border-color: rgba(3, 31, 67, .4); transform: translateY(-2px); }
.rh2-case__media { aspect-ratio: 16 / 10; background: var(--rh2-surface); display: block; overflow: hidden; }
.rh2-case__media picture { display: block; height: 100%; }
.rh2-case__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.rh2-case__media--logo { align-items: center; display: flex; justify-content: center; padding: 2rem; }
.rh2-case__media--logo img { height: auto; max-height: 96px; max-width: 64%; object-fit: contain; width: auto; }
.rh2-case__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.4rem 1.4rem; }
.rh2-case h3 { color: var(--rh2-navy); font-size: clamp(1.2rem, 1.6vw, 1.38rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .55rem; }
.rh2-case__text,
.rh2-mini__text { color: var(--rh2-muted); display: block; font-size: .93rem; line-height: 1.55; }

/* Branchen */
.rh2-sector__label {
  align-items: center;
  color: var(--rh2-navy);
  display: flex;
  font-size: .78rem;
  font-weight: 900;
  gap: .9rem;
  letter-spacing: .14em;
  margin: 0 0 .85rem;
  text-transform: uppercase;
}
.rh2-sector__label::after { background: var(--rh2-line); content: ""; flex: 1; height: 1px; }
.rh2-sectors__row { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1.5rem, 2.6vw, 2rem); }
.rh2-sectors__row .rh2-sector { display: flex; flex-direction: column; }
.rh2-sectors__row .rh2-mini { flex: 1; }
.rh2-minis--3 { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh2-mini__media { align-items: center; background: var(--rh2-surface); display: flex; height: 112px; justify-content: center; overflow: hidden; padding: 1.1rem 1.5rem; }
.rh2-mini__media img { height: auto; max-height: 58px; max-width: 72%; object-fit: contain; width: auto; }
.rh2-mini__media--photo { padding: 0; position: relative; }
.rh2-mini__media--photo picture { display: block; inset: 0; position: absolute; }
.rh2-mini .rh2-mini__media--photo img { height: 100%; max-height: none; max-width: none; object-fit: cover; width: 100%; }
.rh2-mini__body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.2rem 1.2rem; }
.rh2-mini h3 { color: var(--rh2-navy); font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 .45rem; }
.rh2-mini__text { font-size: .88rem; }
.rh2-mini .rh2-link { font-size: .85rem; padding-top: .85rem; }

/* Logo-Wall */
.rh2-logos__grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.rh2-logos__grid li { align-items: center; background: #fff; border: 1px solid var(--rh2-line); border-radius: 8px; display: flex; flex: 0 0 calc((100% - 3rem) / 5); flex-direction: column; gap: .2rem; padding: 1.1rem .75rem 1rem; text-align: center; }
.rh2-logos__img { align-items: center; display: flex; height: 52px; justify-content: center; margin-bottom: .45rem; width: 100%; }
.rh2-logos__img img { height: auto; max-height: 48px; max-width: 70%; object-fit: contain; width: auto; }
.rh2-logos__img img.rh2-logo--crop { height: 48px; max-height: none; max-width: none; object-fit: cover; width: 124px; }
.rh2-logos__grid strong { color: var(--rh2-navy); font-size: .86rem; font-weight: 900; line-height: 1.25; }
.rh2-logos__grid li > span:last-child { color: var(--rh2-muted); font-size: .72rem; font-weight: 700; line-height: 1.35; }

.rh2-page .lp10-subcta { margin-top: clamp(2.75rem, 5.5vw, 4.5rem); }

@media (max-width: 1100px) {
  .rh2-feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

@media (max-width: 991px) {
  .rh2-feature { grid-template-columns: 1fr; min-height: 0; }
  .rh2-feature__media { aspect-ratio: 16 / 8; min-height: 0; }
  .rh2-cases,
  .rh2-minis--3,
  .rh2-sectors__row { grid-template-columns: 1fr; }
  .rh2-case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .rh2-case__media { aspect-ratio: auto; min-height: 220px; }
  .rh2-mini { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
  .rh2-mini__media { height: auto; min-height: 140px; }
  .rh2-sectors__row { gap: clamp(1.5rem, 2.6vw, 2rem); }
  .rh2-logos__grid li { flex-basis: calc((100% - 1.5rem) / 3); }
}

@media (max-width: 640px) {
  .rh2-page { width: calc(100% - 1.5rem); }
  .rh2-feature__media { aspect-ratio: 4 / 3; }
  .rh2-feature__body { padding: 1.6rem 1.25rem 1.5rem; }
  .rh2-feature__logo { margin-bottom: 1.1rem; }
  .rh2-feature__logo img { width: 128px; }
  .rh2-feature__cta { align-self: stretch; justify-content: center; }
  .rh2-case { display: flex; }
  .rh2-case__media { aspect-ratio: 16 / 10; min-height: 0; }
  .rh2-case__media--logo { aspect-ratio: 16 / 8; }
  .rh2-mini { display: flex; }
  .rh2-mini__media { height: 96px; min-height: 0; padding: .9rem 1.25rem; }
  .rh2-mini__media img { max-height: 46px; max-width: 70%; }
  .rh2-mini__media--photo { height: 150px; }
  .rh2-mini__body { padding: 1rem; }
  .rh2-mini .rh2-kicker { font-size: .64rem; letter-spacing: .1em; }
  .rh2-logos__grid { gap: .6rem; }
  .rh2-logos__grid li { flex-basis: calc((100% - .6rem) / 2); padding: 1rem .6rem .9rem; }
  .rh2-logos__img img.rh2-logo--crop { width: 104px; }
}

@media (max-width: 360px) {
  .rh2-feature__tags li { font-size: .7rem; padding: .24rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rh2-page * { transition: none !important; }
}

/* THOMAS-KRENN – zweites Hauptfeature (typografisch, nur Logo als Bild) */
.rh2-tk {
  background: #fff;
  border: 1px solid var(--rh2-line);
  border-radius: 12px;
  color: var(--rh2-ink);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  margin-top: clamp(1rem, 1.8vw, 1.5rem);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rh2-tk:hover { border-color: rgba(3, 31, 67, .4); box-shadow: 0 18px 40px rgba(3, 31, 67, .1); }
.rh2-tk__brand { background: var(--rh2-surface); border-right: 1px solid var(--rh2-line); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.75rem, 3.2vw, 3rem); position: relative; }
.rh2-tk__brand::before { background: #ff7d00; content: ""; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.rh2-tk__logo { align-items: center; align-self: flex-start; background: #fff; border: 1px solid var(--rh2-line); border-radius: 8px; display: flex; height: 132px; justify-content: center; padding: 1rem 1.4rem; width: min(100%, 250px); }
.rh2-tk__logo img { display: block; height: 100%; object-fit: contain; width: 100%; }
.rh2-tk__facts { display: grid; gap: 0; margin: 0; }
.rh2-tk__facts div { border-top: 1px solid var(--rh2-line); display: grid; gap: .15rem 1rem; grid-template-columns: 6.5rem minmax(0, 1fr); padding: .75rem 0; }
.rh2-tk__facts dt { color: var(--rh2-muted); font-size: .72rem; font-weight: 900; letter-spacing: .12em; padding-top: .15rem; text-transform: uppercase; }
.rh2-tk__facts dd { color: var(--rh2-navy); font-size: .95rem; font-weight: 750; line-height: 1.4; margin: 0; }
.rh2-tk__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 3.6vw, 3.25rem); }
.rh2-tk h3 { color: var(--rh2-navy); font-size: clamp(1.9rem, 3vw, 2.75rem); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 .9rem; }
.rh2-tk__lead { color: var(--rh2-muted); font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.6; margin: 0; max-width: 58ch; }
.rh2-tk__chain { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.6rem; }
.rh2-tk__label { color: var(--rh2-navy); display: block; font-size: .72rem; font-weight: 900; letter-spacing: .14em; margin-bottom: .5rem; text-transform: uppercase; }
.rh2-tk__chain ul { border-top: 2px solid var(--rh2-navy); list-style: none; margin: 0; padding: 0; }
.rh2-tk__chain li { border-bottom: 1px solid var(--rh2-line); color: var(--rh2-ink); font-size: .93rem; font-weight: 650; line-height: 1.4; padding: .55rem 0; }
.rh2-tk .rh2-feature__cta span { transition: transform .18s ease; }
.rh2-tk:hover .rh2-feature__cta span { transform: translateX(3px); }
.rh2-cases--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh2-cases--2 .rh2-case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.rh2-cases--2 .rh2-case__media { aspect-ratio: auto; min-height: 230px; }

@media (max-width: 991px) {
  .rh2-tk { grid-template-columns: 1fr; }
  .rh2-tk__brand { border-right: 0; border-bottom: 1px solid var(--rh2-line); flex-direction: row; align-items: center; flex-wrap: wrap; }
  .rh2-tk__facts { flex: 1 1 280px; }
  .rh2-cases--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rh2-tk__brand { flex-direction: column; align-items: stretch; gap: 1.1rem; padding: 1.5rem 1.25rem 1rem; }
  .rh2-tk__facts { flex: none; }
  .rh2-tk__facts div { padding: .6rem 0; }
  .rh2-tk__logo { height: 104px; width: 190px; }
  .rh2-tk__facts div { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .rh2-tk__body { padding: 1.6rem 1.25rem 1.5rem; }
  .rh2-tk__chain { grid-template-columns: 1fr; }
  .rh2-tk .rh2-feature__cta { align-self: stretch; justify-content: center; }
  .rh2-cases--2 .rh2-case { display: flex; }
  .rh2-cases--2 .rh2-case__media { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .rh2-tk { transition: none; } }

/* WAVE 2 – Vorreiter Clinic (drittes Hauptfeature, typografisch) */
.rh2-vc { background: var(--rh2-navy); border-radius: 12px; color: #fff; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); margin-top: clamp(1rem, 1.8vw, 1.5rem); overflow: hidden; text-decoration: none; transition: box-shadow .18s ease; }
.rh2-vc:hover { box-shadow: 0 18px 40px rgba(3, 31, 67, .22); }
.rh2-vc__brand { border-right: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; padding: clamp(1.75rem, 3.2vw, 3rem); position: relative; }
.rh2-vc__brand::before { background: var(--rh2-red); content: ""; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.rh2-vc__name { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.rh2-vc__name span { color: #ff8a91; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.rh2-vc__name strong { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.rh2-vc__facts div { border-top-color: rgba(255, 255, 255, .16); }
.rh2-vc__facts dt { color: #9fb6d3; }
.rh2-vc__facts dd { color: #fff; }
.rh2-vc__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 3.6vw, 3.25rem); }
.rh2-vc .rh2-kicker { color: #ffc849; }
.rh2-vc h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.75rem); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 .9rem; }
.rh2-vc__lead { color: #dde5ee; }
.rh2-vc__chain .rh2-tk__label { color: #fff; }
.rh2-vc__chain ul { border-top-color: #fff; }
.rh2-vc__chain li { border-bottom-color: rgba(255, 255, 255, .16); color: #e8eef6; }
.rh2-vc:hover .rh2-feature__cta span { transform: translateX(3px); }

/* WAVE 2 – Regionale Referenzen */
.rh2-regs { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh2-reg { background: #fff; border: 1px solid var(--rh2-line); border-top: 3px solid var(--rh2-navy); border-radius: 10px; color: var(--rh2-ink); display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.4rem; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
a.rh2-reg:hover { border-color: rgba(3, 31, 67, .4); transform: translateY(-2px); }
.rh2-reg h3 { color: var(--rh2-navy); font-size: clamp(1.25rem, 1.7vw, 1.45rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem; }
.rh2-reg__text { color: var(--rh2-muted); display: block; font-size: .93rem; line-height: 1.55; }
.rh2-reg__tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.rh2-reg__tags li { background: var(--rh2-surface); border-radius: 999px; color: var(--rh2-navy); font-size: .72rem; font-weight: 800; padding: .26rem .65rem; }
.rh2-reg__links { color: var(--rh2-muted); font-size: .86rem; line-height: 1.6; margin: auto 0 0; padding-top: 1rem; }
.rh2-reg__links a { color: var(--rh2-navy); font-weight: 800; }
.rh2-reg--static { border-top-color: var(--rh2-line); }
.rh2-mini--static .rh2-reg__links { margin-top: auto; padding-top: .85rem; }
.rh2-mini__media--type span { color: var(--rh2-navy); font-size: 1.6rem; font-weight: 900; letter-spacing: .02em; }
.rh2-minis--4 { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) { .rh2-minis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .rh2-vc { grid-template-columns: 1fr; }
  .rh2-vc__brand { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .rh2-regs { grid-template-columns: 1fr; }
  .rh2-minis--4 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rh2-vc__brand { gap: 1.1rem; padding: 1.5rem 1.25rem 1rem; }
  .rh2-vc__body { padding: 1.6rem 1.25rem 1.5rem; }
  .rh2-vc .rh2-feature__cta { align-self: stretch; justify-content: center; }
  .rh2-reg { padding: 1.25rem 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .rh2-vc, .rh2-reg { transition: none; } }
.rh2-vc__name em { color: #ff8a91; font-size: 1.6rem; font-style: normal; font-weight: 800; line-height: 1; }
@media (max-width: 640px) {
  .rh2-vc__name { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
  .rh2-vc__name span { flex-basis: 100%; }
  .rh2-vc__name strong { font-size: 1.6rem; }
  .rh2-vc__name em { font-size: 1.2rem; }
}
/* Owner-Review: Knaus allein als Featured-Case, Stahlbau unter Industrie */
.rh2-cases--1 { grid-template-columns: 1fr; }
.rh2-cases--1 .rh2-case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.rh2-cases--1 .rh2-case__media { aspect-ratio: auto; min-height: 300px; }
.rh2-cases--1 .rh2-case__body { justify-content: center; padding: clamp(1.6rem, 3vw, 2.6rem); }
.rh2-cases--1 .rh2-case h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
@media (max-width: 640px) { .rh2-cases--1 .rh2-case { display: flex; } .rh2-cases--1 .rh2-case__media { aspect-ratio: 16 / 10; min-height: 0; } }
