
/* Rheinland Immobilien — Premium Polish V1
   Visual refinement only: no copy/content changes. */

:root{
  --ri-ink:#0b1f36;
  --ri-ink-soft:#132b45;
  --ri-paper:#f7f5f0;
  --ri-paper-2:#fbfaf7;
  --ri-gold:#b89557;
  --ri-line:rgba(11,31,54,.10);
}

/* Softer overall canvas */
body{
  background:var(--ri-paper-2);
}

/* Consistent section rhythm without crushing premium whitespace */
main > section{
  scroll-margin-top:90px;
}
.section{
  padding-top:clamp(72px,7vw,112px);
  padding-bottom:clamp(72px,7vw,112px);
}
.section + .section{
  border-top:1px solid rgba(11,31,54,.055);
}

/* Subtle alternating warmth on otherwise plain white sections */
main > .section:nth-of-type(even){
  background:rgba(247,245,240,.55);
}

/* Headlines: slightly tighter and more editorial */
.section-heading h2,
.section h2{
  letter-spacing:-.025em;
  text-wrap:balance;
}
.section-heading p{
  max-width:760px;
}

/* Cards: calmer borders, premium lift */
[class*="card"]{
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
[class*="card"]:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 48px rgba(7,24,42,.09);
  border-color:rgba(184,149,87,.25);
}

/* Images: restrained cinematic hover */
[class*="card"] img,
.property-card img,
.object-card img{
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
}
[class*="card"]:hover img,
.property-card:hover img,
.object-card:hover img{
  transform:scale(1.025);
}

