/* ============================================================
   Hand Institut Zürich — refactor theme
   Custom header, hero and footer. Navy/blue heritage palette.
   Loaded AFTER styles.css. Self-hosts Lato (also fixes body font).
   ============================================================ */

/* ---- Self-hosted Lato (replaces Google webfont loader) ---- */
@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/lato-300.woff2') format('woff2');}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/lato-400.woff2') format('woff2');}
@font-face{font-family:'Lato';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/lato-400italic.woff2') format('woff2');}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/lato-700.woff2') format('woff2');}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/lato-900.woff2') format('woff2');}

:root{
  --hi-navy:#04316e;
  --hi-blue:#144383;
  --hi-blue-bright:#0049ad;
  --hi-blue-soft:#6f9be0;
  --hi-bluegrey:#5b7392;
  --hi-grey:#e1e5ec;
  --hi-ink:#1f3454;
  --hi-header-h:84px;
  --hi-serif:'Ebgaramond','EB Garamond',Georgia,serif;
  --hi-sans:'Lato',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

/* offset fixed header */
body{padding-top:var(--hi-header-h);}

/* ===========================  HEADER  =========================== */
.hi-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:var(--hi-navy);
  border-bottom:1px solid rgba(255,255,255,.12);transition:box-shadow .3s ease,background .3s ease;}
.hi-header.is-scrolled{box-shadow:0 6px 24px rgba(2,18,46,.28);}
.hi-header__inner{max-width:1340px;margin:0 auto;height:var(--hi-header-h);padding:0 2rem;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;}
.hi-header__brand{display:inline-flex;align-items:center;flex:0 0 auto;}
.hi-header__brand img{height:32px;width:auto;display:block;}

.hi-nav{display:flex;align-items:center;gap:1.7rem;}
.hi-nav__link{position:relative;color:#eaf0fb;font-family:var(--hi-sans);font-weight:400;
  font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;
  padding:.55rem 0;white-space:nowrap;transition:color .2s ease;}
.hi-nav__link::after{content:"";position:absolute;left:0;right:0;bottom:-.15rem;height:2px;
  background:var(--hi-blue-soft);transform:scaleX(0);transform-origin:center;transition:transform .28s ease;}
