/* Rainer Wemhöner – personenbezogene Immobilienpositionierung. Farben Rot/Weiß/Beige. */
:root { --rw-burgundy:#8e1419; --rw-warm:#fbf7f0; --rw-hairline:#e9dfd6; }
/* Hauptmarke: Rainer Wemhöner vor Senior Master Rainer */
.mark-name{font-size:clamp(1.27rem,2vw,1.58rem);font-weight:480;letter-spacing:-.018em;}
.mark-role{font-size:.73rem;font-weight:600;letter-spacing:.13em;color:var(--rubin);text-transform:uppercase;}
.hero.hero--home .hero-text{max-width:750px}
.hero.hero--home .hero-text h1{font-size:clamp(3rem,7.1vw,6.05rem);max-width:14ch;letter-spacing:-.04em;line-height:1.03}
.hero.hero--home .hero-sub{font-size:clamp(.78rem,1.1vw,1.06rem);letter-spacing:.09em;text-transform:uppercase;line-height:1.5;max-width:67ch;}
.hero.hero--home .hero-lead{font-size:clamp(1rem,1.2vw,1.24rem);max-width:54ch;line-height:1.58}
.hero-side-note{letter-spacing:.12em}
/* Benutzerdefinierte Fotos: mit runden Ecken – Videobereiche unverändert rechteckig. */
.rw-estate img, .rw-workshop img, .rw-business-picture img {display:block;width:100%;height:100%;object-fit:cover;border-radius:18px !important;}
.rw-estate{padding:clamp(72px,9vw,116px) 0 84px;background:linear-gradient(165deg,#fff 30%,var(--rw-warm) 100%);border-bottom:1px solid var(--rw-hairline)}
.rw-eyebrow{color:var(--rubin);font-size:.76rem;text-transform:uppercase;font-weight:800;letter-spacing:.18em;margin:0 0 18px}
.rw-estate-head{display:flex;justify-content:space-between;gap:36px;align-items:end;padding-bottom:48px}
.rw-estate-head h2{font-family:var(--f-display);font-size:clamp(2.4rem,4.4vw,4.05rem);font-weight:400;letter-spacing:-.032em;line-height:1.10;max-width:17ch;margin:0;color:#361f20}
.rw-estate-head p{max-width:39ch;font-size:1.07rem;color:#514641;margin:0 0 8px}
.rw-estate-head h2 em{font-style:normal;color:var(--rw-burgundy)}
.rw-estate-main{display:grid;grid-template-columns:1.22fr .78fr;gap:36px;align-items:stretch}
.rw-estate-main>figure{margin:0;min-height:380px}
.rw-estate-main img{aspect-ratio:1.43/1;object-position:center center}
.rw-estate-main figcaption{font-size:.84rem;color:#6c5e57;margin-top:11px}
.rw-estate-intro{display:flex;flex-direction:column;justify-content:center;border-top:2px solid var(--rw-burgundy);padding:28px clamp(4px,1vw,16px) 26px 8px}
.rw-estate-intro h3{font-family:var(--f-display);font-size:clamp(1.65rem,2.35vw,2.35rem);font-weight:420;letter-spacing:-.015em;color:#392021;line-height:1.17;margin:0 0 22px}
.rw-estate-intro p{line-height:1.68;font-size:1.05rem;max-width:42ch}
.rw-estate-intro .rw-inline-link{margin-top:16px;align-self:flex-start;color:var(--rw-burgundy);font-size:.95rem;font-weight:750;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:5px}
.rw-estate-grid{margin-top:54px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.rw-estate-item{padding:30px 25px;background:#fff;border:1px solid var(--rw-hairline);border-radius:18px;min-height:208px}
.rw-estate-item .rw-item-index{font-size:.72rem;letter-spacing:.14em;color:var(--rw-burgundy);font-weight:700;display:block;margin-bottom:26px}
.rw-estate-item h3{font-family:var(--f-display);font-size:1.45rem;font-weight:450;letter-spacing:-.008em;margin-bottom:12px;color:#412323}
.rw-estate-item p{font-size:.98rem;line-height:1.54;color:#645951;margin:0}
.rw-estate-dialogue{margin-top:48px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:48px;background:#f3ece4;border-radius:20px;overflow:hidden}
.rw-estate-dialogue .rw-dialogue-text{padding:clamp(30px,4vw,56px)}
.rw-estate-dialogue h3{font-family:var(--f-display);font-size:clamp(1.55rem,2.55vw,2.45rem);line-height:1.17;max-width:18ch;margin:0 0 20px}
.rw-estate-dialogue p{max-width:47ch;color:#544741}
.rw-estate-dialogue img{height:330px;object-position:center}
.rw-workshop{margin:0 0 34px;display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;background:#fff9f4;border:1px solid var(--rw-hairline);border-radius:20px;overflow:hidden}
.rw-workshop img{height:275px;object-position:50% 48%}
.rw-workshop-content{padding:24px 24px 24px 0}
.rw-workshop-content h3{font-size:1.52rem;color:#422728;line-height:1.22;margin:0 0 12px}
.rw-workshop-content p{color:#5a4c46;font-size:1rem;line-height:1.55;margin:0}
.rw-business-picture{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;padding:26px 0 36px}
.rw-business-picture img{height:310px;object-position:center}
.rw-business-picture h3{font-family:var(--f-display);font-size:clamp(1.5rem,2.3vw,2.3rem);font-weight:450;line-height:1.2;margin:0 0 16px}
.rw-business-picture p{line-height:1.65;max-width:46ch}
.rw-business-picture .rw-eyebrow{margin-bottom:12px}
/* Die seit Projektbeginn festgelegte Farbfamilie – keine schwarzen Flächen. */
.site-foot{background:#841017 !important;color:#f7eee6 !important}
.site-foot .foot-name,.site-foot .foot-h{color:#fff !important}
.site-foot a,.site-foot .foot-list a,.site-foot .foot-base a{color:#f7eee6 !important}
.site-foot .foot-base{color:#e7cfc8;border-color:rgba(255,255,255,.28)}
.band--intlvid{background:#f3ecec !important}
.stats{background:#870b12 !important}
/* Zuvor freigegebene Rundungen an Bildern/Schaltflächen beibehalten. Videos gerade. */
.btn,.btn--small,.btn--ghost,.lang,.menu-toggle,.compare-ribbon a{border-radius:999px !important}
.rw-estate *{box-sizing:border-box}
@media(max-width:980px){
  .rw-estate-head{display:block}
  .rw-estate-head p{margin:26px 0 0;max-width:66ch}
  .rw-estate-main{grid-template-columns:1fr}
  .rw-estate-main>figure{min-height:0}
  .rw-estate-main img{aspect-ratio:16/10}
  .rw-estate-intro{padding:25px 2px 12px}
  .rw-estate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .mark-name{font-size:1.27rem}
  .mark-role{font-size:.66rem;letter-spacing:.11em}
  .hero.hero--home .hero-text h1{font-size:clamp(2.65rem,10.4vw,3.7rem);line-height:1.02}
  .hero.hero--home .hero-sub{font-size:.74rem;letter-spacing:.055em}
  .hero.hero--home .hero-lead{font-size:1rem}
  .rw-estate{padding:64px 0 62px}
  .rw-estate-head{padding-bottom:30px}
  .rw-estate-head h2{font-size:clamp(2.1rem,9vw,3.2rem)}
  .rw-estate-grid{grid-template-columns:1fr;margin-top:32px;gap:12px}
  .rw-estate-item{min-height:0;padding:24px}
  .rw-estate-item .rw-item-index{margin-bottom:14px}
  .rw-estate-dialogue,.rw-workshop,.rw-business-picture{grid-template-columns:1fr;gap:0}
  .rw-estate-dialogue{margin-top:30px}
  .rw-estate-dialogue img{height:auto;aspect-ratio:16/10;object-fit:cover;order:-1}
  .rw-estate-dialogue .rw-dialogue-text{padding:26px}
  .rw-workshop img{height:auto;aspect-ratio:16/10}
  .rw-workshop-content{padding:22px}
  .rw-business-picture{gap:22px}
  .rw-business-picture img{height:auto;aspect-ratio:16/10}
}

/* Restoration: projects alone in Praxis; workshop belongs to property planning. */
#immobilien .rw-workshop{margin-top:clamp(28px,4vw,56px)}
#praxis .places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(25px,3.5vw,48px) clamp(18px,2.6vw,32px);align-items:start}
#praxis .places .pcard{margin:0;align-self:start;display:flex;flex-direction:column;gap:12px;grid-column:auto;grid-row:auto;transform:none;min-width:0}
#praxis .places .pcard .pimg{width:100%;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#f4f0ec}
#praxis .places .pcard .pimg img{width:100%;height:100%;object-fit:cover;position:static;display:block}
#praxis .places .pcard figcaption{margin:0;min-height:0}
#praxis .places .pcard strong{font-size:clamp(1.08rem,1.4vw,1.3rem);line-height:1.35}
#praxis .places .pcard span{font-size:clamp(.85rem,.95vw,.97rem);line-height:1.45}
@media(max-width:900px){#praxis .places{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#praxis .places{grid-template-columns:1fr;gap:28px}}
/* Keep timeline labels separate from copy even for long phrases. */
.timeline li{grid-template-columns:minmax(0,125px) minmax(0,1fr);column-gap:18px;align-items:start}
.timeline li strong{overflow-wrap:normal;hyphens:auto}
@media(max-width:640px){.timeline li{grid-template-columns:minmax(0,1fr);row-gap:5px}}

/* Präzise Bildanpassung: vollständiges 16:9-Motiv, beide Gesprächspartner sichtbar. */
.rw-estate-main > figure { min-height:0 !important; align-self:start !important; }
.rw-estate-main > figure > img { display:block !important; width:100% !important; height:auto !important; aspect-ratio:1672 / 941 !important; object-fit:contain !important; object-position:center center !important; }
