/* ==========================================================================
   ÜBER UNS PAGE – Rösternest (1:1 Design Canvas)
   Gold accents on white titles are intentional (user override).
   ========================================================================== */

/* ── Shared page tokens ───────────────────────────────── */
.rn-about-container {
  width: 100%;
  max-width: var(--rn-dc-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.rn-about-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A8844F;
}

.rn-about-eyebrow--on-dark {
  color: #C9A876;
}

.rn-about-title {
  margin: 0 0 32px;
  color: #111;
}

.rn-about-title--on-dark {
  color: #fff;
  margin: 0;
}

/* Intentional gold on white (and dark) titles */
.page-template-page-ueber-uns .rn-about-title .rn-accent,
.page-template-page-ueber-uns .rn-dc-hero .rn-accent {
  color: #9C7A48;
  font-style: normal;
}

.page-template-page-ueber-uns .rn-about-title--on-dark .rn-accent {
  color: #C9A876;
}

.rn-about-text {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  text-wrap: pretty;
}

.rn-about-text--last {
  margin-bottom: 0;
}

.rn-about-text--cta-gap {
  margin-bottom: 40px;
}

.rn-about-quote {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #e6e6e6;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 500;
  color: #111;
  text-wrap: pretty;
}

/* ── Buttons (design) ─────────────────────────────────── */
.rn-dc-btn {
  white-space: nowrap;
}

/* ── Figures ──────────────────────────────────────────── */
.rn-about-figure {
  margin: 0;
  position: relative;
  border-radius: var(--rn-radius-card);
  overflow: hidden;
  background: #111;
}

.rn-about-figure--portrait {
  aspect-ratio: 4 / 5;
}

.rn-about-figure--landscape {
  aspect-ratio: 4 / 3;
}

.rn-about-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-about-figure__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.rn-about-figure__caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

/* ── Geschichte ───────────────────────────────────────── */
.rn-about-geschichte {
  background: #fff;
  color: #111;
  padding: clamp(88px, 10vw, 150px) 24px;
  scroll-margin-top: 70px;
}

.rn-about-geschichte__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

/* ── Werte ────────────────────────────────────────────── */
.rn-about-werte {
  background: #000;
  color: #fff;
  padding: clamp(88px, 10vw, 150px) 24px;
  scroll-margin-top: 70px;
}

.rn-about-werte__header {
  text-align: center;
  margin-bottom: 64px;
}

.rn-about-werte__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.rn-about-value-card {
  border: 1px solid #262626;
  border-radius: var(--rn-radius-card);
  padding: 40px 30px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.rn-about-value-card:hover,
.rn-about-value-card:focus-within {
  border-color: #C9A876;
}

.rn-about-value-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #C9A876;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.rn-about-value-card__icon .material-symbols-rounded {
  font-size: 26px;
  line-height: 1;
}

.rn-about-value-card__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.rn-about-value-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #a3a3a3;
  text-wrap: pretty;
}

/* ── Rösterei ─────────────────────────────────────────── */
.rn-about-roesterei {
  background: #fff;
  color: #111;
  padding: clamp(88px, 10vw, 150px) 24px;
}

.rn-about-roesterei__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.rn-about-roesterei__copy .rn-about-title {
  margin-bottom: 32px;
}

/* ── Zahlen ───────────────────────────────────────────── */
.rn-about-zahlen {
  background: #000;
  color: #fff;
  padding: clamp(64px, 7vw, 100px) 24px;
}

.rn-about-zahlen__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.rn-about-stat {
  padding: 28px 24px;
  text-align: center;
  border-left: 1px solid #1f1f1f;
}

.rn-about-stat__value {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.rn-about-stat__suffix {
  color: #C9A876;
}

.rn-about-stat__label {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a3a3a3;
}

/* ── CTA ──────────────────────────────────────────────── */
.rn-about-cta {
  background: #fff;
  color: #111;
  padding: clamp(96px, 11vw, 160px) 24px 40px;
  text-align: center;
}

.rn-about-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}

.rn-about-cta .rn-about-title {
  margin: 0 0 22px;
}

.rn-about-cta__text {
  margin: 0 auto 40px;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.75;
  color: #555;
  text-wrap: pretty;
}

.rn-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ── Responsive tweaks ────────────────────────────────── */
@media (max-width: 768px) {

  .rn-about-roesterei__grid .rn-about-figure {
    order: -1;
  }
}

@media (max-width: 480px) {

  .rn-about-cta__actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   Shared: slim subpage hero (Konfigurator & Co.) – keep for other templates
   ========================================================================== */

.rn-about-hero {
  position: relative;
  min-height: var(--rn-hero-min-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.rn-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rn-about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.rn-about-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  padding-top: calc(var(--rn-header-height) + 4rem);
}

.rn-about-hero__label {
  display: inline-block;
  font-family: var(--rn-font-display);
  font-size: var(--rn-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rn-accent);
  margin-bottom: var(--rn-space-4);
}

.rn-about-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--rn-white);
  margin: 0 0 var(--rn-space-4) 0;
}

.rn-about-hero__desc {
  font-size: var(--rn-text-lg);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0;
}

.rn-about-hero--slim {
  min-height: 0;
  height: auto;
}

.rn-about-hero--slim .rn-about-hero__content {
  padding-top: calc(var(--rn-header-height) + 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.rn-about-hero--slim .rn-about-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: var(--rn-space-3);
}

.rn-about-hero--slim .rn-about-hero__desc {
  font-size: var(--rn-text-base);
  max-width: 480px;
}

.rn-about-hero--slim .rn-about-hero__label {
  margin-bottom: var(--rn-space-3);
}

/* Konfigurator: Standard-Seitenkopf (rn-dc-hero), nur Bildausschnitt + Dampf eigen */
.rn-cfg-hero .rn-dc-hero__img {
  object-position: 72% 38%;
}

.rn-cfg-hero__steam {
  position: absolute;
  left: 64%;
  top: 18%;
  width: 22%;
  height: 58%;
  z-index: 1;
  pointer-events: none;
}

.rn-cfg-hero__steam .hero__steam-wisp {
  opacity: 0.42;
  filter: blur(0.8px);
  mix-blend-mode: screen;
}

.rn-cfg-hero__steam .hero__steam-wisp--a { opacity: 0.48; }
.rn-cfg-hero__steam .hero__steam-wisp--b { opacity: 0.34; }
.rn-cfg-hero__steam .hero__steam-wisp--c { opacity: 0.4; }

.rr-cfg-page-main {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* WEBLABS 2026-10-21 (SEO): Kennzeile des Konfigurator-Heros steht jetzt in
   der H1 - als Block und mit eigener Zeilenhoehe, damit sie aussieht wie vorher. */
.rn-cfg-hero .rn-cfg-hero__kennzeile {
  display: block;
  width: fit-content;
  line-height: 1.4;
}
