/* Fachinstitut Relaunch 1.3.2: enforce responsive sizing even alongside Enfold theme CSS.
 * The preview is deliberately NOT an Enfold/Avia editable page template.
 * Scoped only to our opt-in full-page template. */
body.fis-relaunch-page { overflow-x: clip; }
body.fis-relaunch-page .fis-relaunch,
body.fis-relaunch-page .fis-relaunch .hero,
body.fis-relaunch-page .fis-relaunch .header { min-width: 0; max-width: 100%; }
body.fis-relaunch-page .fis-relaunch .hero__inner,
body.fis-relaunch-page .fis-relaunch .hero__content,
body.fis-relaunch-page .fis-relaunch .hero__visual,
body.fis-relaunch-page .fis-relaunch .hero__actions,
body.fis-relaunch-page .fis-relaunch .header__inner,
body.fis-relaunch-page .fis-relaunch .fis-submain,
body.fis-relaunch-page .fis-relaunch .container { min-width:0; max-width:100%; box-sizing:border-box; }
body.fis-relaunch-page .fis-relaunch .hero__lead,
body.fis-relaunch-page .fis-relaunch .hero__note,
body.fis-relaunch-page .fis-relaunch .hero h1 { white-space:normal; overflow-wrap:break-word; }
body.fis-relaunch-page .fis-relaunch .hero__actions .btn { max-width:100%; white-space:normal; text-align:center; }
body.fis-relaunch-page .fis-relaunch img { max-width:100%; }
/* The old template only stacked hero columns under 810px. Between 811 and
 * 1100px it squeezed a desktop headline/buttons into a half-width column. */
@media (min-width:811px) and (max-width:1140px) {
  body.fis-relaunch-page .fis-relaunch .hero__inner {
    grid-template-columns: minmax(0,1fr);
    gap:35px;
    width:calc(100% - 64px);
    margin-inline:auto;
    padding-top:50px;
    padding-bottom:70px;
  }
  body.fis-relaunch-page .fis-relaunch .hero__content { width:100%; padding:0; }
  body.fis-relaunch-page .fis-relaunch .hero h1 { font-size:clamp(48px,6.5vw,70px);max-width:780px;line-height:1.11; }
  body.fis-relaunch-page .fis-relaunch .hero__lead {max-width:690px;}
  body.fis-relaunch-page .fis-relaunch .hero__note {max-width:690px;}
  body.fis-relaunch-page .fis-relaunch .hero__visual {max-width:850px;width:100%;padding:0;}
  body.fis-relaunch-page .fis-relaunch .hero__photo-frame {height:auto;aspect-ratio:1.55;border-radius:145px 4px 4px 4px;}
  body.fis-relaunch-page .fis-relaunch .hero__side-caption {display:none;}
  body.fis-relaunch-page .fis-relaunch .hero__floating {left:18px;bottom:-24px;}
  body.fis-relaunch-page .fis-relaunch .hero__actions {gap:16px;}
}
@media (max-width:810px) {
  body.fis-relaunch-page .fis-relaunch .hero__inner {grid-template-columns:minmax(0,1fr);max-width:100%;}
  body.fis-relaunch-page .fis-relaunch .hero__content,
  body.fis-relaunch-page .fis-relaunch .hero__visual {width:100%;min-width:0;}
  body.fis-relaunch-page .fis-relaunch .hero__actions {flex-wrap:wrap;}
}
@media (max-width:580px) {
  body.fis-relaunch-page .fis-relaunch .container,
  body.fis-relaunch-page .fis-relaunch .hero__inner {width:calc(100% - 36px);max-width:100%;margin-inline:auto;}
  body.fis-relaunch-page .fis-relaunch .hero h1 {font-size:clamp(40px,11.7vw,59px);line-height:1.13;}
  body.fis-relaunch-page .fis-relaunch .hero__lead {font-size:15px;line-height:1.65;max-width:100%;}
  body.fis-relaunch-page .fis-relaunch .hero__note {font-size:13px;max-width:100%;}
  body.fis-relaunch-page .fis-relaunch .hero__actions {display:flex;flex-direction:column;align-items:stretch;gap:9px;}
  body.fis-relaunch-page .fis-relaunch .hero__actions .btn,
  body.fis-relaunch-page .fis-relaunch .hero__actions .btn--text {width:100%;white-space:normal;min-height:50px;padding:12px 16px;justify-content:center;}
  body.fis-relaunch-page .fis-relaunch .hero__floating {left:10px;right:10px;max-width:min(290px,calc(100% - 20px));}
  body.fis-relaunch-page .fis-relaunch .hero__photo-frame {width:100%;max-width:100%;}
  body.fis-relaunch-page .fis-relaunch .eyebrow {flex-wrap:wrap;line-height:1.65;}
}
@media (max-width:350px) {
  body.fis-relaunch-page .fis-relaunch .hero h1 {font-size:clamp(37px,11.8vw,41px);}
  body.fis-relaunch-page .fis-relaunch .hero__floating {position:relative;left:auto;right:auto;bottom:auto;margin:-15px 10px 0;}
}