/* Unified buttons and CTAs */
.btn,
.button,
[class*="cta"],
a[class*="primary"],
a[class*="secondary"]{
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover,
.button:hover,
a[class*="primary"]:hover,
a[class*="secondary"]:hover{
  transform:translateY(-2px);
}

/* Header: premium glass state once page is scrolled */
.topbar{
  transition:background-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
body.ri-scrolled .topbar{
  position:fixed !important;
  top:0; left:0; right:0;
  background:rgba(7,24,42,.94) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 8px 30px rgba(4,16,29,.12) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

/* Navigation interaction */
.topbar .nav a{
  transition:color .2s ease, opacity .2s ease;
}
.topbar .nav a:hover{
  color:#d0ae70 !important;
}

/* Footer separation */
footer{
  border-top:1px solid rgba(255,255,255,.08);
}

/* Mobile polish */
@media(max-width:760px){
  .section{
    padding-top:64px;
    padding-bottom:64px;
  }
  [class*="card"]:hover{
    transform:none;
    box-shadow:none;
  }
}

/* Respect accessibility preference */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}


/* Final detail pass — align metric values and labels consistently */
.hn-facts > div,
.featured-facts > div,
.numbers > div,
.seller-stats > div,
.energy-hero-facts > div,
.object-facts > div,
.ri-sticky-facts > div{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* Equal value rows: different glyphs/units no longer move neighbouring labels */
.hn-facts strong,
.featured-facts strong,
.numbers strong,
.seller-stats strong,
.energy-hero-facts strong,
.object-facts strong,
.ri-sticky-facts b{
  display:flex;
  align-items:flex-end;
  min-height:1.45em;
  line-height:1.05;
  margin-bottom:0;
}

/* Equal label rows underneath the figures */
.hn-facts span,
.featured-facts span,
.numbers span,
.seller-stats span,
.energy-hero-facts span,
.object-facts small,
.ri-sticky-facts span{
  display:block;
  min-height:1.35em;
  line-height:1.35;
}

/* Keep the spacing from value to label identical within each statistic strip */
.hn-facts span,
.ri-sticky-facts span{
  margin-top:7px;
}
.featured-facts span,
.numbers span,
.energy-hero-facts span,
.object-facts small{
  margin-top:6px;
}
.seller-stats span{
  margin-top:7px;
}

/* Tabular numerals make columns visually calmer without changing typography */
.hn-facts strong,
.featured-facts strong,
.numbers strong,
.seller-stats strong,
.energy-hero-facts strong,
.object-facts strong,
.ri-sticky-facts b,
.ri-facts strong,
.ri-listing-meta b{
  font-variant-numeric:tabular-nums lining-nums;
}

/* Listing metadata: keep all three values on the same baseline */
.ri-listing-meta{
  align-items:baseline;
}
.ri-listing-meta b{
  line-height:1.25;
}

/* Detail tables: values align cleanly even with different lengths */
.ri-facts div{
  align-items:baseline;
  gap:20px;
}
.ri-facts strong{
  text-align:right;
  line-height:1.2;
}

/* Legal pages — premium sizing/layout */
.ri-legal-page main{max-width:1180px;margin:0 auto;padding:clamp(120px,12vw,170px) 6vw clamp(80px,8vw,120px)}
.ri-legal-page h1{font-family:"Playfair Display",serif;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.03;letter-spacing:-.035em;color:var(--ri-ink);margin:0 0 46px}
.ri-legal-page h2{font-size:clamp(1.15rem,1.8vw,1.45rem);color:var(--ri-ink);margin:40px 0 13px}
.ri-legal-page h3{font-size:1rem;color:var(--ri-ink);margin:27px 0 10px}
.ri-legal-page p,.ri-legal-page li{max-width:900px;font-size:.92rem;line-height:1.8;color:#53606d}
.ri-legal-page main a{color:var(--ri-ink)}
@media(max-width:760px){.ri-legal-page main{padding:105px 22px 70px}.ri-legal-page h1{margin-bottom:32px}}


/* FINAL LEGAL COMPACT OVERRIDE */
body.ri-legal-page main{
  width:min(1040px, calc(100% - 48px)) !important;
  max-width:1040px !important;
  margin:0 auto !important;
  padding:96px 0 72px !important;
}
body.ri-legal-page main h1{
  font-size:clamp(2rem,3vw,2.75rem) !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
  margin:0 0 30px !important;
}
body.ri-legal-page main h2{
  font-size:1.12rem !important;
  line-height:1.3 !important;
  margin:30px 0 9px !important;
}
body.ri-legal-page main h3{
  font-size:.98rem !important;
  line-height:1.35 !important;
  margin:22px 0 7px !important;
}
body.ri-legal-page main p,
body.ri-legal-page main li,
body.ri-legal-page main address{
  font-size:.84rem !important;
  line-height:1.62 !important;
  max-width:900px !important;
  margin-top:0 !important;
  margin-bottom:9px !important;
}
body.ri-legal-page main ul,
body.ri-legal-page main ol{
  margin-top:7px !important;
  margin-bottom:15px !important;
}
body.ri-legal-page main section,
body.ri-legal-page main > div{
  padding-top:0 !important;
  padding-bottom:0 !important;
}
@media(max-width:760px){
  body.ri-legal-page main{
    width:calc(100% - 36px) !important;
    padding:82px 0 56px !important;
  }
  body.ri-legal-page main h1{
    font-size:2rem !important;
    margin-bottom:24px !important;
  }
}

/* CONTACT: no map/location column; remaining content uses the width cleanly */
body:has(main) .contact-grid,
body:has(main) .contact-layout,
body:has(main) .contact-main{
  grid-template-columns:minmax(0,1fr) minmax(320px,1fr) !important;
}


/* =========================================================
   LEGAL PAGES — SAME TYPOGRAPHY & RHYTHM AS THE REST OF SITE
   No special oversized legal-page design.
   ========================================================= */
body.ri-legal-page main{
  width:min(1180px, calc(100% - 48px)) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:clamp(84px,8vw,112px) 0 72px !important;
  background:transparent !important;
}

/* Same headline scale/language as normal inner-page content, not a giant hero */
body.ri-legal-page main h1{
  font-family:"Playfair Display", Georgia, serif !important;
  font-size:clamp(2rem,3.4vw,3rem) !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
  color:var(--ri-ink) !important;
  margin:0 0 32px !important;
}

/* Standard section heading scale */
body.ri-legal-page main h2{
  font-family:inherit !important;
  font-size:1.15rem !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  color:var(--ri-ink) !important;
  margin:30px 0 10px !important;
}
body.ri-legal-page main h3{
  font-family:inherit !important;
  font-size:.98rem !important;
  line-height:1.4 !important;
  font-weight:700 !important;
  color:var(--ri-ink-soft) !important;
  margin:22px 0 7px !important;
}

/* Same readable body copy scale used throughout the website */
body.ri-legal-page main p,
body.ri-legal-page main li,
body.ri-legal-page main address{
  font-family:inherit !important;
  font-size:.9rem !important;
  line-height:1.7 !important;
  font-style:normal !important;
  color:#53606d !important;
  max-width:920px !important;
  margin-top:0 !important;
  margin-bottom:10px !important;
}

/* Remove card-like / special legal presentation */
body.ri-legal-page main section,
body.ri-legal-page main article,
body.ri-legal-page main > div{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body.ri-legal-page main ul,
body.ri-legal-page main ol{
  margin:8px 0 18px !important;
  padding-left:20px !important;
}
body.ri-legal-page main a{
  color:var(--ri-ink) !important;
}
body.ri-legal-page main hr{
  border:0 !important;
  border-top:1px solid rgba(11,31,54,.10) !important;
  margin:28px 0 !important;
}

@media(max-width:760px){
  body.ri-legal-page main{
    width:calc(100% - 36px) !important;
    padding:76px 0 54px !important;
  }
  body.ri-legal-page main h1{
    font-size:2rem !important;
    margin-bottom:26px !important;
  }
  body.ri-legal-page main h2{
    font-size:1.08rem !important;
  }
  body.ri-legal-page main p,
  body.ri-legal-page main li{
    font-size:.88rem !important;
  }
}

/* Rechtliches – gleiche Designsprache wie normale Unterseiten */
.ri-legal-standard{
  max-width:1180px;
  margin:0 auto;
}
.ri-legal-standard .section-heading{
  text-align:left;
  margin-bottom:34px;
}
.ri-legal-standard .section-heading h1{
  font-family:"Playfair Display", Georgia, serif;
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.08;
  letter-spacing:-.025em;
  margin:8px 0 0;
  color:var(--ri-ink);
}
.ri-legal-standard-content{
  max-width:900px;
  border-top:1px solid var(--ri-line);
  padding-top:8px;
}
.ri-legal-standard-content h2{
  font-family:inherit;
  font-size:1rem;
  line-height:1.35;
  color:var(--ri-ink);
  margin:26px 0 8px;
}
.ri-legal-standard-content p,
.ri-legal-standard-content li{
  font-size:.88rem;
  line-height:1.7;
  color:#53606d;
  margin:0 0 10px;
}
.ri-legal-standard-content a{
  color:var(--ri-ink);
}
.ri-legal-note{
  margin-top:26px !important;
  padding-top:18px;
  border-top:1px solid var(--ri-line);
  color:#6b747d !important;
}
@media(max-width:760px){
  .ri-legal-standard .section-heading{
    margin-bottom:26px;
  }
  .ri-legal-standard .section-heading h1{
    font-size:2rem;
  }
  .ri-legal-standard-content p,
  .ri-legal-standard-content li{
    font-size:.86rem;
  }
}


/* Cookie-Einstellungen — transparent, gleichwertige Auswahl */
.cookie-actions .cookie-reject,
.cookie-settings-actions .cookie-reject{
  background:#fff !important;
  color:#0b1f36 !important;
  border:1px solid rgba(11,31,54,.28) !important;
}
.cookie-actions .accept,
.cookie-actions .cookie-reject{
  min-width:150px;
  min-height:46px;
}
.cookie-links{
  display:flex;
  gap:16px;
  margin-top:10px;
}
.cookie-links a{
  font-size:.75rem;
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cookie-settings-card{
  max-height:min(82vh,760px);
  overflow:auto;
}
.cookie-settings-intro{
  margin:8px 0 22px;
  font-size:.82rem;
  line-height:1.6;
  color:#66717c;
}
.cookie-service{
  padding:18px 0;
  border-top:1px solid rgba(11,31,54,.10);
}
.cookie-service label{
  margin-bottom:12px;
}
.cookie-service dl{
  margin:0 0 0 32px;
  font-size:.72rem;
}
.cookie-service dl div{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  padding:5px 0;
}
.cookie-service dt{
  color:#7a8490;
}
.cookie-service dd{
  margin:0;
  color:#26394d;
}
.cookie-settings-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}
.cookie-settings-actions button{
  flex:1;
  min-height:46px;
}
.cookie-withdrawal{
  margin:14px 0 0;
  font-size:.7rem;
  line-height:1.5;
  color:#7a8490;
}
@media(max-width:640px){
  .cookie-actions,
  .cookie-settings-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .cookie-service dl{
    margin-left:0;
  }
  .cookie-service dl div{
    grid-template-columns:1fr;
    gap:2px;
  }
}


/* Telefonnummern — Ziffern optisch exakt auf einer Höhe */
a[href^="tel:"],
a[href^="tel:"] *,
.phone,
.phone *{
  font-variant-numeric: lining-nums tabular-nums !important;
  font-feature-settings: "lnum" 1, "tnum" 1 !important;
}


/* =========================================================
   ÜBER UNS — FINAL PREMIUM POLISH
   Farbe + Größen + Abstände + Rhythmus.
   Nur diese Seite; Inhalte/Struktur bleiben unverändert.
   ========================================================= */

body.ri-about-final-polish main{
  background:#fbfaf7;
}

/* Section rhythm on the level of the other premium subpages */
body.ri-about-final-polish main > section{
  padding-top:clamp(72px,7vw,104px) !important;
  padding-bottom:clamp(72px,7vw,104px) !important;
  position:relative;
}
body.ri-about-final-polish main > section:nth-of-type(odd){
  background:#fbfaf7 !important;
}
body.ri-about-final-polish main > section:nth-of-type(even){
  background:#f4f1eb !important;
}
body.ri-about-final-polish main > section + section{
  border-top:1px solid rgba(11,31,54,.055);
}

/* Keep content widths calm and consistent */
body.ri-about-final-polish main section > .container,
body.ri-about-final-polish main section > [class*="inner"],
body.ri-about-final-polish main section > [class*="wrap"]{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

/* Main headings */
body.ri-about-final-polish main h1,
body.ri-about-final-polish main h2{
  color:#0b1f36 !important;
  letter-spacing:-.028em;
  text-wrap:balance;
}
body.ri-about-final-polish main h2{
  font-size:clamp(2rem,3.25vw,3.15rem) !important;
  line-height:1.08 !important;
  margin-bottom:clamp(20px,2vw,30px) !important;
}
body.ri-about-final-polish main h3{
  color:#132b45 !important;
  line-height:1.25;
}

/* Body copy: readable but not oversized */
body.ri-about-final-polish main p{
  color:#586572;
  font-size:clamp(.94rem,1vw,1.02rem);
  line-height:1.72;
}
body.ri-about-final-polish main p + p{
  margin-top:16px;
}

/* The new "Persönlichkeit schafft Vertrauen." block */
body.ri-about-final-polish main h2:first-of-type{
  max-width:760px;
}
body.ri-about-final-polish main h2:first-of-type + p{
  max-width:780px;
}

/* Gold only as a restrained accent */
body.ri-about-final-polish main .kicker,
body.ri-about-final-polish main [class*="eyebrow"],
body.ri-about-final-polish main [class*="overline"]{
  color:#a98245 !important;
  letter-spacing:.14em;
}

/* Cards / principles / values */
body.ri-about-final-polish main [class*="card"],
body.ri-about-final-polish main [class*="value"],
body.ri-about-final-polish main [class*="feature"]{
  background:#fffdf9;
  border:1px solid rgba(11,31,54,.085);
  box-shadow:0 10px 34px rgba(7,24,42,.035);
}
body.ri-about-final-polish main [class*="card"] h3,
body.ri-about-final-polish main [class*="value"] h3,
body.ri-about-final-polish main [class*="feature"] h3{
  margin-bottom:10px;
}
body.ri-about-final-polish main [class*="card"] p,
body.ri-about-final-polish main [class*="value"] p,
body.ri-about-final-polish main [class*="feature"] p{
  font-size:.94rem;
  line-height:1.65;
}

/* Grid spacing */
body.ri-about-final-polish main [class*="grid"]{
  gap:clamp(20px,2.4vw,34px);
}

/* Existing dark/navy areas: richer and more coherent */
body.ri-about-final-polish main .dark,
body.ri-about-final-polish main [class*="dark"],
body.ri-about-final-polish main [class*="navy"]{
  background:linear-gradient(135deg,#071a2e 0%,#0d2945 100%) !important;
}
body.ri-about-final-polish main .dark h2,
body.ri-about-final-polish main .dark h3,
body.ri-about-final-polish main [class*="dark"] h2,
body.ri-about-final-polish main [class*="dark"] h3,
body.ri-about-final-polish main [class*="navy"] h2,
body.ri-about-final-polish main [class*="navy"] h3{
  color:#fff !important;
}
body.ri-about-final-polish main .dark p,
body.ri-about-final-polish main [class*="dark"] p,
body.ri-about-final-polish main [class*="navy"] p{
  color:rgba(255,255,255,.76) !important;
}

/* Subtle divider instead of decorative overload */
body.ri-about-final-polish main .section-heading::after{
  content:"";
  display:block;
  width:44px;
  height:1px;
  margin-top:18px;
  background:rgba(169,130,69,.7);
}

/* Images fit the refined visual language */
body.ri-about-final-polish main img{
  border-radius:2px;
}

/* Mobile: retain hierarchy and avoid huge empty spaces */
@media(max-width:760px){
  body.ri-about-final-polish main > section{
    padding-top:58px !important;
    padding-bottom:58px !important;
  }
  body.ri-about-final-polish main h2{
    font-size:2rem !important;
    margin-bottom:20px !important;
  }
  body.ri-about-final-polish main p{
    font-size:.93rem;
    line-height:1.68;
  }
  body.ri-about-final-polish main [class*="grid"]{
    gap:18px;
  }
}


/* Über uns — Werte ohne Nummerierung, kompaktere Karten */
body.ri-about-final-polish .about-values article{
  min-height:245px !important;
  padding:34px 31px 30px !important;
  justify-content:center !important;
}
body.ri-about-final-polish .about-values h3{
  margin-top:0 !important;
  margin-bottom:12px !important;
  font-size:1.5rem !important;
  line-height:1.15 !important;
}
body.ri-about-final-polish .about-values p{
  margin:0 !important;
  max-width:260px;
}
@media(max-width:900px){
  body.ri-about-final-polish .about-values article{
    min-height:210px !important;
  }
}
@media(max-width:760px){
  body.ri-about-final-polish .about-values article{
    min-height:180px !important;
    padding:28px 24px !important;
  }
}


/* =========================================================
   FINAL MOTION POLISH — ruhig, hochwertig, flüssig
   ========================================================= */
:root{
  --ri-ease-premium:cubic-bezier(.22,.61,.36,1);
  --ri-ease-soft:cubic-bezier(.16,1,.3,1);
}

/* Smooth navigation without making the page feel sluggish */
html{
  scroll-behavior:smooth;
  scroll-padding-top:92px;
}

/* Consistent reveal rhythm */
.reveal{
  opacity:0;
  transform:translate3d(0,18px,0);
  transition:
    opacity .72s var(--ri-ease-soft),
    transform .72s var(--ri-ease-soft);
  will-change:opacity,transform;
}
.reveal.visible,
.reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* Header / nav */
.topbar{
  transition:
    background-color .32s var(--ri-ease-premium),
    box-shadow .32s var(--ri-ease-premium),
    border-color .32s var(--ri-ease-premium),
    transform .32s var(--ri-ease-premium);
}
.nav a,
.header-cta,
.logo{
  transition:
    color .24s ease,
    opacity .24s ease,
    border-color .24s ease,
    background-color .24s ease,
    transform .24s var(--ri-ease-premium);
}
.nav a:hover{
  transform:translateY(-1px);
}

/* Buttons and text links */
.btn,
button,
.text-link,
.cookie-actions button,
.cookie-settings-actions button{
  transition:
    transform .22s var(--ri-ease-premium),
    box-shadow .28s var(--ri-ease-premium),
    background-color .24s ease,
    color .24s ease,
    border-color .24s ease,
    opacity .24s ease;
}
.btn:hover,
.header-cta:hover{
  transform:translateY(-2px);
}
.btn:active,
button:active{
  transform:translateY(0) scale(.985);
}
.text-link{
  display:inline-block;
}
.text-link:hover{
  transform:translateX(3px);
}

/* Cards: tiny lift only, no flashy animation */
[class*="card"],
.about-values article,
[class*="feature"],
[class*="value"]{
  transition:
    transform .34s var(--ri-ease-premium),
    box-shadow .34s var(--ri-ease-premium),
    border-color .28s ease,
    background-color .28s ease;
}
[class*="card"]:hover,
.about-values article:hover,
[class*="feature"]:hover,
[class*="value"]:hover{
  transform:translateY(-3px);
}

/* Images remain calm but feel more polished */
main img{
  transition:
    transform .65s var(--ri-ease-soft),
    filter .45s ease,
    opacity .45s ease;
}
a:hover img,
[class*="card"]:hover img{
  transform:scale(1.012);
}

/* Footer links */
footer a{
  transition:color .22s ease, opacity .22s ease, transform .22s var(--ri-ease-premium);
}
footer a:hover{
  opacity:.82;
}

/* Cookie modal transitions */
.cookie{
  transition:opacity .28s ease, transform .34s var(--ri-ease-soft), visibility .28s ease;
}
.cookie-settings{
  transition:opacity .28s ease;
}
.cookie-settings-card{
  animation:riModalIn .38s var(--ri-ease-soft) both;
}
@keyframes riModalIn{
  from{opacity:0;transform:translate3d(0,12px,0) scale(.992)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}

/* About page: smooth section flow */
body.ri-about-final-polish main > section{
  transition:background-color .35s ease;
}
body.ri-about-final-polish .about-values article{
  transform:translateZ(0);
}
body.ri-about-final-polish .about-region-content,
body.ri-about-final-polish .about-philosophy-copy,
body.ri-about-final-polish .about-philosophy-text{
  backface-visibility:hidden;
}

/* Keyboard focus: visible, premium, accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:2px solid rgba(169,130,69,.82);
  outline-offset:4px;
}

/* Respect system motion preference */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto !important}
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{
    opacity:1 !important;
    transform:none !important;
  }
}

/* Touch devices: prevent sticky hover transforms */
@media(hover:none){
  .btn:hover,
  .header-cta:hover,
  .nav a:hover,
  [class*="card"]:hover,
  .about-values article:hover,
  [class*="feature"]:hover,
  [class*="value"]:hover,
  a:hover img{
    transform:none;
  }
}

/* Anlageobjekt Krefeld – echte Objektgalerie */
.ri-gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}
.ri-gallery-grid .ri-gallery-item{grid-column:span 4;aspect-ratio:4/3;padding:0;border:0;overflow:hidden;background:#eee;cursor:pointer}
.ri-gallery-grid .ri-gallery-item:first-child{grid-column:span 8;grid-row:span 2;aspect-ratio:auto}
.ri-gallery-grid .ri-gallery-item img{width:100%;height:100%;object-fit:cover;display:block}
#riLightbox{position:fixed;inset:0;z-index:99999;background:rgba(4,12,22,.96);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
#riLightbox.ri-open{opacity:1;visibility:visible}
#riLightbox img{max-width:90vw;max-height:86vh;object-fit:contain}
#riLightbox button{position:absolute;width:48px;height:48px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;font-size:32px;cursor:pointer}
#riLightbox .ri-lb-close{top:22px;right:24px}
#riLightbox .ri-lb-prev{left:24px}
#riLightbox .ri-lb-next{right:24px}
#riLightbox .ri-lb-count{position:absolute;bottom:22px;color:#fff;font-size:.8rem;letter-spacing:.12em}
@media(max-width:760px){
 .ri-gallery-grid{grid-template-columns:1fr 1fr;gap:7px}
 .ri-gallery-grid .ri-gallery-item,.ri-gallery-grid .ri-gallery-item:first-child{grid-column:auto;grid-row:auto;aspect-ratio:4/3}
 .ri-gallery-grid .ri-gallery-item:first-child{grid-column:1/-1;aspect-ratio:16/10}
 #riLightbox .ri-lb-prev{left:8px} #riLightbox .ri-lb-next{right:8px}
}

.ri-expose-vierkanthof{padding:88px 24px;background:#f7f6f2}
.ri-expose-inner{max-width:1180px;margin:auto}
.ri-expose-vierkanthof .ri-eyebrow{font-size:.72rem;letter-spacing:.18em;margin-bottom:14px;opacity:.7}
.ri-expose-vierkanthof h2{font-size:clamp(2rem,4vw,4rem);line-height:1.04;margin:0 0 22px}
.ri-expose-vierkanthof .ri-lead{max-width:900px;font-size:1.15rem;line-height:1.75}
.ri-facts-vh{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:42px 0;background:#d9d6cf}
.ri-facts-vh div{background:#fff;padding:26px}.ri-facts-vh strong,.ri-facts-vh span{display:block}
.ri-facts-vh strong{font-size:1.35rem}.ri-facts-vh span{font-size:.78rem;margin-top:7px;opacity:.65}
.ri-expose-vierkanthof h3{margin-top:38px;font-size:1.35rem}
.ri-expose-vierkanthof p{max-width:960px;line-height:1.75}
.ri-provision-vh{margin-top:38px;padding-top:20px;border-top:1px solid #ccc;font-size:.9rem}
@media(max-width:760px){.ri-facts-vh{grid-template-columns:1fr 1fr}.ri-expose-vierkanthof{padding:60px 18px}}


/* Kaufen — zwei eigenständige Premium-Objekte */
.ri-buy-showcase-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
  width:100%;
}
.ri-buy-showcase-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fffdf9;
  border:1px solid rgba(11,31,54,.08);
  box-shadow:0 18px 52px rgba(7,24,42,.065);
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  transition:transform .32s cubic-bezier(.22,.61,.36,1),box-shadow .32s cubic-bezier(.22,.61,.36,1),border-color .25s ease;
}
.ri-buy-showcase-card:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 70px rgba(7,24,42,.105);
  border-color:rgba(169,130,69,.24);
}
.ri-buy-showcase-image{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e9e6df;
}
.ri-buy-showcase-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .65s cubic-bezier(.16,1,.3,1);
}
.ri-buy-showcase-card:hover .ri-buy-showcase-image img{
  transform:scale(1.025);
}
.ri-buy-showcase-tag{
  position:absolute;
  left:22px;
  bottom:20px;
  background:rgba(7,24,42,.88);
  color:#fff;
  padding:9px 12px;
  font-size:.65rem;
  letter-spacing:.13em;
  backdrop-filter:blur(10px);
}
.ri-buy-showcase-content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:30px 30px 28px;
}
.ri-buy-showcase-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(11,31,54,.085);
}
.ri-buy-showcase-topline span{
  font-size:.72rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#8a6a39;
}
.ri-buy-showcase-topline strong{
  color:#0b1f36;
  font-size:1.05rem;
  white-space:nowrap;
  font-variant-numeric:lining-nums tabular-nums;
}
.ri-buy-showcase-content h3{
  margin:0 0 14px;
  color:#0b1f36;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.55rem,2vw,2rem);
  line-height:1.12;
  font-weight:500;
  letter-spacing:-.02em;
}
.ri-buy-showcase-content > p{
  margin:0;
  color:#5e6974;
  font-size:.9rem;
  line-height:1.7;
}
.ri-buy-showcase-facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin:26px 0 24px;
  border-top:1px solid rgba(11,31,54,.085);
  border-bottom:1px solid rgba(11,31,54,.085);
}
.ri-buy-showcase-facts span{
  padding:17px 12px 16px 0;
}
.ri-buy-showcase-facts span + span{
  padding-left:16px;
  border-left:1px solid rgba(11,31,54,.085);
}
.ri-buy-showcase-facts b,
.ri-buy-showcase-facts small{
  display:block;
}
.ri-buy-showcase-facts b{
  min-height:1.35em;
  color:#0b1f36;
  font-size:1rem;
  line-height:1.2;
  font-variant-numeric:lining-nums tabular-nums;
}
.ri-buy-showcase-facts small{
  margin-top:5px;
  color:#7b858e;
  font-size:.67rem;
  line-height:1.35;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.ri-buy-showcase-link{
  margin-top:auto;
  color:#0b1f36;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.ri-buy-showcase-link span{
  display:inline-block;
  margin-left:8px;
  transition:transform .22s ease;
}
.ri-buy-showcase-card:hover .ri-buy-showcase-link span{
  transform:translateX(4px);
}
@media(max-width:900px){
  .ri-buy-showcase-grid{grid-template-columns:1fr;gap:22px}
}
@media(max-width:560px){
  .ri-buy-showcase-content{padding:24px 22px}
  .ri-buy-showcase-topline{align-items:flex-start;flex-direction:column;gap:6px}
  .ri-buy-showcase-facts{grid-template-columns:1fr}
  .ri-buy-showcase-facts span,
  .ri-buy-showcase-facts span + span{padding:13px 0;border-left:0}
  .ri-buy-showcase-facts span + span{border-top:1px solid rgba(11,31,54,.085)}
}


/* Kaufen — klarer Premium-Portalstil */
.ri-buy-portal-section{
  padding:38px 0 92px;
  background:#fbfaf7;
}
.ri-buy-portal-wrap{
  width:min(1240px,calc(100% - 48px));
  margin:0 auto;
}
.ri-buy-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.ri-buy-filter,
.ri-buy-sort button{
  height:42px;
  border:1px solid rgba(11,31,54,.16);
  background:#fff;
  color:#0b1f36;
  border-radius:4px;
  padding:0 14px;
  font-size:.82rem;
  font-weight:600;
  box-shadow:0 2px 7px rgba(7,24,42,.045);
}
.ri-buy-filter{
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.ri-filter-icon{
  font-size:1rem;
  line-height:1;
}
.ri-buy-sort{
  display:flex;
  align-items:center;
  gap:10px;
  color:#53606d;
  font-size:.8rem;
}
.ri-buy-sort button{
  min-width:180px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.ri-buy-portal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}
.ri-buy-portal-card{
  display:block;
  background:#fff;
  border:1px solid rgba(11,31,54,.12);
  border-radius:4px;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  box-shadow:0 2px 9px rgba(7,24,42,.035);
  transition:transform .26s cubic-bezier(.22,.61,.36,1),box-shadow .26s ease,border-color .26s ease;
}
.ri-buy-portal-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(7,24,42,.08);
  border-color:rgba(11,31,54,.20);
}
.ri-buy-portal-media{
  position:relative;
  aspect-ratio:16/10;
  background:#ece9e3;
  overflow:hidden;
}
.ri-buy-portal-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
.ri-buy-portal-card:hover .ri-buy-portal-media img{
  transform:scale(1.018);
}
.ri-buy-fav{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#0b1f36;
  font-size:1.5rem;
  line-height:1;
  box-shadow:0 2px 8px rgba(7,24,42,.10);
}
.ri-buy-portal-body{
  padding:20px 20px 18px;
}
.ri-buy-location{
  color:#69809a;
  font-size:.7rem;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ri-buy-portal-body h3{
  margin:0 0 16px;
  color:#0b1f36;
  font-family:Inter,sans-serif;
  font-size:1.02rem;
  line-height:1.45;
  font-weight:600;
  min-height:2.9em;
}
.ri-buy-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}
.ri-buy-chips span{
  background:#eef3f8;
  color:#173858;
  padding:7px 9px;
  border-radius:2px;
  font-size:.72rem;
  line-height:1;
}
.ri-buy-price{
  color:#0b1f36;
  font-size:1.18rem;
  font-weight:600;
  letter-spacing:.01em;
  font-variant-numeric:lining-nums tabular-nums;
}
@media(max-width:900px){
  .ri-buy-portal-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .ri-buy-portal-wrap{width:calc(100% - 28px)}
  .ri-buy-toolbar{align-items:stretch;flex-direction:column}
  .ri-buy-sort{justify-content:space-between}
  .ri-buy-sort button{flex:1}
}

/* Kaufen — diskrete Off-Market Kapitalanlagen */
.ri-offmarket-card{cursor:default}
.ri-offmarket-card:hover{transform:none;box-shadow:0 2px 9px rgba(7,24,42,.035);border-color:rgba(11,31,54,.12)}
.ri-offmarket-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(145deg,#07182a 0%,#0d2945 58%,#173b5d 100%);isolation:isolate}
.ri-offmarket-media:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 18%,rgba(255,255,255,.12),transparent 28%),linear-gradient(115deg,transparent 0 54%,rgba(255,255,255,.045) 54.2% 54.6%,transparent 54.8%);z-index:-1}
.ri-offmarket-media:after{content:"";position:absolute;left:34px;right:34px;bottom:30px;height:1px;background:rgba(255,255,255,.22)}
.ri-offmarket-monogram{position:absolute;top:28px;left:30px;font-family:"Playfair Display",serif;font-size:1.25rem;letter-spacing:.12em;color:#fff;border:1px solid rgba(255,255,255,.35);width:48px;height:48px;display:grid;place-items:center}
.ri-offmarket-badge{position:absolute;top:30px;right:30px;padding:8px 11px;border:1px solid rgba(255,255,255,.34);color:#fff;font-size:.62rem;font-weight:600;letter-spacing:.16em}
.ri-offmarket-visual-copy{position:absolute;left:30px;right:30px;bottom:48px;color:#fff;display:flex;flex-direction:column;gap:8px}
.ri-offmarket-visual-copy span{font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.ri-offmarket-visual-copy strong{max-width:390px;font-family:"Playfair Display",serif;font-size:1.75rem;line-height:1.14;font-weight:500}
.ri-offmarket-body h3{min-height:0;margin-bottom:10px}
.ri-offmarket-text{margin:0 0 16px;color:#596776;font-size:.82rem;line-height:1.65}
.ri-offmarket-cta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(11,31,54,.1);padding-top:15px;color:#0b1f36;text-decoration:none;font-size:.78rem;font-weight:600;letter-spacing:.01em}
.ri-offmarket-cta span{font-size:1.05rem;transition:transform .2s ease}.ri-offmarket-cta:hover span{transform:translateX(3px)}


/* =========================================================
   FINAL HEADER CONSISTENCY
   Beim Scrollen auf ALLEN Seiten exakt der gleiche dunkle
   Premium-Header wie auf der Verkäufer-Seite.
   ========================================================= */

body.ri-scrolled .topbar{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:1000 !important;
  height:70px !important;

  background:rgba(7,24,42,.97) !important;
  color:#fff !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 8px 30px rgba(4,16,29,.12) !important;

  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}

/* Logo remains white */
body.ri-scrolled .topbar .logo,
body.ri-scrolled .topbar .logo span,
body.ri-scrolled .topbar .logo small{
  color:#fff !important;
}

/* Navigation never switches back to dark text */
body.ri-scrolled .topbar .nav a{
  color:#fff !important;
}

/* Verkäufer keeps its existing gold framed treatment */
body.ri-scrolled .topbar .nav a.nav-sell{
  color:#d0ae70 !important;
  border-color:rgba(208,174,112,.58) !important;
}

/* Current subpage stays subtle, premium and readable */
body.ri-scrolled .topbar .nav a.active,
body.ri-scrolled .topbar .nav a[aria-current="page"]{
  color:#d0ae70 !important;
}

/* Keep current-page underline gold on normal nav links */
body.ri-scrolled .topbar .nav a.active:not(.nav-sell)::after,
body.ri-scrolled .topbar .nav a[aria-current="page"]:not(.nav-sell)::after{
  background:#d0ae70 !important;
}

/* Phone button exactly like the selling-page header */
body.ri-scrolled .topbar .header-cta{
  background:#fff !important;
  color:#0b1f36 !important;
  border-color:#fff !important;
  box-shadow:none !important;
}

/* No header jump when scroll state is activated */
body.ri-scrolled .topbar,
body.ri-scrolled .topbar .logo,
body.ri-scrolled .topbar .nav,
body.ri-scrolled .topbar .header-actions{
  transform:none !important;
}

/* Mobile keeps the same dark bar; CTA is already hidden by existing CSS */
@media(max-width:760px){
  body.ri-scrolled .topbar{
    background:rgba(7,24,42,.98) !important;
  }
}

/* Launch-safe Bewertungen: keine erfundenen Kundenstimmen */
.reviews-launch{padding:clamp(92px,10vw,150px) 24px clamp(100px,11vw,160px);background:#fff}
.reviews-launch-inner{width:min(1120px,100%);margin:0 auto}
.reviews-launch .eyebrow{margin:0 0 18px;letter-spacing:.22em;font-size:12px;font-weight:700;color:#9b7b43}
.reviews-launch h1{max-width:820px;margin:0;color:#0b1f36;font-size:clamp(42px,5.4vw,76px);line-height:1.02;font-weight:500;letter-spacing:-.035em}
.reviews-intro{max-width:660px;margin:28px 0 0;color:#5e6874;font-size:18px;line-height:1.75}
.reviews-launch-card{margin-top:72px;padding:clamp(32px,5vw,58px);border:1px solid #e6e9ed;background:#f8f8f6;max-width:760px}
.reviews-card-kicker{margin:0 0 14px;color:#9b7b43;font-size:11px;font-weight:700;letter-spacing:.18em}
.reviews-launch-card h2{margin:0 0 14px;color:#0b1f36;font-size:clamp(28px,3vw,42px);font-weight:500}
.reviews-launch-card>p:not(.reviews-card-kicker){margin:0 0 28px;color:#66717d;font-size:17px}
@media(max-width:760px){.reviews-launch{padding-left:20px;padding-right:20px}.reviews-launch-card{margin-top:48px}}

/* Kundenbewertungen – Launchzustand ohne erfundene Rezensionen */
.reviews-launch-placeholder{padding:clamp(70px,8vw,110px) 24px clamp(100px,10vw,140px);background:#fff}
.reviews-launch-placeholder-inner{width:min(820px,100%);margin:0 auto;padding:clamp(34px,5vw,56px);background:#f7f5f0;border:1px solid rgba(11,31,54,.08)}
.reviews-launch-placeholder-inner .kicker{display:block;margin-bottom:14px;color:#9b7b43;font-size:11px;font-weight:700;letter-spacing:.18em}
.reviews-launch-placeholder-inner h2{margin:0 0 16px;color:#0b1f36;font-size:clamp(30px,4vw,46px);font-weight:500}
.reviews-launch-placeholder-inner p{max-width:620px;margin:0 0 26px;color:#66717d;font-size:17px;line-height:1.7}

/* Direkter Formularversand */
.form-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ri-form-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;margin:4px 0 16px}
.ri-form-consent input{width:auto!important;margin-top:3px}


/* =========================================================
   MOBILE NAVIGATION FINAL FIX
   Vollständiges, stabiles Menü auf Smartphone & Tablet.
   Desktop bleibt unverändert.
   ========================================================= */
@media (max-width:1050px){

  body.nav-open{
    overflow:hidden !important;
  }

  .topbar{
    height:70px !important;
    min-height:70px !important;
    padding:0 18px !important;
    position:sticky !important;
    top:0 !important;
    z-index:5000 !important;
    background:#07182a !important;
    border-bottom:1px solid rgba(255,255,255,.09) !important;
  }

  body.ri-scrolled .topbar{
    position:fixed !important;
    height:70px !important;
  }

  .topbar .logo,
  .topbar .logo span,
  .topbar .logo small{
    color:#fff !important;
  }

  .header-actions{
    gap:0 !important;
    margin-left:auto !important;
  }

  .header-cta{
    display:none !important;
  }

  .menu{
    display:grid !important;
    place-items:center !important;
    width:46px !important;
    height:46px !important;
    padding:0 !important;
    margin:0 !important;
    color:#fff !important;
    background:transparent !important;
    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:0 !important;
    font-family:Arial,sans-serif !important;
    font-size:25px !important;
    font-weight:300 !important;
    line-height:1 !important;
    cursor:pointer !important;
    position:relative !important;
    z-index:5200 !important;
  }

  .nav{
    display:flex !important;
    position:fixed !important;
    inset:70px 0 0 0 !important;
    width:100% !important;
    height:calc(100dvh - 70px) !important;
    max-height:calc(100dvh - 70px) !important;
    margin:0 !important;
    padding:24px 20px 38px !important;
    background:#07182a !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch !important;
    z-index:5100 !important;

    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-10px) !important;
    transition:
      opacity .24s cubic-bezier(.22,.61,.36,1),
      transform .24s cubic-bezier(.22,.61,.36,1),
      visibility .24s !important;
  }

  .nav.open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
  }

  .topbar .nav a,
  body.ri-scrolled .topbar .nav a{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    min-height:56px !important;
    margin:0 !important;
    padding:15px 4px !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.11) !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:.76rem !important;
    font-weight:600 !important;
    letter-spacing:.11em !important;
    line-height:1.3 !important;
    text-transform:uppercase !important;
    opacity:1 !important;
    white-space:normal !important;
  }

  .topbar .nav a::after{
    display:none !important;
  }

  .topbar .nav a.nav-sell,
  body.ri-scrolled .topbar .nav a.nav-sell{
    color:#d0ae70 !important;
    border-top:1px solid rgba(208,174,112,.36) !important;
    border-bottom:1px solid rgba(208,174,112,.36) !important;
    padding-left:14px !important;
    padding-right:14px !important;
    margin-bottom:9px !important;
  }

  .topbar .nav a.active,
  .topbar .nav a[aria-current="page"],
  body.ri-scrolled .topbar .nav a.active,
  body.ri-scrolled .topbar .nav a[aria-current="page"]{
    color:#d0ae70 !important;
  }

  .topbar .nav a:hover,
  .topbar .nav a:focus-visible{
    color:#d0ae70 !important;
    background:rgba(255,255,255,.035) !important;
  }
}

/* Very small phones */
@media (max-width:480px){
  .topbar{
    padding:0 14px !important;
  }
  .logo span{
    font-size:.88rem !important;
    letter-spacing:.18em !important;
  }
  .logo small{
    font-size:.42rem !important;
  }
  .menu{
    width:42px !important;
    height:42px !important;
  }
  .nav{
    padding:18px 18px 30px !important;
  }
  .topbar .nav a,
  body.ri-scrolled .topbar .nav a{
    min-height:52px !important;
    font-size:.72rem !important;
  }
}

/* Kaufen – aktive Filter/Sortierung */
.ri-buy-filter-wrap{position:relative}
.ri-buy-filter-panel{
 position:absolute;left:0;top:50px;z-index:30;min-width:210px;padding:8px;
 background:#fff;border:1px solid rgba(11,31,54,.12);box-shadow:0 18px 45px rgba(7,24,42,.12)
}
.ri-buy-filter-panel[hidden]{display:none!important}
.ri-buy-filter-panel button{
 display:block;width:100%;padding:11px 12px;border:0;background:transparent;text-align:left;
 color:#0b1f36;font:inherit;font-size:.78rem;cursor:pointer
}
.ri-buy-filter-panel button:hover,.ri-buy-filter-panel button.active{background:#f1f3f5;color:#8a6a39}
.ri-buy-sort select{
 height:42px;min-width:190px;border:1px solid rgba(11,31,54,.16);background:#fff;color:#0b1f36;
 border-radius:4px;padding:0 34px 0 12px;font-size:.82rem;font-weight:600
}
.ri-buy-portal-card[hidden]{display:none!important}
.ri-buy-fav{display:none!important}
@media(max-width:620px){
 .ri-buy-toolbar{align-items:stretch}
 .ri-buy-sort{display:grid;grid-template-columns:auto 1fr;align-items:center}
 .ri-buy-sort select{min-width:0;width:100%}
}
