/* RESTLOS · Startseite (mobile first). Baut auf restlos-basis.css auf. */

:root{--rl-try-los:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cg fill='%2384cff0'%3E%3Crect width='10' height='10' rx='2' fill-opacity='.3'/%3E%3Crect x='13' width='10' height='10' rx='2' fill-opacity='.7'/%3E%3Crect x='26' width='10' height='10' rx='2' fill-opacity='.3'/%3E%3Crect x='13' y='13' width='10' height='10' rx='2' fill-opacity='.7'/%3E%3Crect x='26' y='13' width='10' height='10' rx='2' fill-opacity='.3'/%3E%3Crect x='26' y='26' width='10' height='10' rx='2' fill-opacity='.3'/%3E%3C/g%3E%3Cg fill='%23cedc00'%3E%3Crect y='13' width='10' height='10' rx='2'/%3E%3Crect y='26' width='10' height='10' rx='2'/%3E%3Crect x='13' y='26' width='10' height='10' rx='2'/%3E%3C/g%3E%3C/svg%3E")}
.rl-hp[id]{scroll-margin-top:calc(16px + var(--wp-admin--admin-bar--height,0px))}

/* ---------- Hero ---------- */
.rl-hp.rl-hero .rl-hero__h1{font-size:clamp(36px,5.4vw,77px)!important;font-weight:600;letter-spacing:-.04em;line-height:.95;color:#fff!important;max-width:none}
.rl-hp.rl-hero .rl-hero__lead{max-width:40ch;margin-top:30px!important;font-size:clamp(16.8px,1.4vw,20px);line-height:1.5;color:var(--rl-on-dark)!important}

/* ---------- Aktuelle Auktionen (Feed kommt aus dem Plugin) ---------- */
.rl-hp .restlos-slider{font-weight:400}
.rl-hp.rl-auc h2:not(:where(.restlos-slider *)){margin-bottom:28px!important;font-size:clamp(24px,2.4vw,32px)!important}
.rl-hp .rl-auc__alle{margin-top:18px!important;font-size:14.7px}

/* ---------- Was ist RESTLOS.com, Steckbrief ---------- */
.rl-hp .rl-about img{border-radius:22px}
.rl-hp .rl-about .rl-lead+.rl-lead{margin-top:16px!important}
.rl-hp .rl-cols{display:grid;grid-template-columns:1fr;gap:clamp(24px,4vw,56px);margin-top:clamp(48px,6vw,72px)}
.rl-hp .rl-col{padding-top:22px;border-top:2px solid var(--rl-navy)}
.rl-hp .rl-col>*{margin:0!important}
.rl-hp .rl-col h3{margin-bottom:12px!important;font-size:19.2px!important}
.rl-hp .rl-col p{font-size:15.2px;color:var(--rl-muted)!important}
.rl-hp .rl-col p+p{margin-top:12px!important}
.rl-hp .rl-col a{font-weight:500;color:var(--rl-navy);border-bottom:1.5px solid var(--rl-sky);padding-bottom:2px}
.rl-hp .rl-col .rl-haken{margin:12px 0!important}
.rl-hp .rl-haken li{display:flex;gap:10px;margin:0;padding:5px 0;font-size:14.9px;line-height:1.5;color:var(--rl-navy)!important}
.rl-hp .rl-haken li::before{width:18px!important;height:18px!important;margin-top:3px;background:#9aab00}
.rl-hp .rl-sb{margin-top:clamp(64px,8vw,104px)!important}
.rl-hp ul.rl-sb__karten{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:28px 0 0!important;padding:0!important;list-style:none}
.rl-hp .rl-sb__karten li{margin:0;padding:20px 16px;border-radius:16px;background:var(--rl-paper);font-size:13.1px;line-height:1.35;color:var(--rl-muted)!important}
.rl-hp .rl-sb__karten strong{display:block;margin-bottom:8px;font-size:24px;font-weight:600;letter-spacing:-.03em;line-height:1.05;color:var(--rl-navy)}
.rl-hp .rl-sb .rl-link{margin-top:16px!important;font-size:14.7px}

/* ---------- So kaufst du, Demo-Teaser ---------- */
.rl-hp .rl-step{display:grid;grid-template-columns:56px 1fr;gap:20px;padding:26px 0;border-top:1px solid var(--rl-line)}
.rl-hp .rl-step:last-child{border-bottom:1px solid var(--rl-line)}
.rl-hp .rl-step>*{margin:0!important}
.rl-hp .rl-step__n{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--rl-sky);font-size:16.8px!important;font-weight:600;line-height:1!important;color:var(--rl-navy)!important}
.rl-hp .rl-step h3{font-size:19.2px!important}
.rl-hp .rl-step__text p{margin-top:6px!important;font-size:15.5px;color:var(--rl-muted)!important}
.rl-hp .rl-try{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px 18px;align-items:center;margin-top:28px!important;padding:18px 20px;border-radius:18px;background:var(--rl-navy);transition:transform .2s}
.rl-hp .rl-try::before{content:"";grid-row:1/3;width:46px;height:46px;border-radius:10px;background:var(--rl-navy-karte) var(--rl-try-los) center/28px no-repeat}
.rl-hp .rl-try:hover{transform:translateY(-2px)}
.rl-hp .rl-try>*{margin:0!important}
.rl-hp .rl-try__text{font-size:13.6px;line-height:1.4;color:var(--rl-on-dark-2)!important}
.rl-hp .rl-try__text strong{display:block;margin-bottom:4px;font-size:16px;font-weight:500;color:#fff}
.rl-hp .rl-try__los a{display:inline-flex;align-items:center;gap:6px;font-size:14.4px;font-weight:500;white-space:nowrap;color:var(--rl-lime)}
.rl-hp .rl-try__los a::before{content:"";position:absolute;inset:0;border-radius:18px}
.rl-hp .rl-try__los a::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--rl-chevron) center/contain no-repeat;mask:var(--rl-chevron) center/contain no-repeat;transition:transform .2s}
.rl-hp .rl-try:hover .rl-try__los a::after{transform:translateX(3px)}

/* ---------- Anlässe: Ratgeber-Box, Gut zu wissen (Karten: rl-anlass-gruppe in der Basis) ---------- */
.rl-hp .rl-rat{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;margin-top:20px!important;padding:22px 26px;border-radius:20px;background:var(--rl-navy)}
.rl-hp .rl-rat>*{margin:0!important}
.rl-hp .rl-rat__text{flex:1;min-width:240px;font-size:14.4px;line-height:1.5;color:var(--rl-on-dark-2)!important}
.rl-hp .rl-rat__text strong{display:block;margin-bottom:4px;font-size:16.8px;font-weight:500;color:#fff}
.rl-hp .rl-rat__text small{display:block;margin-top:6px;font-size:12.5px;color:var(--rl-on-dark-3)}
.rl-hp .rl-gut{margin-top:22px!important;font-size:14.1px;line-height:1.8;color:var(--rl-muted)!important}
.rl-hp .rl-gut strong{font-weight:500;color:var(--rl-navy)}
.rl-hp .rl-gut a{color:var(--rl-navy);border-bottom:1px solid var(--rl-sky)}

/* ---------- Branchen: Kacheln mit Suchnachfrage (dunkel) ---------- */
.rl-hp .rl-branchen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:48px!important}
.rl-hp .rl-branche{position:relative;display:flex;flex-direction:column;padding:18px 16px;border-radius:18px;background:var(--rl-navy-karte);transition:background .2s,transform .2s}
.rl-hp .rl-branche:hover{background:var(--rl-navy-karte-hover);transform:translateY(-2px)}
.rl-hp .rl-branche>*{margin:0!important}
.rl-hp .rl-branche__name{font-size:16px;font-weight:500;line-height:1.3;color:#fff!important}
.rl-hp .rl-branche__text{flex:1;margin-top:8px!important;font-size:13.1px;line-height:1.45;color:var(--rl-on-dark-3)!important}
.rl-hp .rl-branche__zahl{margin-top:20px!important;padding-top:14px;border-top:1px solid var(--rl-line-dark);font-size:12.2px;line-height:1.35;color:var(--rl-on-dark-2)!important}
.rl-hp .rl-branche__zahl strong{display:block;margin-bottom:6px;font-size:22.4px;font-weight:600;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums;color:var(--rl-lime)}
.rl-hp .rl-branche__los{margin-top:16px!important;font-size:13.1px;font-weight:500}
.rl-hp .rl-branche__los a{display:inline-flex;align-items:center;gap:6px;color:#fff}
.rl-hp .rl-branche__los a::before{content:"";position:absolute;inset:0;border-radius:18px}
.rl-hp .rl-branche__los a::after{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:var(--rl-chevron) center/contain no-repeat;mask:var(--rl-chevron) center/contain no-repeat;transition:transform .2s}
.rl-hp .rl-branche:hover .rl-branche__los a::after{transform:translateX(3px)}
.rl-hp .rl-branchen__weitere{margin-top:40px!important;padding-top:22px;border-top:1px solid var(--rl-line-dark);font-size:14.4px;line-height:1.55;color:var(--rl-on-dark-3)!important}
.rl-hp .rl-branchen__weitere strong{font-weight:500;color:#fff}
.rl-hp .rl-branchen__weitere a{color:#fff;border-bottom:1px solid var(--rl-sky)}
.rl-hp .rl-branchen__quelle{margin-top:10px!important;font-size:12.5px;color:var(--rl-on-dark-3)!important}

/* ---------- Referenzen: Siemens, 98 von 100, Logos, Projekte des Jahres ---------- */
.rl-hp .rl-siemens{margin-top:28px!important;font-size:clamp(35px,5.2vw,70px)!important;font-weight:600;letter-spacing:-.04em;line-height:1!important;color:var(--rl-navy)!important}
.rl-hp .rl-siemens__text{margin-top:14px!important;color:var(--rl-muted)!important}
.rl-hp .rl-98{display:grid;grid-template-columns:1fr;gap:24px;align-items:center}
.rl-hp .rl-98>*{margin:0!important}
.rl-hp .rl-98__raster{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;width:clamp(170px,22vw,240px)}
.rl-hp .rl-98__raster i{aspect-ratio:1;border-radius:2px;background:var(--rl-line);transition:background .3s}
.rl-hp .rl-98__raster i.on{background:var(--rl-lime)}
.rl-hp .rl-98__raster i.rest{background:transparent;box-shadow:inset 0 0 0 1.5px var(--rl-sky)}
.rl-hp .rl-98__text{max-width:30ch;font-size:14.9px;line-height:1.5;color:var(--rl-muted)!important}
.rl-hp .rl-98__text strong{display:block;margin-bottom:10px;font-size:clamp(38.4px,4.4vw,57.6px);font-weight:600;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums;color:var(--rl-navy)}
.rl-hp.rl-referenzen .rl-logo-slider{margin-top:clamp(40px,5vw,56px)!important}
.rl-hp .rl-jahr{margin-top:clamp(56px,7vw,88px)!important}
.rl-hp .rl-num{margin:0!important;font-size:13.6px;font-weight:500;color:var(--rl-muted)!important}
.rl-hp .rl-num strong{display:block;margin-bottom:10px;font-size:clamp(48px,5vw,67px);font-weight:600;letter-spacing:-.045em;line-height:.9;white-space:nowrap;color:var(--rl-navy)}
.rl-hp .rl-jahr h3{font-size:clamp(24px,2.4vw,33.6px)!important;font-weight:600;line-height:1.15}
.rl-hp .rl-jahr h3+p{max-width:64ch;margin-top:12px!important;color:var(--rl-muted)!important}
.rl-hp .rl-projekte{display:grid;grid-template-columns:1fr;gap:12px;margin-top:32px!important}
.rl-hp .rl-projekt{display:flex;flex-direction:column;padding:22px 20px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px var(--rl-line)}
.rl-hp .rl-projekt>*{margin:0!important}
.rl-hp .rl-projekt__art{font-size:12.5px;font-weight:500;color:var(--rl-muted)!important}
.rl-hp .rl-projekt__zahl{margin-top:12px!important;font-size:14.4px;font-weight:500;color:var(--rl-muted)!important}
.rl-hp .rl-projekt__zahl strong{font-size:30.4px;font-weight:600;letter-spacing:-.03em;line-height:1;color:var(--rl-navy)}
.rl-hp .rl-projekt__titel{margin-top:12px!important;font-weight:500;line-height:1.35;color:var(--rl-navy)!important}
.rl-hp .rl-projekt__text{flex:1;margin-top:10px!important;padding-top:12px;border-top:1px solid var(--rl-line);font-size:14.1px;line-height:1.45;color:var(--rl-muted)!important}
.rl-hp .rl-jahr__hinweis{margin-top:12px!important;font-size:12.8px;color:var(--rl-muted)!important}

/* ---------- Nachhaltigkeit mit Kreislauf (dunkel, Skript im HTML-Block) ---------- */
.rl-hp.rl-nachhaltig .rl-aud{color:var(--rl-sky)!important}
.rl-hp.rl-nachhaltig h2{margin-top:12px!important}
.rl-hp ul.rl-nachhaltig__zahlen{display:grid;grid-template-columns:1fr;gap:10px;margin:28px 0!important;padding:0!important;list-style:none}
.rl-hp .rl-nachhaltig__zahlen li{margin:0;padding:18px 16px;border-radius:16px;background:var(--rl-navy-karte);font-size:12.8px;line-height:1.35;color:var(--rl-on-dark-2)!important}
.rl-hp .rl-nachhaltig__zahlen strong{display:block;margin-bottom:8px;font-size:25.6px;font-weight:600;letter-spacing:-.03em;line-height:1;color:var(--rl-lime)}

/* ---------- FAQ in zwei Gruppen ---------- */
.rl-hp .rl-faq__gruppe{margin:0 0 8px!important;font-size:16px!important;font-weight:600;color:var(--rl-navy)}
.rl-hp .rl-faq__gruppe:not(:first-child){margin-top:32px!important}

/* ---------- Abschluss: Ansprechpartner mit Foto ---------- */
.rl-hp .rl-ende__verkaufen .rl-ende__person{display:flex;align-items:center;gap:14px;margin-top:22px!important}
.rl-hp .rl-ende__person p{font-size:13.6px;line-height:1.5;color:var(--rl-on-dark-3)!important}
.rl-hp .rl-ende__person strong{font-size:16px;font-weight:500;color:#fff}

/* ---------- Zahlen und Fakten ---------- */
.rl-hp.rl-fakten-abschnitt{border-top:1px solid var(--rl-line)}
.rl-hp.rl-fakten-abschnitt .rl-lead{margin-top:14px!important}
.rl-hp.rl-fakten-abschnitt .wp-block-columns{margin-top:28px!important}
.rl-hp .rl-fakten li{display:grid;grid-template-columns:minmax(0,45%) minmax(0,1fr);gap:4px 20px;margin:0;padding:13px 0;border-bottom:1px solid var(--rl-line);font-size:15.2px;line-height:1.5;color:var(--rl-muted)!important}
.rl-hp .rl-fakten li:first-child{border-top:2px solid var(--rl-navy)}
.rl-hp .rl-fakten strong{font-weight:500;color:var(--rl-navy)}

/* ---------- Ab Tablet ---------- */
@media (min-width:641px){
  .rl-hp .rl-fakten li{grid-template-columns:minmax(0,40%) minmax(0,1fr)}
  .rl-hp ul.rl-sb__karten{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rl-hp .rl-branchen{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rl-hp .rl-branche{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0;padding:22px 20px}
  .rl-hp .rl-projekte{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rl-hp .rl-projekt{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0}
}
/* Demo-Teaser, „98 von 100“, Kennzahlen: mehrspaltig nach der Breite ihrer Spalte, nicht des Bildschirms (iPad: halbe Spalte) */
.rl-hp .wp-block-column:has(>.rl-try,>.rl-98,>.rl-nachhaltig__zahlen){container-type:inline-size}
@container (min-width:400px){
  .rl-hp .rl-try{grid-template-columns:auto 1fr auto}
  .rl-hp .rl-try::before{grid-row:auto}
  .rl-hp .rl-98{grid-template-columns:auto 1fr}
}
@container (min-width:450px){
  .rl-hp ul.rl-nachhaltig__zahlen{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rl-hp .rl-nachhaltig__zahlen li{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0}
}
@media (min-width:901px){
  .rl-hp .rl-cols{grid-template-columns:repeat(3,1fr)}
}
/* iPad hoch: Kaufen und Nachhaltigkeit bis 900 px untereinander (WordPress stapelt nur bis 781 px) */
@media (max-width:900px){
  .rl-hp:is(.rl-kaufen,.rl-nachhaltig) .wp-block-columns{flex-wrap:wrap!important}
  .rl-hp:is(.rl-kaufen,.rl-nachhaltig) .wp-block-columns>.wp-block-column{flex-basis:100%!important}
}
@media (min-width:1081px){
  .rl-hp ul.rl-sb__karten{grid-template-columns:repeat(6,minmax(0,1fr))}
  .rl-hp .rl-branchen{grid-template-columns:repeat(5,minmax(0,1fr))}
  .rl-hp .rl-projekte{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Handy: kein Abstand unter Spalten (vorher eigenes Spectra-CSS der Startseite) */
@media (max-width:600px){
  .rl-hp .wp-block-columns .wp-block-column:not(:last-child){margin-bottom:0!important}
}

/* ---------- Hero: Kennzahlen-Streifen (Listen-Block rl-hb-zahlen, Icons über rl-ic-…), ragt über die Unterkante ---------- */
.rl-hp.rl-hero .rl-hb-zahlen{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;row-gap:16px;margin:clamp(56px,7vw,96px) 0 -28px!important;padding:16px 4px!important;list-style:none;border-radius:18px;background:#fff;box-shadow:0 24px 48px -24px rgba(3,41,63,.35),0 0 0 1px var(--rl-line)}
.rl-hp.rl-hero .rl-hb-zahlen li{position:relative;display:block;min-width:0;margin:0;padding:46px 14px 4px;font-size:12.8px;line-height:1.35;color:var(--rl-muted)!important}
.rl-hp.rl-hero .rl-hb-zahlen li:nth-child(even){border-left:1px solid var(--rl-line)}
.rl-hp.rl-hero .rl-hb-zahlen li::before{position:absolute;left:14px;top:4px;width:32px!important;height:32px!important;border-radius:9px;background:var(--rl-paper)!important;-webkit-mask:none!important;mask:none!important}
.rl-hp.rl-hero .rl-hb-zahlen li::after{content:"";position:absolute;left:22px;top:12px;width:16px;height:16px;background:var(--rl-navy);-webkit-mask:var(--rl-ic) center/contain no-repeat;mask:var(--rl-ic) center/contain no-repeat}
.rl-hp.rl-hero .rl-hb-zahlen li.rl-hb-preis::before{background:var(--rl-lime)!important}
.rl-hp.rl-hero .rl-hb-zahlen strong{display:block;margin-bottom:4px;font-size:20px;font-weight:600;line-height:1.1;letter-spacing:-.03em;white-space:nowrap;color:var(--rl-navy)}
@media (min-width:701px){
  .rl-hp.rl-hero .rl-hb-zahlen{grid-template-columns:repeat(3,1fr);row-gap:18px;margin-bottom:-48px!important;padding:24px 6px!important}
  .rl-hp.rl-hero .rl-hb-zahlen li{padding:52px 22px 4px}
  .rl-hp.rl-hero .rl-hb-zahlen li:nth-child(n){border-left:1px solid var(--rl-line)}
  .rl-hp.rl-hero .rl-hb-zahlen li:nth-child(3n+1){border-left:0}
  .rl-hp.rl-hero .rl-hb-zahlen li::before{left:22px;width:36px!important;height:36px!important;border-radius:10px}
  .rl-hp.rl-hero .rl-hb-zahlen li::after{left:30.5px;top:12.5px;width:19px;height:19px}
  .rl-hp.rl-hero .rl-hb-zahlen strong{font-size:clamp(19.2px,1.5vw,24px)}
}
@media (min-width:1101px){
  .rl-hp.rl-hero .rl-hb-zahlen{grid-template-columns:repeat(6,1fr);row-gap:0}
  .rl-hp.rl-hero .rl-hb-zahlen li:nth-child(n){border-left:1px solid var(--rl-line)}
  .rl-hp.rl-hero .rl-hb-zahlen li:first-child{border-left:0}
}

/* ---------- Hero der Startseite (rl-hb): Überschrift, Knöpfe, Vorher-Nachher-Bild (vorher <style> im HTML-Block) ---------- */
.rl-hp.rl-hero .rl-hb .rl-hero__h1{font-size:clamp(40px,4.4vw,68px)!important;line-height:1.03}
.rl-hp.rl-hero .rl-hb .rl-hero__kicker{margin-bottom:16px;font-size:min(15px,3.7vw);line-height:1.4}
.rl-hp.rl-hero .rl-hb .rl-hero__lead{max-width:520px}
.rl-hp.rl-hero .rl-hero__lead strong{color:#fff;font-weight:600}
.rl-hp.rl-hero .rl-hb-knoepfe{display:flex!important;flex-wrap:wrap;gap:12px;margin-top:32px!important}
.rl-hp.rl-hero .rl-hb-btn{width:100%;margin:0!important}
.rl-hp.rl-hero .rl-hb-btn .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:16px 26px!important;border:0!important;border-radius:999px!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap;transition:box-shadow .2s,background .2s}
.rl-hp.rl-hero .rl-hb-btn--lime .wp-block-button__link{background:var(--rl-lime)!important;color:var(--rl-navy)!important}
.rl-hp.rl-hero .rl-hb-btn--lime .wp-block-button__link:hover{background:var(--rl-lime-hover)!important;box-shadow:0 10px 26px -10px rgba(206,220,0,.85)}
.rl-hp.rl-hero .rl-hb-btn--kontur .wp-block-button__link{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)}
.rl-hp.rl-hero .rl-hb-btn--kontur .wp-block-button__link:hover{box-shadow:inset 0 0 0 1.5px #fff}
.rl-hp.rl-hero .rl-hb-trust{margin-top:28px!important;padding-top:0;border-top:0}
.rl-hp.rl-hero .rl-hb-figur{margin:0}
.rl-hp.rl-hero .rl-hb-vn{position:relative;aspect-ratio:1672/941;border-radius:18px;overflow:hidden;background:var(--rl-paper);box-shadow:0 30px 60px -24px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)}
.rl-hp.rl-hero .rl-hb-vn img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover}
.rl-hp.rl-hero .rl-hb-vn .rl-hb-nach{animation:rlHbEin 8s infinite}
.rl-hp.rl-hero .rl-hb-etikett{position:absolute;left:16px;top:16px;padding:8px 14px;border-radius:30px;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:.08em;text-transform:uppercase}
.rl-hp.rl-hero .rl-hb-e-vor{background:rgba(3,41,63,.88);color:#fff;animation:rlHbAus 8s infinite}
.rl-hp.rl-hero .rl-hb-e-nach{background:var(--rl-lime);color:var(--rl-navy-deep);animation:rlHbEin 8s infinite}
.rl-hp.rl-hero .rl-hb-unter{display:grid;margin-top:14px;font-size:13.5px;line-height:1.5;color:var(--rl-on-dark-3)}
.rl-hp.rl-hero .rl-hb-unter>span{grid-area:1/1}
.rl-hp.rl-hero .rl-hb-t-vor{animation:rlHbAus 8s infinite}
.rl-hp.rl-hero .rl-hb-t-nach{animation:rlHbEin 8s infinite}
@keyframes rlHbEin{0%,35%{opacity:0}50%,85%{opacity:1}100%{opacity:0}}
@keyframes rlHbAus{0%,35%{opacity:1}50%,85%{opacity:0}100%{opacity:1}}
@media (min-width:481px){
  .rl-hp.rl-hero .rl-hb-btn,.rl-hp.rl-hero .rl-hb-btn .wp-block-button__link{width:auto}
}
@media (prefers-reduced-motion:reduce){
  .rl-hp.rl-hero :is(.rl-hb-vn .rl-hb-nach,.rl-hb-etikett,.rl-hb-unter span){animation:none}
  .rl-hp.rl-hero :is(.rl-hb-vn .rl-hb-nach,.rl-hb-e-nach,.rl-hb-t-nach){opacity:0}
}

/* ---------- Referenzen (rl-ref-*): Siemens-Karte, 98-%-Karte, Projekte mit Linie (vorher <style> im HTML-Block) ---------- */
.rl-hp.rl-referenzen h2{margin-top:0!important}
.rl-hp .rl-ref-beweis{margin-top:clamp(32px,4vw,48px)!important;align-items:stretch!important}
.rl-hp .rl-ref-beweis>.wp-block-column{display:flex}
.rl-hp .rl-ref-karte{display:flex;flex-direction:column;width:100%;margin:0!important;padding:clamp(24px,3vw,40px);border-radius:20px}
.rl-hp .rl-ref-karte>*{margin:0!important}
.rl-hp .rl-ref-karte--siemens{justify-content:space-between;gap:28px;background:var(--rl-navy-deep)}
.rl-hp .rl-ref-karte__marke{font-size:13.6px;font-weight:500;letter-spacing:.02em;color:var(--rl-sky)!important}
.rl-hp .rl-ref-karte__zahl{font-size:clamp(20px,1.9vw,26px);font-weight:600;line-height:1.2;color:#fff!important}
.rl-hp .rl-ref-karte__zahl strong{display:block;margin-bottom:8px;font-size:clamp(64px,8vw,112px);font-weight:600;letter-spacing:-.05em;line-height:.9;color:var(--rl-lime)}
.rl-hp .rl-ref-karte__text{max-width:44ch;color:var(--rl-on-dark)!important}
.rl-hp .rl-ref-karte--quote{justify-content:center;background:var(--rl-paper)}
.rl-hp .rl-ref-projekte{margin-top:clamp(48px,6vw,72px)!important;padding-top:clamp(40px,5vw,56px);border-top:1px solid var(--rl-line)}
.rl-hp .rl-ref-projekte__titel{font-size:clamp(24px,2.4vw,32px)!important;font-weight:600!important;line-height:1.15!important}
.rl-hp .rl-ref-projekte__text{max-width:64ch;margin-top:10px!important;color:var(--rl-muted)!important}
.rl-hp.rl-referenzen .rl-projekte{margin-top:28px!important}
.rl-hp.rl-referenzen .rl-projekt{position:relative;overflow:hidden;padding-top:26px}
.rl-hp.rl-referenzen .rl-projekt::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--rl-lime)}
.rl-hp.rl-referenzen .rl-projekt__zahl strong{font-size:clamp(26px,2.4vw,32px)}
@media (min-width:1081px){
  .rl-hp .rl-ref-karte--quote .rl-98{grid-template-columns:auto 1fr;gap:28px}
  .rl-hp .rl-ref-karte--quote .rl-98__raster{width:clamp(150px,13vw,190px)}
}

/* ---------- Hero: Pfeil-Icon im Knopf „Auktionen entdecken“ (statt Zeichen → im Text) ---------- */
.rl-hp.rl-hero .rl-hb-btn--lime .wp-block-button__link::after{content:"";flex:none;width:18px;height:18px;margin:0 -2px 0 0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s}
.rl-hp.rl-hero .rl-hb-btn--lime .wp-block-button__link{gap:8px}
.rl-hp.rl-hero .rl-hb-btn--lime .wp-block-button__link:hover::after{transform:translateX(3px)}
