/* R7: retain accepted compositions; change only card contrast and requested behaviour. */
body[data-area] #main:not(.b15-home) .b13-motif:not([data-r3-hero]):not(.home-hero)::before{opacity:.9!important;filter:none!important}
body[data-area] #main:not(.b15-home) .b13-motif:not([data-r3-hero]):not(.home-hero)::after{background:linear-gradient(110deg,#17151be6 0%,#17151b98 53%,#17151b24 100%)!important}
body[data-area] #main:not(.b15-home) .b14-motif:not([data-r3-hero]):not(.home-hero)::before{opacity:1!important;filter:none!important}
body[data-area] #main:not(.b15-home) .b14-motif:not([data-r3-hero]):not(.home-hero)::after{background:linear-gradient(0deg,#111014ed 2%,#111014b0 35%,#11101424 73%,#11101400)!important}
/* Override the legacy thumbnail reset on the COMPLETE clickable preview. */
body[data-area] #main .b5-demo-section>.b5-demo-launch.r4-motion{transform:translate3d(var(--r4-x,0px),var(--r4-y,0px),0) scale(var(--r4-scale,1))!important;transition:none!important}
body[data-area] #main .r4-motion:focus-within{transform:none!important;opacity:1!important}
.site-header .r7-mobile-nav{display:none!important}
.r7-journey-select{display:none}
.r7-footer{display:grid!important;grid-template-columns:minmax(200px,1.3fr) 1fr 1fr;gap:30px!important;padding:48px max(24px,calc((100vw - 1320px)/2)) 24px!important;border-top:1px solid #ffffff24!important;background:linear-gradient(115deg,#211a1f,#141214)!important}
.r7-footer .r7-footer-heading{font-size:13px;font-weight:600;letter-spacing:.05em;color:#d5bfae;margin:0 0 12px}
.r7-footer nav{display:flex!important;flex-direction:column;gap:2px!important;align-items:flex-start!important}
.r7-footer a{min-height:44px;display:inline-flex;align-items:center;color:#e4dcd7;text-decoration:none;font-size:14px}
.r7-footer a:hover,.r7-footer a:focus-visible{text-decoration:underline;color:#fff}
.r7-footer .footer-brand a{max-width:180px}.r7-footer .footer-brand img{width:100%;height:auto}
.r7-footer .r7-footer-summary{font-size:14px;line-height:1.6;max-width:26ch;color:#bdb2b7}
.r7-footer .r7-footer-social{flex-direction:row;flex-wrap:wrap;gap:16px!important}
.r7-footer .footer-note{grid-column:1/-1;width:100%;border-top:1px solid #ffffff1c;padding-top:20px;margin:0!important;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#aaa0a4;font-size:11px}
.r7-sun-window{position:relative;display:block;aspect-ratio:8/5;overflow:hidden;background:#101318}
.r7-sun-window canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .25s;pointer-events:none}
.r7-sun-window[data-ready=true] canvas{opacity:1}.r7-sun-window[data-ready=true] img{visibility:hidden}
.b5-demo-launch>.r7-sun-window{position:relative!important;inset:auto!important;padding:0!important;border:0!important;max-width:none!important;width:100%!important;background:none!important;display:block!important}
.b5-demo-launch>.r7-sun-window img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}
.b15-home-stage>.b15-home-footer button{border:1px solid #ffffff25!important;border-radius:999px!important;padding:10px 18px!important;background:#191419b3!important;min-height:44px;color:#e5d8d9}
@media(max-width:1199px){
 .site-header{height:auto!important;min-height:104px!important;backdrop-filter:none!important}
 .site-header .nav-inner{height:56px!important;min-height:56px!important;padding:8px 18px!important;justify-content:center!important}
 .site-header .brand{width:130px!important;max-width:130px!important}.site-header .brand img{width:130px!important;height:auto!important}
 .site-header .menu-button,.site-header #main-nav,.r6-menu-shade{display:none!important}
 .site-header .r7-mobile-nav{display:flex!important;flex-wrap:nowrap!important;flex-direction:row!important;position:relative;gap:4px;padding:0 12px 4px;min-height:48px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#72525d transparent;align-items:center;scroll-padding-inline:12px;-webkit-overflow-scrolling:touch}
 .r7-mobile-nav a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid transparent;border-radius:7px;text-decoration:none;white-space:nowrap;color:#cfc6ca;font-size:12px;font-weight:600}
 .r7-mobile-nav a[aria-current=page]{background:#502a38;border-color:#8b5869;color:#fff3eb}.r7-mobile-nav a:focus-visible{outline:2px solid #d4b99a;outline-offset:-3px}
 .r7-footer{grid-template-columns:1fr 1fr;gap:24px!important;padding:32px 22px 20px!important}.r7-footer>.r7-footer-brand{grid-column:1/-1}
}
@media(max-width:700px){
 body[data-area] #main:not(.b15-home) .b13-motif:not([data-r3-hero]):not(.home-hero)::after{background:linear-gradient(0deg,#17151bed 0%,#17151ba8 48%,#17151b26 100%)!important}
  body[data-area] #main .b3-working-grid>article{min-height:240px!important;padding:24px!important}
 .r7-mobile-nav{touch-action:pan-x pan-y}.r7-footer a{font-size:13px}.r7-footer .footer-note{font-size:10px}
 .b15-home-stage>.b15-home-footer{padding-inline:12px!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){body[data-area] #main .b5-demo-section>.b5-demo-launch.r4-motion{transform:none!important}.r7-loader-ring{animation:none}.r7-sun-window canvas{transition:none}}
@media(max-width:699px) and (max-height:720px), (max-height:540px){
 #reise .j6-controls{box-sizing:border-box;width:min(560px,calc(100% - 20px));flex-wrap:nowrap}
 #reise[data-mode=scroll] .j6-controls{display:flex!important;gap:8px!important;align-items:center;padding:6px!important;min-height:58px!important;height:58px!important}
 #reise .j6-controls nav{display:none!important}
 #reise .r7-journey-select{display:block!important;flex:1 1 15rem;min-width:0;width:auto;min-height:44px;font:13px Arial,sans-serif;padding:8px;color:#f4e9dc;border:1px solid #8b958d;background:#23342f;border-radius:7px}
 #reise .j6-controls #j6-motion{flex:0 0 auto;width:auto!important;min-height:44px!important;margin:0!important;font-size:11px!important}
 #reise[data-mode=scroll] .j6-destination .j6-content{justify-content:flex-start!important;overflow-y:auto!important;overscroll-behavior-y:contain;padding:16px 16px 82px!important;scrollbar-width:thin;scroll-padding-bottom:82px}
 #reise[data-mode=scroll] .j6-destination a{scroll-margin-block-end:82px}
 #reise[data-mode=scroll] .j6-destination .eyebrow{display:none!important}
 #reise[data-mode=scroll] .j6-destination h2{font-size:25px!important}
 #reise[data-mode=scroll] .j6-destination .j6-tool{min-height:58px!important}
}

@media(max-height:540px){#reise[data-mode=scroll] .j6-entry-content{box-sizing:border-box;min-height:0;justify-content:flex-start!important;overflow-y:auto!important;padding:18px 24px 82px!important;scroll-padding-bottom:82px}#reise[data-mode=scroll] .j6-entry h1{font-size:28px!important}#reise[data-mode=scroll] .j6-entry p{font-size:13px!important}}
@media(max-height:500px){
 #reise[data-mode=scroll] .j6-entry-content{padding:10px 20px 90px!important;gap:6px;scroll-padding-bottom:90px;overscroll-behavior-y:contain}
 #reise[data-mode=scroll] .j6-entry-content>*{flex-shrink:0}
 #reise[data-mode=scroll] .j6-entry h1{font-size:24px!important;line-height:1.08;margin:0!important}
 #reise[data-mode=scroll] .j6-entry .j6-lead{font-size:12px!important;line-height:1.4!important;margin:0}
 #reise[data-mode=scroll] .j6-entry .actions{gap:8px 14px;margin:0}
 #reise[data-mode=scroll] .j6-entry .actions :is(button,a){box-sizing:border-box;min-height:44px;padding:8px 12px;font-size:12px;line-height:1.3}
 #reise[data-mode=scroll] .j6-entry .j6-entry-hint{font-size:11px!important;line-height:1.4!important;margin:0!important}
}

.r7-footer>.r7-footer-brand{display:block!important}.r7-footer .r7-footer-social{justify-content:flex-start!important;align-items:center!important;position:static!important;width:auto!important;margin-top:14px!important}
