/* LaVida Medizentrum — Version 47 Premium Finishing Pass
   Brand: red, black and white. Built on the complete V46/V47 site.
   All animations decorative and respect prefers-reduced-motion. */
:root{--lv47p-red:#d71931;--lv47p-rose:#ff5970;--lv47p-black:#111013;--lv47p-cream:#fffafa;--lv47p-ease:cubic-bezier(.22,.74,.25,1)}
body{background:#fff}
.lv-header{box-shadow:0 20px 48px #05040724}
.lv-header .lv-headrow{position:relative;z-index:40}
.lv-menu-panel{max-height:min(82vh,720px);overflow:auto;box-shadow:0 28px 65px #0007}
.lv-menu-panel a{transition:background .2s,transform .2s}
.lv-menu-panel a:hover{transform:translateX(4px)}
/* HERO: editorial image stage with luminous red flowing paths */
.lv46-home-stage.lv38-intro{isolation:isolate;min-height:730px;padding:clamp(65px,6.5vw,100px) 0 clamp(95px,9vw,145px)!important;background:radial-gradient(ellipse at 75% 28%,#4b1725 0%,transparent 28%),radial-gradient(ellipse at 6% 78%,#4b1624 0%,transparent 38%),linear-gradient(122deg,#0b0a0d 4%,#181216 53%,#0b0a0d 100%)}
.lv46-home-stage.lv38-intro:after{height:96px;bottom:-1px;left:-3%;width:106%;border-radius:60% 40% 0 0 / 100% 100% 0 0;background:linear-gradient(180deg,#fff4 0%,#fff 28%,#fff 100%);clip-path:none}
.lv47-hero-aura{position:absolute;inset:-10% -12% -5%;z-index:0;pointer-events:none;overflow:hidden}
.lv47-hero-aura::before{content:"";position:absolute;left:23%;top:0;width:55%;height:110%;background:radial-gradient(ellipse at center,#ef264b1a,transparent 58%);filter:blur(10px);animation:lv47pBreathe 13s ease-in-out infinite alternate}
.lv47-hero-aura svg{position:absolute;inset:0;width:100%;height:100%;opacity:.82;filter:drop-shadow(0 0 16px #d7193133)}
.lv47-aura-flow{stroke-dasharray:1550;stroke-dashoffset:0;animation:lv47pTrace 26s linear infinite}
.lv47-aura-flow.lv47-aura-flow--2{animation-duration:32s;animation-direction:reverse}
.lv47-aura-flow.lv47-aura-flow--3{animation-duration:38s}
@keyframes lv47pTrace{to{stroke-dashoffset:-3100}}
@keyframes lv47pBreathe{to{transform:scale(1.1);opacity:.7}}
.lv46-hero-inner{position:relative;z-index:4;grid-template-columns:minmax(0,.99fr) minmax(0,1.01fr);gap:clamp(18px,3vw,52px);max-width:1360px!important}
.lv46-hero-copy{padding-block:35px;z-index:5}
.lv46-hero-copy h1{max-width:11.8ch;font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:780;letter-spacing:-.055em!important;font-size:clamp(3.1rem,5.55vw,6.5rem)!important;line-height:1.04!important}
.lv46-hero-copy h1 em{color:#ff3d56;font-style:italic;font-weight:700;text-shadow:0 0 36px #c5214252}
.lv46-hero-copy h1 span{font-size:.37em!important;line-height:1.34!important;letter-spacing:-.01em!important;font-weight:550!important;color:#faf3f5!important;margin-top:22px!important}
.lv46-hero-copy>p{font-size:clamp(1.04rem,1.3vw,1.2rem)!important;max-width:610px;line-height:1.72;color:#eee3e6}
.lv46-hero-copy .lv38-intro-choices{margin-bottom:28px;display:flex;flex-wrap:wrap;gap:12px}
.lv46-hero-copy .lv38-intro-choices a{transition:transform .32s var(--lv47p-ease),box-shadow .32s ease}
.lv46-hero-copy .lv38-intro-choices a:hover{transform:translateY(-3px)}
.lv47-impact-strip{flex:1 0 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:570px;margin-top:16px!important;gap:10px!important}
.lv47-impact-strip li{min-height:69px;padding:13px 14px;border:1px solid #ffffff28;background:linear-gradient(130deg,#ffffff15,#ffffff06);box-shadow:inset 0 1px 0 #ffffff1f,0 16px 32px #0002}
.lv47-impact-strip i{flex:none;width:31px;height:31px;font-size:1rem;box-shadow:0 0 20px #e52a4851}
.lv47-impact-strip span{font-size:.83rem;font-weight:660}
.lv46-hero-visual{min-height:650px;margin:0;display:grid;align-content:center}
.lv46-hero-visual-frame{width:100%;max-width:620px;margin-inline:auto;aspect-ratio:4/4.45;position:relative;border-radius:48px 48px 28px 28px!important;border:1px solid #fff4;overflow:hidden;box-shadow:0 50px 90px #0008,0 0 0 1px #df3a5440;transform:none;animation:lv47pFloat 12s ease-in-out infinite}
@keyframes lv47pFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
.lv46-hero-visual-frame:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff1f,inset -30px -15px 45px #1c071739}
.lv46-hero-visual-frame img{filter:saturate(.98) contrast(1.065);object-position:49% 43%;transform:scale(1.03);transition:transform 1s var(--lv47p-ease)}
.lv46-hero-visual-frame:hover img{transform:scale(1.07)}
.lv46-hero-photo-shade{background:linear-gradient(0deg,#120a0ed7,transparent 31%),linear-gradient(90deg,#0003,transparent 40%,#6a112725)}
.lv46-hero-floating{left:-3%;bottom:6%;z-index:9;box-shadow:0 22px 54px #0009,0 0 35px #d7193122;background:linear-gradient(140deg,#341d26f5,#121114ef);max-width:270px}
.lv46-hero-orbit{inset:0% -8% 12% -8%;z-index:1;box-shadow:0 0 0 30px #fa355516,0 0 0 65px #fa35550c,0 0 60px #dc284633;pointer-events:none}
.lv47-spine-figure{display:none!important}
.lv47-anatomy-figure{position:absolute;z-index:7;width:min(35%,210px);height:auto;right:-7%;top:4%;opacity:.97;pointer-events:none;filter:drop-shadow(0 15px 32px #0007)}
.lv47-anatomy-figure svg{width:100%;height:auto;display:block}
.lv47-anatomy-figure .lv47p-ring{transform-origin:50% 50%;animation:lv47pOrb 22s linear infinite}
.lv47-anatomy-figure .lv47p-ring:nth-child(2){animation-direction:reverse;animation-duration:30s}
.lv47-anatomy-figure .lv47p-spine-glow{animation:lv47pSpine 5.5s ease-in-out infinite alternate}
@keyframes lv47pOrb{to{transform:rotate(360deg)}}
@keyframes lv47pSpine{to{opacity:.55;filter:drop-shadow(0 0 5px #ef274b)}}
/* Real section choreography, not a stack of unconnected rectangles */
.lv46-pathways{background:linear-gradient(180deg,#fff 0%,#fff9fa 100%);padding:50px 0 75px!important}
.lv46-pathway-grid{gap:20px}
.lv46-pathway{min-height:194px;border-radius:27px;background:radial-gradient(circle at 90% 18%,#fff1f3 0%,transparent 37%),linear-gradient(145deg,#fff,#fff8f9);border-color:#d31d3830;box-shadow:0 24px 48px #45121a12}
.lv46-pathway:hover{transform:translateY(-9px) perspective(800px) rotateX(2deg);box-shadow:0 32px 68px #45121a25}
.lv46-interview-feature{background:linear-gradient(120deg,#0b0b0d,#25131b 60%,#0d0b0e);border-top:1px solid #d91b3433}
.lv46-interview-feature .lv38-cinema{position:relative;box-shadow:0 40px 90px #000c,0 0 0 1px #ffffff29}
.lv46-interview-feature .lv38-cinema::before{content:"";position:absolute;z-index:-1;inset:-20px -20px auto;height:100px;background:radial-gradient(ellipse at center,#ec244551,transparent 70%);filter:blur(20px)}
.lv46-interview-feature:after{height:58px;opacity:.8}
/* richer sectional surfaces on all technical pages */
.pagehero{position:relative;background:radial-gradient(ellipse at 88% 30%,#b0214130,transparent 31%),linear-gradient(120deg,#0c0b0d,#1b1318 60%,#09090b);padding-block:clamp(72px,8vw,145px)}
.pagehero:before{right:-8%;top:-60%;width:min(75vw,900px);height:min(75vw,900px);border:1px solid #ff4b685c;box-shadow:0 0 0 75px #e61c3710,0 0 0 145px #e61c3709,0 0 90px #e61c371c;animation:lv47pBreathe 17s ease-in-out infinite alternate}
.pagehero .wrap{max-width:1180px}
.pagehero h1{max-width:940px;letter-spacing:-.047em}
.pagehero .eyebrow{color:#ff8395}
.pagehero:after{height:46px;border-radius:55% 45% 0 0 / 100% 100% 0 0}
.section{overflow:clip}
.section.gray{background:radial-gradient(ellipse at 90% 20%,#f3dfe357,transparent 28%),linear-gradient(150deg,#fff,#fbf6f7)}
.section.black,.quote-band{background:radial-gradient(ellipse at 80% 24%,#72203938,transparent 40%),radial-gradient(ellipse at 10% 80%,#6d1b3133,transparent 31%),linear-gradient(125deg,#100e11,#1e141a)}
.section.black:before,.quote-band:before{width:600px;height:600px;border:1px solid #ff476126;box-shadow:0 0 0 65px #ff47610b,0 0 0 135px #ff476107;animation:lv47pBreathe 22s ease-in-out infinite alternate}
.section .card,.section .city-card,.migration-card,.article-card,.blog-card{border-radius:25px;box-shadow:0 20px 52px #13070d11;border:1px solid #bb536124}
.section .card:hover,.migration-card:hover,.article-card:hover,.blog-card:hover{box-shadow:0 30px 64px #13070d23}
.section .card h3{letter-spacing:-.015em}
.cta{background:radial-gradient(ellipse at 85% 23%,#ff73824a,transparent 32%),linear-gradient(120deg,#9f061e,#dd1c38 50%,#78071c)}
.cta .wrap{z-index:2}
.cta .btn.inverse{background:#fff;color:#a60b21!important;box-shadow:0 18px 40px #46051530}
.lv46-personal-strip figure,.lv44-photo-panel figure{box-shadow:0 24px 65px #17091123;border-radius:26px}
.lv46-personal-strip figure img,.lv44-photo-panel img{transition:transform .7s var(--lv47p-ease)}
.lv46-personal-strip figure:hover img,.lv44-photo-panel figure:hover img{transform:scale(1.045)}
.contact-card{border-radius:30px;box-shadow:0 30px 70px #280c1721}
.lv44-medal{filter:drop-shadow(0 18px 25px #8c0d2533)}
.footer{background:radial-gradient(ellipse at 90% 60%,#54182a33,transparent 35%),linear-gradient(110deg,#0b090c,#1d131a 60%,#100d10)}
/* keep focus and performance first */
:focus-visible{outline:3px solid #fd425c!important;outline-offset:4px!important}
@media(max-width:1020px){
 .lv46-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}
 .lv46-hero-copy h1{font-size:clamp(2.9rem,5.4vw,4.6rem)!important}
 .lv46-hero-visual{min-height:510px}
 .lv47-anatomy-figure{width:32%;right:-4%}
 .lv46-hero-floating{left:0;bottom:4%}
}
@media(max-width:760px){
 .lv46-home-stage.lv38-intro{padding:38px 0 78px!important;min-height:auto}
 .lv46-home-stage.lv38-intro:after{height:35px}
 .lv46-hero-copy{padding:0}
 .lv46-hero-copy h1{max-width:unset;font-size:clamp(2.75rem,9.8vw,4.1rem)!important}
 .lv46-hero-copy h1 span{font-size:.46em!important}
 .lv46-hero-visual{width:min(100%,480px);min-height:auto;margin:18px auto 0}
 .lv46-hero-visual-frame{aspect-ratio:1.03;animation:none;border-radius:24px!important}
 .lv46-hero-visual-frame img{object-position:50% 43%}
 .lv47-anatomy-figure{width:26%;right:-2%;top:2%;opacity:.78}
 .lv46-hero-floating{left:5%;bottom:-18px;padding:15px 17px;width:min(230px,70%)}
 .lv46-hero-inner{gap:12px}
 .lv47-impact-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 .lv47-impact-strip li{min-height:60px;padding:10px;gap:9px}
 .lv47-impact-strip i{width:27px;height:27px;font-size:.85rem}
 .lv47-impact-strip span{font-size:.74rem}
 .lv46-pathways{padding:28px 0 45px!important}
 .pagehero{padding-block:65px 75px}
 .section{padding-block:55px}
 .hero{padding:50px 0}
 .hero-copy{padding:24px}
}
@media(max-width:390px){
 .lv47-impact-strip{grid-template-columns:1fr}
 .lv46-hero-copy h1{font-size:clamp(2.55rem,10vw,3.5rem)!important}
 .lv46-hero-floating{bottom:-26px}
}
@media(prefers-reduced-motion:reduce){
 .lv47-hero-aura:before,.lv47-aura-flow,.lv47-anatomy-figure .lv47p-ring,.lv47-anatomy-figure .lv47p-spine-glow,.lv46-hero-visual-frame,.pagehero:before,.section.black:before,.quote-band:before{animation:none!important}
 .lv46-hero-visual-frame{translate:none!important}
}
/* Fidelity fixes from rendered desktop/mobile quality review. */
.lv-header{background:linear-gradient(180deg,rgba(10,8,11,.97),rgba(18,14,18,.92))!important;color:#fff!important}
.lv-header .lv-menu summary{background:#b70f26!important;color:#fff!important;border:1px solid #e53a55!important}
.lv-header .lv-headrow,.lv-header .lv-brand{background:transparent!important}
.lv46-hero-inner{display:grid!important;align-items:center!important}
.lv46-hero-copy{min-width:0!important}
.lv46-hero-copy .lv38-intro-choices{width:100%}
.lv47-impact-strip{margin-top:14px!important}
@media (max-width:760px){
  .lv46-hero-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .lv46-hero-copy .lv38-intro-choices{display:flex;flex-direction:column;align-items:stretch}
  .lv47-impact-strip{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
  .lv46-hero-visual{margin-top:26px}
}
/* Legacy CSS uses header.lv-header!important. Match specificity to ensure dark premium navigation. */
header.lv-header{background:linear-gradient(180deg,#121013 0%,#1b141a 100%)!important;border-bottom:1px solid #f34c6850!important;box-shadow:0 18px 44px #0004!important}
header.lv-header .lv-brand{background:#fff!important;border-radius:15px;padding:7px 12px!important;box-shadow:0 0 0 1px #ffffff28,0 12px 30px #0005}
header.lv-header .lv-brand img.lv-original-logo{mix-blend-mode:normal!important;object-fit:contain}
header.lv-header .lv38-menu>summary{border-radius:999px!important;background:linear-gradient(125deg,#de1535,#ab0923)!important;border:1px solid #f9677b!important;box-shadow:0 12px 28px #7e071d66!important}
@media(max-width:760px){header.lv-header .lv-brand{padding:5px 8px!important;border-radius:12px}}

.lv47-parallax{transform:none;translate:var(--lv47-px,0) var(--lv47-py,0)}
