/* ============================================================
   REIN INS REGAL! — Relaunch 2027: neues Logo, neue Bilder,
   Logo-Animation. Ergaenzt styles.css/rir4.css, ersetzt nichts.
============================================================ */

/* Kopf: neues Zeichen neben dem Namen */
.top .mark { gap: 10px; }
.top .mark .rl-zeichen { display: block; width: 38px; height: 27px; flex: 0 0 auto; }
@media (max-width: 380px) { .top .mark { font-size: 13px; } .top .mark .rl-zeichen { width: 32px; height: 23px; } }

/* Fuss: freigegebenes Logo (mit Wagen), mindestens 320 px breit, wo Platz ist */
footer.site .rl-fusslogo { display: block; width: min(320px, 100%); height: auto; margin: 0 0 22px; }
/* Deutsch: Name steckt im Logo. Englisch: der englische Namenszug bleibt darunter sichtbar. */
html[lang="de"] footer.site .rl-fusslogo + .mark-line {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0;
}

/* Schluss-Block: neues Zeichen auf dunkler Plakette */
.final-cta .logo-mark.rl-cta,
.final-cta.on-dark .logo-mark.rl-cta {
  display: block; width: fit-content; margin: 0 auto 26px; padding: 14px 18px; border-radius: 20px;
  background: #0A0818; filter: none; box-shadow: 0 26px 54px -30px rgba(20,18,28,.55);
}
.final-cta .logo-mark.rl-cta img,
.final-cta.on-dark .logo-mark.rl-cta img { display: block; width: 128px; height: auto; }

/* Visitenkarte */
.rl-intrologo { width: min(340px, 82vw); height: auto; display: block; }
.rl-kartenmarke { width: min(300px, 100%); height: auto; display: block; margin: 0 auto 4px; }

/* Skalierung Kopfzeile: nichts bricht um oder stoesst aneinander */
.top { column-gap: 24px; }
.top .mark { flex: 0 0 auto; white-space: nowrap; }
.top nav > a, .top nav summary, .top nav .nav-cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1279px) {
  header.top { padding-left: 28px; padding-right: 28px; }
  .top nav { gap: clamp(12px, 3.6vw - 22px, 22px); font-size: 11px; letter-spacing: 0.04em; }
  .top .nav-cta { font-size: 12px; padding: 10px 14px; }
}

/* Fussbereich liegt ueber der Abschnittsleiste, damit deren Zahlen nicht ueber das Logo laufen */
footer.site { position: relative; z-index: 56; }