.hi-nav__link:hover{color:#fff;}
.hi-nav__link.is-active::after{transform:scaleX(1);}
.hi-nav__link.is-active{color:#fff;}
/* no underline on hover anywhere except article body links */
.hi-nav__link,.hi-nav__link:hover,.blog_content,.blog_content:hover,.blog_content:hover *,
.w-dyn-item a,.w-dyn-item a:hover{text-decoration:none!important;}

.hi-actions{display:flex;align-items:center;gap:1rem;flex:0 0 auto;}
.hi-booking{display:inline-flex;align-items:center;gap:.55rem;color:#fff;font-family:var(--hi-sans);
  font-size:.76rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;
  border:1px solid rgba(255,255,255,.55);border-radius:7px;padding:.6rem 1.1rem;line-height:1;
  transition:background .22s ease,border-color .22s ease,color .22s ease;}
.hi-booking::before{content:"";width:1.05rem;height:1.05rem;background:url('../images/calendar.svg') center/contain no-repeat;}
.hi-booking:hover{background:#fff;border-color:#fff;color:var(--hi-navy);}
.hi-booking:hover::before{filter:invert(16%) sepia(54%) saturate(2200%) hue-rotate(196deg) brightness(.5);}
.hi-linkedin{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border:1px solid rgba(255,255,255,.4);border-radius:50%;transition:background .22s ease,border-color .22s ease;}
.hi-linkedin img{width:16px;height:16px;display:block;}
.hi-linkedin:hover{background:var(--hi-blue);border-color:var(--hi-blue);}
.hi-lang{display:inline-flex;align-items:center;font-family:var(--hi-sans);font-size:.74rem;
  font-weight:700;letter-spacing:.08em;padding-left:.4rem;}
.hi-lang__opt{position:relative;color:#9fb6da;cursor:pointer;padding:.1rem .55rem;line-height:1;
  background:none;border:0;font:inherit;letter-spacing:inherit;-webkit-appearance:none;appearance:none;
  transition:color .2s ease;}
.hi-lang__opt + .hi-lang__opt{border-left:1px solid rgba(255,255,255,.22);}
.hi-lang__opt:hover{color:#fff;}
.hi-lang__opt.is-active{color:#fff;}
/* language switcher shown inside the mobile menu (desktop selector is hidden <=860px) */
.hi-lang--mobile{display:none;}
/* anti-FOUC: hide body until a non-default translation is applied, with a JS-less failsafe */
html.i18n-pending body{visibility:hidden;animation:i18nReveal 0s linear 1.2s forwards;}
@keyframes i18nReveal{to{visibility:visible;}}

.hi-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;
  border:0;background:transparent;cursor:pointer;padding:0;}
.hi-burger span{display:block;width:24px;height:2px;background:#fff;margin:0 auto;border-radius:2px;
  transition:transform .3s ease,opacity .2s ease;}
.hi-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hi-burger.is-open span:nth-child(2){opacity:0;}
.hi-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ===========================  HERO  =========================== */
.hi-hero{position:relative;min-height:calc(100vh - var(--hi-header-h));
  background-image:linear-gradient(180deg,rgba(255,255,255,.90) 0%,rgba(238,243,250,.86) 55%,rgba(214,226,243,.86) 100%),url('../images/zurich-blu2.jpg');
  background-size:cover,cover;background-position:center,center bottom;background-attachment:scroll,fixed;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:5.5rem 1.5rem 4.5rem;overflow:hidden;}
.hi-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:120px;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff);pointer-events:none;}
.hi-hero__inner{position:relative;z-index:1;max-width:760px;display:flex;flex-direction:column;align-items:center;}
.hi-hero__logo{width:min(86%,600px);height:auto;display:block;
  animation:hi-rise .9s cubic-bezier(.22,.61,.36,1) both;}
.hi-hero__rule{width:64px;height:2px;background:var(--hi-navy);opacity:.55;margin:2.2rem 0 1.6rem;
  animation:hi-rise .9s .1s cubic-bezier(.22,.61,.36,1) both;}
.hi-hero__text{font-family:var(--hi-serif);font-size:1.4rem;line-height:1.72;color:var(--hi-navy);
  font-weight:400;max-width:680px;margin:0 auto;text-align:center;animation:hi-rise .9s .2s cubic-bezier(.22,.61,.36,1) both;}
.hi-hero__cta{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2.6rem;
  animation:hi-rise .9s .3s cubic-bezier(.22,.61,.36,1) both;}
.hi-btn{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--hi-sans);font-weight:700;
  font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;
  border-radius:8px;padding:.95rem 1.8rem;line-height:1;transition:all .22s ease;}
.hi-btn--primary{background:var(--hi-navy);color:#fff;border:1px solid var(--hi-navy);}
.hi-btn--primary:hover{background:var(--hi-blue);border-color:var(--hi-blue);transform:translateY(-2px);box-shadow:0 10px 24px rgba(4,49,110,.28);}
.hi-btn--ghost{background:transparent;color:var(--hi-navy);border:1px solid rgba(4,49,110,.4);}
.hi-btn--ghost:hover{border-color:var(--hi-navy);background:rgba(4,49,110,.06);}
.hi-hero__scroll{position:absolute;bottom:1.6rem;left:50%;transform:translateX(-50%);z-index:1;
  width:26px;height:42px;border:2px solid rgba(4,49,110,.4);border-radius:14px;}
.hi-hero__scroll::before{content:"";position:absolute;left:50%;top:8px;width:3px;height:8px;border-radius:2px;
  background:rgba(4,49,110,.6);transform:translateX(-50%);animation:hi-scroll 1.8s ease-in-out infinite;}
@keyframes hi-rise{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:none;}}
@keyframes hi-scroll{0%{opacity:0;transform:translate(-50%,0);}40%{opacity:1;}80%{opacity:0;transform:translate(-50%,12px);}100%{opacity:0;}}

/* ===========================  FOOTER  =========================== */
.hi-footer{background:var(--hi-navy);color:#c6d3ec;font-family:var(--hi-sans);font-weight:300;
  border-top:3px solid var(--hi-blue);}
.hi-footer__top{max-width:1280px;margin:0 auto;padding:4.5rem 3rem 3rem;
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:3rem;align-items:start;}
.hi-footer__brand{display:inline-block;}
.hi-footer__brand img{height:52px;width:auto;display:block;filter:brightness(0) invert(1);}
.hi-foot-h{font-family:var(--hi-sans);font-size:.72rem;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:#fff;margin:0 0 1.1rem;padding-bottom:.7rem;
  border-bottom:1px solid rgba(255,255,255,.2);}
.hi-footer p,.hi-footer__col p{margin:0 0 .45rem;line-height:1.75;font-size:.92rem;color:#c6d3ec;}
.hi-footer a{color:#c6d3ec;text-decoration:none;transition:color .2s ease;}
.hi-footer a:hover{color:#fff;}
.hi-footer strong{color:#fff;font-weight:700;}
.hi-foot-book{display:inline-flex;align-items:center;gap:.55rem;margin-top:1.3rem;color:#fff;
  font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  border:1px solid rgba(255,255,255,.5);border-radius:7px;padding:.7rem 1.2rem;line-height:1;
  transition:background .2s ease,color .2s ease,border-color .2s ease;}
.hi-foot-book::before{content:"";width:1.05rem;height:1.05rem;background:url('../images/calendar.svg') center/contain no-repeat;}
.hi-foot-book:hover{background:#fff;border-color:#fff;color:var(--hi-navy);}
.hi-foot-book:hover::before{filter:invert(13%) sepia(70%) saturate(1800%) hue-rotate(196deg) brightness(.55);}
.hi-footer__rule{max-width:1280px;margin:0 auto;border:0;border-top:1px solid rgba(255,255,255,.16);}
.hi-footer__bottom{max-width:1280px;margin:0 auto;padding:1.7rem 3rem 2.3rem;
  display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;
  font-size:.84rem;color:#93a6c9;}
.hi-footer__bottom nav{display:flex;gap:1.6rem;flex-wrap:wrap;}
.hi-footer__bottom a{color:#93a6c9;}
.hi-footer__bottom a:hover{color:#fff;}
.hi-footer__social{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;
  border:1px solid rgba(255,255,255,.4);border-radius:50%;}
.hi-footer__social img{width:16px;height:16px;}
.hi-footer__social:hover{background:var(--hi-blue);border-color:var(--hi-blue);}

/* ===========================  RESPONSIVE  =========================== */
@media(max-width:991px){
  .hi-footer__top{grid-template-columns:1fr 1fr;gap:2.2rem;}
}
@media(max-width:860px){
  .hi-header__inner{padding:0 1.25rem;}
  .hi-burger{display:flex;}
  .hi-nav{position:fixed;top:var(--hi-header-h);left:0;right:0;background:var(--hi-navy);
    flex-direction:column;align-items:flex-start;gap:0;padding:.5rem 1.25rem 1.25rem;
    border-top:1px solid rgba(255,255,255,.12);box-shadow:0 18px 30px rgba(2,18,46,.35);
    transform:translateY(-12px);opacity:0;visibility:hidden;transition:all .26s ease;}
  .hi-nav.is-open{transform:none;opacity:1;visibility:visible;}
  .hi-nav__link{width:100%;padding:.85rem 0;border-bottom:1px solid rgba(255,255,255,.08);
    letter-spacing:.08em;font-size:.85rem;}
  .hi-nav__link::after{display:none;}
  .hi-actions{gap:.6rem;margin-left:auto;}
  .hi-booking span{display:none;}
  .hi-booking{padding:.6rem;}
  .hi-booking::before{margin:0;}
  .hi-lang{display:none;}
  .hi-nav .hi-lang--mobile{display:flex;width:100%;justify-content:center;gap:.2rem;
    margin-top:.9rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.12);}
  .hi-linkedin{display:none;}
  .hi-hero__text{font-size:1.18rem;}
  .hi-footer__top{grid-template-columns:1fr;gap:2rem;padding:3.5rem 1.5rem 2.5rem;}
  .hi-footer__bottom{padding:1.4rem 1.5rem 2rem;flex-direction:column;align-items:flex-start;}
}
@media(max-width:520px){
  .hi-hero__logo{width:92%;}
  .hi-hero__cta{flex-direction:column;width:100%;}
  .hi-btn{justify-content:center;width:100%;}
}

/* ===========================  ACCORDION (vanilla, replaces Webflow IX2)  =========================== */
.fs_accordion-2_content{display:flex!important;flex-direction:column;max-height:0;overflow:hidden;
  transition:max-height .35s ease;}
[fs-accordion-element='trigger']{cursor:pointer;}

/* ===========================  TEAM  =========================== */
.hi-team{padding:1rem 1.5rem 4.5rem;}
.hi-team__grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;}
.hi-team__card{background:#fff;border:1px solid #e6eaf1;border-radius:10px;overflow:hidden;
  box-shadow:0 14px 40px rgba(4,49,110,.08);display:flex;flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease;}
.hi-team__card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(4,49,110,.14);}
.hi-team__photo{width:100%;height:360px;overflow:hidden;background:#eef1f6;}
.hi-team__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;}
.hi-team__body{padding:2rem 2.2rem 2.3rem;display:flex;flex-direction:column;align-items:flex-start;flex:1;}
.hi-team__role{font-family:var(--hi-sans);font-size:.74rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--hi-blue);margin:0 0 .45rem;}
.hi-team__name{font-family:var(--hi-serif);font-size:1.85rem;line-height:1.2;color:var(--hi-navy);
  font-weight:500;margin:0;}
.hi-team__rule{width:48px;height:2px;background:var(--hi-blue);opacity:.5;margin:1.1rem 0;}
.hi-team__creds{list-style:none;padding:0;margin:0 0 1.7rem;}
.hi-team__creds li{font-family:var(--hi-sans);font-size:.98rem;line-height:1.55;color:#42536e;
  padding-left:1.1rem;position:relative;margin-bottom:.4rem;}
.hi-team__creds li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;
  border-radius:50%;background:var(--hi-blue-soft);}
.hi-team__cv{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--hi-sans);
  font-size:.76rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;
  color:var(--hi-navy);border:1px solid var(--hi-navy);border-radius:7px;padding:.7rem 1.4rem;
  margin-top:auto;transition:all .2s ease;}
.hi-team__cv:hover{background:var(--hi-navy);color:#fff;}
@media(max-width:760px){.hi-team__grid{grid-template-columns:1fr;gap:2rem;}.hi-team__photo{height:340px;}}

/* ===========================  NEWS / BLOG CARDS  =========================== */
.w-dyn-items:has(.blog_content){display:grid!important;grid-template-columns:repeat(3,1fr);gap:2rem;
  max-width:1160px;margin:0 auto;padding:0;list-style:none;}
.w-dyn-item:has(.blog_content){display:flex;flex-direction:column;background:#fff;border:1px solid #e6eaf1;
  border-radius:10px;overflow:hidden;box-shadow:0 12px 34px rgba(4,49,110,.07);
  transition:transform .25s ease,box-shadow .25s ease;}
.w-dyn-item:has(.blog_content):hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(4,49,110,.14);}
.w-dyn-item:has(.blog_content):hover .img_container.blog .team_thumb{transform:scale(1.05);}
.blog_content{display:flex!important;flex-direction:column;text-decoration:none;padding:0!important;}
.w-dyn-item .img_container.blog{width:100%;aspect-ratio:16/10;overflow:hidden;background:#eef1f6;margin:0;}
.w-dyn-item .img_container.blog .team_thumb{width:100%!important;height:100%;object-fit:cover;display:block;
  transition:transform .5s ease;}
.blog_content>p{font-family:var(--hi-sans);font-size:.71rem;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--hi-bluegrey);margin:1.4rem 1.6rem .5rem;}
.w-dyn-item .content_box.sx{padding:0 1.6rem;align-items:flex-start;}
.w-dyn-item .content_box.sx h2{font-family:var(--hi-serif);font-size:1.3rem;line-height:1.32;
  color:var(--hi-navy);font-weight:500;margin:0;text-align:left;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.w-dyn-item .content_box.sx .separator{height:.4rem;}
.w-dyn-item .w-dyn-bind-empty{display:none;}
.w-dyn-item .w-richtext{padding:.6rem 1.6rem 1.9rem;}
.w-dyn-item .w-richtext p{font-family:var(--hi-sans);font-size:.92rem;line-height:1.6;color:#5a6a82;
  margin:0;text-align:left;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.w-dyn-item .tag_box{display:none;}
.w-dyn-item .kategorie_label{font-family:var(--hi-sans);font-size:.66rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:#9aa8c0;margin:0;}
.w-dyn-item .tag{display:inline-block;font-family:var(--hi-sans);font-size:.7rem;font-weight:700;
  letter-spacing:.06em;color:var(--hi-blue);background:#eaf0fa;border:0;border-radius:50px;
  padding:.45rem 1rem;text-decoration:none;transition:background .2s ease,color .2s ease;}
.w-dyn-item .tag:hover{background:var(--hi-navy);color:#fff;}
@media(max-width:991px){.w-dyn-items:has(.blog_content){grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.w-dyn-items:has(.blog_content){grid-template-columns:1fr;}}

/* ===========================  BLOG POST (article page)  =========================== */
/* title header (over skyline) */
.section.rem .container.blog{max-width:840px;margin:0 auto;align-items:center;text-align:center;
  padding:2.5rem 1.5rem 1rem;}
.section.rem .container.blog>p{font-family:var(--hi-sans);font-size:.74rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--hi-bluegrey);margin:0 0 1.1rem;}
h1.blu.blog{font-family:var(--hi-serif);font-size:2.9rem;line-height:1.16;color:var(--hi-navy);
  font-weight:500;margin:0;text-align:center;}
/* article column */
.container.blog:has(.content_post-blog){max-width:860px;margin:0 auto;align-items:center;}
/* featured image — valued, framed banner */
.container.blog:has(.content_post-blog)>.img_container.blog{width:100%;margin:0 auto 3rem;
  aspect-ratio:16/10;overflow:hidden;border-radius:14px;background:#eef1f6;
  box-shadow:0 22px 60px rgba(4,49,110,.18);}
.container.blog:has(.content_post-blog)>.img_container.blog img{width:100%!important;height:100%;
  object-fit:cover;display:block;}
/* body typography (readable measure) */
.content_post-blog{max-width:720px;margin:0 auto;text-align:left;width:100%;}
.content_post-blog h3{font-family:var(--hi-serif);font-size:1.45rem;line-height:1.4;color:var(--hi-navy);
  font-weight:500;margin:2.4rem 0 .7rem;}
.content_post-blog h2{font-family:var(--hi-serif);font-size:1.9rem;line-height:1.3;color:var(--hi-navy);
  font-weight:500;margin:2.6rem 0 .9rem;}
.content_post-blog p{font-family:var(--hi-sans);font-size:1.06rem;line-height:1.85;color:#3a4a63;
  margin:0 0 1.25rem;font-weight:400;}
.content_post-blog a{color:var(--hi-blue);text-decoration:underline;}
.content_post-blog ul,.content_post-blog ol{max-width:720px;margin:0 auto 1.25rem;color:#3a4a63;
  font-size:1.06rem;line-height:1.8;padding-left:1.3rem;}
.content_post-blog img{max-width:100%;height:auto;border-radius:10px;margin:1.6rem 0;
  box-shadow:0 14px 40px rgba(4,49,110,.12);}
.content_post-blog .w-dyn-bind-empty{display:none;}
/* tag at end of article */
.content-container.first .tag_box{max-width:720px;margin:2.5rem auto 0;flex-direction:row;align-items:center;
  gap:.8rem;border-top:1px solid #e1e5ec;padding-top:1.6rem;}
.content-container.first .tag_box .kategorie_label{font-family:var(--hi-sans);font-size:.7rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:#9aa8c0;margin:0;}
.content-container.first .tag_box .tag{display:inline-block;font-family:var(--hi-sans);font-size:.72rem;
  font-weight:700;color:var(--hi-blue);background:#eaf0fa;border:0;border-radius:50px;padding:.5rem 1.1rem;
  text-decoration:none;transition:background .2s,color .2s;}
.content-container.first .tag_box .tag:hover{background:var(--hi-navy);color:#fff;}
/* related articles */
.section.list .container.blog{max-width:1080px;margin:0 auto;}
.section.list .bold-text{font-family:var(--hi-serif);font-size:1.6rem;color:var(--hi-navy);font-weight:500;}
.section.list .img_container.thumb{width:100%;aspect-ratio:16/10;background-size:cover!important;
  background-position:center!important;background-repeat:no-repeat;border-radius:0;}
.section.list .w-dyn-item .content_box.sx{padding:0!important;}
.section.list .w-dyn-item .content_box.sx h3{font-family:var(--hi-serif);font-size:1.2rem;line-height:1.3;
  color:var(--hi-navy);font-weight:500;margin:0;padding:1.1rem 1.4rem 1.4rem;text-align:left;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
@media(max-width:760px){h1.blu.blog{font-size:2.1rem;}}

/* ===========================  BEHANDLUNGEN — EXPLORER (master-detail)  =========================== */
.hi-treat{max-width:1200px;margin:0 auto;padding:.5rem 1.5rem 4.5rem;}
.hi-treat__layout{display:grid;grid-template-columns:330px 1fr;gap:3.2rem;align-items:start;}
.hi-treat__nav{position:sticky;top:calc(var(--hi-header-h) + 1.4rem);display:flex;flex-direction:column;}
.hi-treat__grouplabel{font-family:var(--hi-sans);font-size:.71rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--hi-bluegrey);margin:1.7rem 0 .55rem;padding-bottom:.5rem;
  border-bottom:1px solid #e1e5ec;}
.hi-treat__grouplabel:first-child{margin-top:0;}
.hi-treat__item{display:block;width:100%;text-align:left;background:transparent;border:0;
  border-left:2px solid transparent;cursor:pointer;font-family:var(--hi-serif);font-size:1.08rem;
  line-height:1.32;color:#46586f;padding:.68rem .9rem;border-radius:0 7px 7px 0;transition:all .2s ease;}
.hi-treat__item:hover{background:#f1f4f9;color:var(--hi-navy);}
.hi-treat__item.is-active{background:#eaf0fa;color:var(--hi-navy);border-left-color:var(--hi-blue);font-weight:600;}
.hi-treat__stage{position:relative;}
.hi-treat__panel{display:none;}
.hi-treat__panel.is-active{display:flex;flex-direction:column;animation:hi-treat-in .45s ease;}
@keyframes hi-treat-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
.hi-treat__body{order:1;max-width:700px;min-width:0;}
.hi-treat__title{font-family:var(--hi-serif);font-size:1.65rem;line-height:1.25;color:var(--hi-navy);
  font-weight:500;margin:.1rem 0 1rem;}
.hi-treat__text p{font-family:var(--hi-sans);font-size:1.03rem;line-height:1.8;color:#3a4a63;margin:0 0 1.05rem;}
.hi-treat__text strong{color:var(--hi-navy);font-weight:700;}
.hi-treat__media{order:2;width:100%;max-width:460px;aspect-ratio:4/3;max-height:300px;margin-top:1.7rem;
  border-radius:10px;overflow:hidden;background:#f0f3f8;border:1px solid #e2e8f1;
  box-shadow:0 8px 22px rgba(4,49,110,.08);display:flex;align-items:center;justify-content:center;}
.hi-treat__media img{max-width:100%;max-height:100%;width:auto;height:auto;display:block;}
@media(max-width:860px){
  .hi-treat__layout{grid-template-columns:1fr;gap:1.6rem;}
  .hi-treat__nav{position:static;}
  .hi-treat__media{max-width:340px;max-height:220px;aspect-ratio:16/11;margin-top:1.2rem;}
  .hi-treat__title{font-size:1.45rem;}
}

/* ===========================  PAGE INTRO TEXT — finer & lighter  =========================== */
.subtitle-header{font-family:var(--hi-serif);font-size:1.3rem;line-height:1.66;font-weight:400;
  color:var(--hi-navy);}
.hi-pagesub{font-family:var(--hi-serif);font-weight:400;font-size:1.2rem;line-height:1.6;color:var(--hi-navy);
  max-width:680px;margin:.9rem auto 0;text-align:center;}

/* ===========================  KONTAKT / STANDORTE — address blocks  =========================== */
.map_container{max-width:500px;margin-left:auto;margin-right:auto;border-radius:10px;overflow:hidden;}
.div-block-4{padding-top:1.5rem;margin:1.2rem auto 0;border-top:1px solid #e1e5ec;text-align:center;max-width:500px;}
.div-block-4 p,.div-block-4 h2.sx,.div-block-4 .text-span-2,
.div-block-4 .code-embed-2,.div-block-4 .code-embed-2 *{text-align:center;}
.div-block-4 .code-embed-2{margin-top:.3rem;}
.div-block-4 h2.sx{margin:0 0 .25rem;line-height:1.2;}
.div-block-4 .text-span-2{display:block;font-family:var(--hi-sans);font-size:.72rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--hi-bluegrey);margin-bottom:.4rem;}
.div-block-4 .text-span-2 br{display:none;}
.div-block-4 h2.sx strong{font-family:var(--hi-serif);font-size:1.5rem;font-weight:500;color:var(--hi-navy);}
.div-block-4 p{font-family:var(--hi-sans);font-size:.98rem;line-height:1.8;color:#46586f;font-weight:300;margin:0;}
.div-block-4 a{color:var(--hi-blue);text-decoration:none;}
.div-block-4 a:hover{color:var(--hi-navy);text-decoration:underline;}

/* ===========================  CV PAGES  =========================== */
.hi-cv{max-width:1120px;margin:0 auto;padding:.5rem 1.5rem 3.5rem;text-align:left;}
.hi-cv *{text-align:left;}
.hi-cv__back{display:inline-block;font-family:var(--hi-sans);font-size:.76rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--hi-bluegrey);text-decoration:none;margin-bottom:1rem;}
.hi-cv__back::before{content:"\2190  ";}
.hi-cv__back:hover{color:var(--hi-navy);}
.hi-cv__grid{display:grid;grid-template-columns:340px 1fr;gap:3.6rem;align-items:start;}
.hi-cv__side{position:sticky;top:calc(var(--hi-header-h) + 1.4rem);background:#fff;border:1px solid #e4e9f1;
  border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(4,49,110,.10);}
.hi-cv__photo{width:100%;aspect-ratio:1/1;overflow:hidden;background:#eef1f6;}
.hi-cv__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 14%;display:block;}
.hi-cv__facts{padding:1.6rem 1.7rem 1.9rem;}
.hi-cv__cardname{font-family:var(--hi-serif);font-size:1.3rem;line-height:1.2;color:var(--hi-navy);
  font-weight:500;margin:0 0 1.4rem;padding-bottom:1.1rem;border-bottom:1px solid #e6eaf1;}
.hi-cv__factgroup + .hi-cv__factgroup{margin-top:1.4rem;}
.hi-cv__lbl{display:block;font-family:var(--hi-sans);font-size:.7rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--hi-blue);margin:0 0 .55rem;}
.hi-cv__facts ul{list-style:none;padding:0;margin:0;}
.hi-cv__facts li{font-family:var(--hi-sans);font-size:.9rem;line-height:1.5;color:#46586f;font-weight:300;margin-bottom:.45rem;}
.hi-cv__block{margin-bottom:2.8rem;}
.hi-cv__block h2{font-family:var(--hi-serif);font-size:1.5rem;color:var(--hi-navy);font-weight:500;
  margin:0 0 1.2rem;padding-bottom:.6rem;border-bottom:2px solid #eef1f5;}
.hi-cv__list{list-style:none;padding:0;margin:0;}
.hi-cv__list li{position:relative;padding:0 0 .8rem;margin-bottom:.8rem;border-bottom:1px solid #eef1f5;
  font-family:var(--hi-sans);font-size:1rem;line-height:1.6;color:#3a4a63;font-weight:400;}
.hi-cv__list li:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0;}
.hi-cv__list li::before{display:none;}
.hi-cv__tl li{display:grid;grid-template-columns:140px 1fr;gap:1.5rem;align-items:baseline;
  padding:0 0 .9rem;margin-bottom:.9rem;border-bottom:1px solid #eef1f5;}
.hi-cv__tl li:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0;}
.hi-cv__tl li::before{display:none;}
.hi-cv__yr{font-family:var(--hi-sans);font-size:.8rem;font-weight:700;color:var(--hi-blue);
  letter-spacing:.03em;white-space:nowrap;}
.hi-cv__role{font-family:var(--hi-sans);font-size:1rem;line-height:1.55;color:#3a4a63;font-weight:400;}
@media(max-width:520px){.hi-cv__tl li{grid-template-columns:1fr;gap:.2rem;}}
@media(max-width:820px){
  .hi-cv__grid{grid-template-columns:1fr;gap:2.2rem;}
  .hi-cv__side{position:static;}
  .hi-cv__photo{max-width:280px;}
  .hi-cv__tl li{grid-template-columns:96px 1fr;gap:.8rem;}
}

/* ===========================  IMAGE+TEXT SECTIONS / WISSENSCHAFT / HOME ABOUT  =========================== */
.quick-stack-6{align-items:start;}
.quick-stack-6 .w-layout-cell > h2:first-child,
.quick-stack-6 .w-layout-cell > h2{margin-top:0;}
.img_container.about{margin-top:.2rem;}
/* Wissenschaft section images — sized to the image itself (no empty 25rem box),
   so the text sits right next to it instead of after a 400px-wide block. */
.img_container.sci{width:14rem;height:auto;max-width:100%;margin-top:0;
  display:flex;justify-content:center;align-items:center;
  border-radius:10px;overflow:visible;}
.img_container.sci img{display:block;width:100%;height:auto;border-radius:10px;
  box-shadow:0 10px 30px rgba(4,49,110,.10);}
/* Vertically center each image against its text block and tighten the gap. */
.quick-stack-6:has(.img_container.sci){align-items:center;grid-column-gap:2.75rem;column-gap:2.75rem;}
/* Home 'Über uns' photo — top aligned, framed */
.img_container.about img{width:100%;border-radius:12px;box-shadow:0 16px 44px rgba(4,49,110,.13);display:block;}
@media(max-width:767px){
  .img_container.sci{width:auto;max-width:13rem;margin:0 auto;justify-content:center;}
  .quick-stack-6:has(.img_container.sci){grid-column-gap:1.5rem;column-gap:1.5rem;}
}

/* ===========================  ORCID section  =========================== */
.hi-orcid{max-width:880px;margin:0 auto;padding:1rem 1.5rem 2rem;}
.hi-orcid__head{text-align:center;margin-bottom:2.6rem;}
.hi-orcid__logo{height:42px;width:auto;display:inline-block;margin-bottom:1.1rem;}
.hi-orcid__title{font-family:var(--hi-serif);font-size:1.7rem;color:var(--hi-navy);font-weight:500;margin:0 0 .6rem;text-align:center;}
.hi-orcid__sub{font-family:var(--hi-sans);font-weight:300;font-size:1rem;color:#46586f;max-width:600px;
  margin:0 auto;line-height:1.6;text-align:center;}
.hi-orcid__cards{display:grid;grid-template-columns:1fr 1fr;gap:1.8rem;max-width:660px;margin:0 auto;}
.hi-orcid__card{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;
  background:#fff;border:1px solid #e6eaf1;border-radius:14px;padding:2.1rem 1.5rem;
  box-shadow:0 12px 34px rgba(4,49,110,.08);transition:transform .25s ease,box-shadow .25s ease;}
.hi-orcid__card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(4,49,110,.14);}
.hi-orcid__photo{width:100px;height:100px;border-radius:50%;object-fit:cover;object-position:50% 18%;
  margin-bottom:1.1rem;border:3px solid #eaf0fa;}
.hi-orcid__role{font-family:var(--hi-sans);font-size:.72rem;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--hi-bluegrey);}
.hi-orcid__name{font-family:var(--hi-serif);font-size:1.3rem;color:var(--hi-navy);font-weight:500;margin:.25rem 0 .9rem;}
.hi-orcid__id{font-family:var(--hi-sans);font-size:.85rem;color:#7a9e1f;font-weight:700;letter-spacing:.02em;
  display:inline-flex;align-items:center;gap:.45rem;}
.hi-orcid__id::before{content:"";width:14px;height:14px;border-radius:50%;background:#a6ce39;display:inline-block;}
.hi-orcid__card:hover .hi-orcid__id{text-decoration:underline;}
@media(max-width:600px){.hi-orcid__cards{grid-template-columns:1fr;}}

/* ===========================  LEGAL PAGES (Datenschutz / Impressum)  =========================== */
.container.intern .w-richtext{max-width:760px;margin:0 auto;text-align:left;}
.container.intern .w-richtext h2{font-family:var(--hi-serif);font-size:1.55rem;color:var(--hi-navy);
  font-weight:500;margin:2.4rem 0 .8rem;text-align:left;line-height:1.3;}
.container.intern .w-richtext h3{font-family:var(--hi-serif);font-size:1.2rem;color:var(--hi-navy);
  font-weight:500;margin:1.9rem 0 .5rem;text-align:left;line-height:1.35;}
.container.intern .w-richtext h2:empty,.container.intern .w-richtext h3:empty,
.container.intern .w-richtext h4:empty,.container.intern .w-richtext p:empty{display:none;}
.container.intern .w-richtext p{font-family:var(--hi-sans);font-size:1rem;line-height:1.78;color:#46586f;
  font-weight:300;margin:0 0 1rem;text-align:left;}
.container.intern .w-richtext a{color:var(--hi-blue);text-decoration:underline;word-break:break-word;}
.container.intern .w-richtext strong{color:var(--hi-navy);font-weight:700;}
.container.intern .w-richtext ul,.container.intern .w-richtext ol{max-width:760px;margin:0 auto 1rem;
  color:#46586f;font-weight:300;line-height:1.7;padding-left:1.3rem;text-align:left;}
.container.intern .w-richtext li{margin-bottom:.4rem;}
