/* Reisefuehrer V43: explicit cross-page ending and mobile reading lock.
   Applied after older styles, without replacing V40.1 source or the 568px hero lock. */
:root{--rf43-brand:#CC0066;--rf43-ink:#29242a;--rf43-paper:#f8f5f7}
/* One quiet typographic scale for content-page endings. Does not create additional CTA blocks. */
html body main > section.rf-page-next.rf-page-next,
html body main > section.rf37-single-close.rf37-single-close,
html body main > section.rf35-voices-outro.rf35-voices-outro,
html body main > section.rf37-umstieg-end.rf37-umstieg-end,
html body.um3-page main > section.um3-cta,
html body main > section.ref3-outro.ref3-outro{
  padding-block:24px!important; min-height:0!important;
  margin-block:0!important; background:var(--rf43-paper)!important;
  border-top:1px solid #e9e1e5!important; border-bottom:0!important;
  color:var(--rf43-ink)!important;
}
html body main > section.rf-page-next.rf-page-next h2,
html body main > section.rf37-single-close.rf37-single-close h2,
html body main > section.rf35-voices-outro.rf35-voices-outro h2,
html body main > section.rf37-umstieg-end.rf37-umstieg-end h2,
html body.um3-page main > section.um3-cta h2,
html body main > section.ref3-outro.ref3-outro h2{
  font-size:clamp(17px,1.5vw,20px)!important;
  font-weight:650!important;letter-spacing:-.018em!important;
  line-height:1.35!important;margin-block:3px 5px!important;
  max-width:42ch!important;color:var(--rf43-ink)!important;
}
html body main > section.rf-page-next.rf-page-next .rf-eyebrow,
html body main > section.rf37-single-close.rf37-single-close .rf-eyebrow,
html body main > section.rf35-voices-outro.rf35-voices-outro .rf-eyebrow,
html body main > section.rf37-umstieg-end.rf37-umstieg-end .um3-kicker{
  font-size:10px!important;letter-spacing:.12em!important;
  color:var(--rf43-brand)!important;
}
html body main > section.rf-page-next.rf-page-next a.rf-btn,
html body main > section.rf37-single-close.rf37-single-close a.rf-btn,
html body main > section.rf37-umstieg-end.rf37-umstieg-end a.rf-btn{
  font-size:12px!important;min-height:42px!important;padding:10px 15px!important;
}
html body main > section.migration-next.migration-next{padding-block:23px!important;min-height:0!important}
html body main > section.migration-next.migration-next h2{font-size:clamp(17px,1.4vw,20px)!important;line-height:1.35!important;font-weight:650!important}
/* The homepage uses one editorial forward-navigation block, not a second full hero. */
html body main > section.rf-next.rf-next{padding-block:45px!important;gap:35px!important}
html body main > section.rf-next.rf-next h2{font-size:clamp(22px,2.4vw,32px)!important;line-height:1.2!important}
/* Explicit mobile paper margins, wrapping and grid min-width boundaries. */
@media(max-width:760px){
 html body main > section.rf-page-next.rf-page-next,
 html body main > section.rf37-single-close.rf37-single-close,
 html body main > section.rf35-voices-outro.rf35-voices-outro,
 html body main > section.rf37-umstieg-end.rf37-umstieg-end,
 html body.um3-page main > section.um3-cta,
 html body main > section.ref3-outro.ref3-outro{padding-block:20px!important}
 html body main > section.rf-page-next.rf-page-next > .rf-wrap,
 html body main > section.rf37-single-close.rf37-single-close > .rf-wrap,
 html body main > section.rf35-voices-outro.rf35-voices-outro > .rf-wrap,
 html body main > section.rf37-umstieg-end.rf37-umstieg-end > .um3-cta-grid{
   width:calc(100% - 40px)!important;max-width:1180px!important;
   margin-inline:auto!important;min-width:0!important;
 }
 html body main > section.rf-page-next.rf-page-next h2,
 html body main > section.rf37-single-close.rf37-single-close h2,
 html body main > section.rf35-voices-outro.rf35-voices-outro h2,
 html body main > section.rf37-umstieg-end.rf37-umstieg-end h2,
 html body.um3-page main > section.um3-cta h2,
 html body main > section.ref3-outro.ref3-outro h2{font-size:18px!important;max-width:none!important}
 html body main p,html body main li,html body main blockquote,
 html body main h1,html body main h2,html body main h3{
   overflow-wrap:break-word;min-width:0;
 }
 html body main .migration-copy,html body main .migration-main,
 html body main .rf-editorial-entry,html body main article{min-width:0}
 html body main .migration-sidebar{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
 html body main .migration-sidebar nav{scroll-padding-inline:20px}
}
@media(max-width:359px){
 html body main > section.rf-page-next.rf-page-next > .rf-wrap,
 html body main > section.rf37-single-close.rf37-single-close > .rf-wrap,
 html body main > section.rf35-voices-outro.rf35-voices-outro > .rf-wrap{width:calc(100% - 32px)!important}
}
/* Specificity guard for the independent Umstiegsangebot family. */
html body.um3-page main > section.um3-cta.rf37-umstieg-end h2,
html body.um3-page main > section.um3-cta:not(.rf37-umstieg-end) h2{
  font-size:clamp(18px,1.5vw,20px)!important;
  font-weight:650!important;line-height:1.35!important;
}
@media(max-width:760px){
  html body.um3-page main > section.um3-cta.rf37-umstieg-end h2,
  html body.um3-page main > section.um3-cta:not(.rf37-umstieg-end) h2{font-size:18px!important}
}
/* Mobile endzone: align the heading and its one action to the same paper gutter. */
@media(max-width:760px){
 html body main > section.rf-page-next.rf-page-next > .rf-wrap{
   box-sizing:border-box!important;padding-inline:0!important;
   display:flex!important;flex-direction:column!important;
   align-items:flex-start!important;justify-content:flex-start!important;
   gap:12px!important;
 }
 html body main > section.rf-page-next.rf-page-next a.rf-btn{
   margin:0!important;align-self:flex-start!important;justify-self:start!important;
 }
}
