/* Repar-A-Tronik Testimonials – gemütliche Werkstattregal-Galerie */
.rt-testimonials-page {
  --rtt-ink: #29352e;
  --rtt-muted: #62685b;
  --rtt-green: #48634a;
  --rtt-dark: #304a35;
  --rtt-paper: #f3efe4;
  --rtt-wood: #9b7049;
  color: var(--rtt-ink);
  background:
    radial-gradient(ellipse at 12% 5%, rgba(255,255,255,.72), transparent 38%),
    linear-gradient(180deg, #f5f0e5 0%, #e9e1d1 100%);
  font-family: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  padding: 1px 0 50px;
}
.rt-testimonials-page *, .rt-testimonials-page *::before, .rt-testimonials-page *::after { box-sizing: border-box; }
.rt-testimonials-main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.rt-testimonials-hero { max-width: 850px; padding: clamp(55px, 9vw, 105px) 0 45px; }
.rt-testimonials-eyebrow { margin: 0 0 15px; color: var(--rtt-green); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.rt-testimonials-hero h1 { max-width: 780px; margin: 0 0 20px; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.04; letter-spacing: -.06em; }
.rt-testimonials-hero p:not(.rt-testimonials-eyebrow) { max-width: 650px; color: var(--rtt-muted); font-size: 18px; }
.rt-testimonials-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 14px; padding: 0 19px; border: 1px solid rgba(48,74,53,.12); border-radius: 999px; background: #e2e8d9; color: var(--rtt-dark); font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.rt-testimonials-button:hover { background: #d6e0ce; text-decoration: none; transform: translateY(-1px); }

/* Die Galerie wirkt wie ordentlich gebaute Fächer in einem Werkstattregal. */
.rt-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 28px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(92,65,39,.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #c7a17a 0%, #a87d55 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.35), inset 0 -5px 10px rgba(61,42,24,.2), 0 15px 30px rgba(65,48,29,.12);
}
.rt-cubby-card {
  min-width: 0;
  padding: 16px 17px 18px;
  border: 1px solid rgba(79,54,32,.34);
  border-radius: 3px;
  background: linear-gradient(145deg, #f9f5e9, #eee5d4);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.22), 0 5px 10px rgba(60,39,22,.18);
}
.rt-cubby-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #6a5a45; }
.rt-cubby-label { font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rt-cubby-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid rgba(93,76,54,.25); border-radius: 50%; background: #e5dcc9; color: #63513b; font-size: 11px; font-weight: 800; }
.rt-cubby-picture { padding: 9px; border: 1px solid rgba(93,76,54,.22); background: #d9c9ae; box-shadow: inset 0 1px 4px rgba(64,45,24,.12); }
.rt-cubby-picture img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; background: #fbf8ef; }
.rt-image-placeholder { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 20px; color: #6a705f; text-align: center; background: repeating-linear-gradient(135deg, #e9e7dc, #e9e7dc 12px, #e2e0d3 12px, #e2e0d3 24px); }
.rt-image-placeholder span { font-size: 18px; font-weight: 750; }
.rt-image-placeholder small { font-size: 12px; }
.rt-cubby-caption { padding: 19px 4px 0; }
.rt-cubby-caption h2 { margin: 0 0 13px; color: #303c31; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.035em; }
.rt-cubby-caption ul { list-style: none; margin: 0; padding: 0; }
.rt-cubby-caption li { position: relative; margin: 0 0 8px; padding-left: 25px; color: #535d50; font-size: 14px; }
.rt-cubby-caption li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--rtt-green); font-weight: 900; }
.rt-testimonials-footer { display: flex; flex-direction: column; align-items: center; margin: 62px auto 0; padding: 40px 20px; border: 1px solid rgba(73,91,65,.12); border-radius: 8px; background: rgba(250,247,238,.82); box-shadow: 0 8px 24px rgba(65,48,29,.06); text-align: center; color: #394333;}
.rt-testimonials-footer p { margin: 0; font-size: 22px; font-weight: 750; }
.rt-testimonials-button-dark { background: var(--rtt-dark); color: #fff; }
.rt-testimonials-button-dark:hover { background: #243d2a; color: #fff; }
.rt-testimonials-backlink { margin-top: 22px; color: var(--rtt-green); font-size: 13px; font-weight: 750; }
@media (max-width: 760px) {
  .rt-testimonials-main { width: calc(100% - 30px); }
  .rt-testimonials-hero { padding: 55px 0 35px; }
  .rt-testimonials-hero p:not(.rt-testimonials-eyebrow) { font-size: 16px; }
  .rt-gallery { grid-template-columns: 1fr; gap: 17px; padding: 12px; }
  .rt-cubby-card { padding: 13px; }
  .rt-image-placeholder { min-height: 210px; }
  .rt-testimonials-footer { margin-top: 42px; }
}
@media (prefers-reduced-motion: reduce) { .rt-testimonials-page * { transition: none !important; } }
