
:root{
  --blue:#0b78c1;--blue-dark:#07558a;--blue-soft:#eaf5fc;
  --ink:#1d2933;--muted:#5d6b75;--line:#dbe6ed;--white:#fff;
  --max:1180px;--radius:10px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:#fff;color:var(--ink);
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
  font-size:16px;line-height:1.55
}
img,video{display:block;max-width:100%}
a{color:inherit}
button,input,textarea,select{font:inherit}
.wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.narrow{max-width:820px}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:12px;top:12px;z-index:9999;background:#fff;padding:10px 14px}

.contactbar{background:var(--blue-dark);color:#fff;font-size:.88rem}
.contactbar-inner{
  min-height:38px;display:flex;justify-content:flex-end;gap:24px;align-items:center
}
.contactbar a{text-decoration:none}

.site-header{
  background:#fff;position:sticky;top:0;z-index:100;
  box-shadow:0 2px 14px rgba(10,45,68,.12)
}
.header-inner{
  min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:28px
}
.brand{
  display:flex;align-items:center;gap:15px;text-decoration:none;
  color:#111;line-height:1.12;min-width:0
}
.brand-logo{width:78px;height:78px;object-fit:contain;flex:0 0 auto}
.brand span{font-size:1.35rem}
.brand strong{font-size:1.35rem;font-weight:400}
.primary-nav ul{
  display:flex;list-style:none;gap:30px;margin:0;padding:0;align-items:center
}
.primary-nav li{position:relative}
.primary-nav a{text-decoration:none;font-weight:600;font-size:.98rem}
.primary-nav a:hover,.primary-nav a:focus{color:var(--blue)}
.primary-nav .sub-menu{
  display:none;position:absolute;top:100%;left:-14px;background:#fff;
  padding:10px;min-width:240px;box-shadow:0 14px 32px rgba(10,45,68,.16);
  flex-direction:column;gap:0;border-radius:8px
}
.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:flex}
.primary-nav .sub-menu a{display:block;padding:9px 10px}
.menu-toggle{
  display:none;border:0;background:var(--blue);color:#fff;
  padding:11px 14px;border-radius:8px;font-weight:700;cursor:pointer
}

.hero{
  height:min(62vw,650px);min-height:520px;position:relative;
  display:flex;align-items:flex-end;overflow:hidden;background:var(--blue-dark)
}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(3,46,76,.72) 0%,rgba(3,46,76,.32) 42%,rgba(3,46,76,.06) 72%)
}
.hero-content{position:relative;color:#fff;padding:88px 0}
.hero h1{
  font-size:clamp(2.6rem,6vw,5.2rem);line-height:1;max-width:780px;
  margin:.08em 0 .25em;letter-spacing:-.035em;font-weight:750
}
.hero p:not(.eyebrow){font-size:1.16rem;max-width:620px}
.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:700;font-size:.78rem}
.eyebrow.blue{color:var(--blue)}
.button{
  display:inline-block;background:#fff;color:var(--blue-dark);padding:13px 18px;
  text-decoration:none;font-weight:700;margin-top:10px;border-radius:7px
}

.section{padding:76px 0}
.intro{text-align:center}
.intro h2,.quick h2,.info h2,.news h2,.contact-section h2{
  font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;margin:.15em 0 .5em;
  letter-spacing:-.025em
}
.tile-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:34px}
.person-tile{
  min-height:245px;padding:24px 20px;text-decoration:none;display:flex;
  flex-direction:column;background:var(--blue-soft);border-top:5px solid var(--blue);
  border-radius:var(--radius);transition:transform .18s,background .18s,color .18s
}
.person-tile:hover,.person-tile:focus{transform:translateY(-4px);background:var(--blue);color:#fff}
.tile-number{font-weight:700;color:var(--blue);opacity:.75}
.person-tile:hover .tile-number,.person-tile:focus .tile-number{color:#fff}
.person-tile h3{font-size:1.25rem;line-height:1.2;margin:auto 0 7px}
.person-tile p{font-size:.9rem;margin:0}
.arrow{font-size:1.5rem;margin-top:16px}

.info{background:#f7fafc}
.info-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center}
.blue-panel{background:var(--blue);color:#fff;padding:40px;border-radius:var(--radius);display:grid;gap:3px}
.blue-panel strong{font-size:1.25rem;margin-top:15px}
.blue-panel span{opacity:.92}
.text-link{color:var(--blue);font-weight:700;text-decoration:none}

.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.news-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}
.news-card img{width:100%;height:210px;object-fit:cover}
.news-body{padding:20px}
.news-body time{font-size:.8rem;color:var(--muted)}
.news-body h3{font-size:1.25rem;line-height:1.25;margin:.45em 0}
.news-body h3 a{text-decoration:none}

.contact-section{background:var(--blue);color:#fff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact-grid>div:last-child{display:flex;flex-direction:column;justify-content:center;gap:12px;font-size:1.08rem}
.contact-grid a{overflow-wrap:anywhere}

.site-footer{background:#102b3a;color:#dce9ef;padding-top:58px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:48px;padding-bottom:50px}
.site-footer h2{color:#fff;font-size:1rem;text-transform:uppercase;letter-spacing:.08em}
.site-footer a{text-decoration:none}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:17px 0;font-size:.85rem}

.content-area{padding:68px 0;max-width:900px}
.content-card h1{
  font-size:clamp(2.3rem,5vw,4.3rem);line-height:1.03;color:var(--blue-dark);
  letter-spacing:-.03em
}
.content-card img,.article-image{max-width:100%;height:auto}
.article-image{width:100%;max-height:520px;object-fit:cover}

/* Tablet */
@media (max-width:1000px){
  .wrap{width:min(var(--max),calc(100% - 36px))}
  .header-inner{min-height:90px}
  .brand-logo{width:66px;height:66px}
  .brand span,.brand strong{font-size:1.12rem}
  .primary-nav ul{gap:16px}
  .tile-grid{grid-template-columns:repeat(2,1fr)}
  .person-tile:last-child{grid-column:1/-1}
  .info-grid{gap:34px}
}

/* Mobile */
@media (max-width:760px){
  body{font-size:15.5px}
  .wrap{width:calc(100% - 28px)}

  .contactbar-inner{
    min-height:0;padding:7px 0;justify-content:center;gap:3px 14px;
    flex-wrap:wrap;font-size:.78rem
  }

  .site-header{top:0}
  .header-inner{min-height:74px;gap:10px}
  .brand{gap:9px}
  .brand-logo{width:54px;height:54px}
  .brand span{display:block;font-size:.92rem;white-space:nowrap}
  .brand strong{font-size:.92rem}
  .menu-toggle{display:block}

  .primary-nav{
    display:none;position:absolute;top:100%;left:0;right:0;background:#fff;
    padding:10px 14px 18px;border-top:1px solid var(--line);
    box-shadow:0 12px 24px rgba(10,45,68,.14);max-height:calc(100vh - 112px);
    overflow-y:auto
  }
  .primary-nav.open{display:block}
  .primary-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .primary-nav li{width:100%}
  .primary-nav a{display:block;padding:12px 8px;border-bottom:1px solid #edf2f5}
  .primary-nav .sub-menu{
    position:static;display:flex;box-shadow:none;padding:0 0 0 14px;
    min-width:0;border-radius:0
  }
  .primary-nav .sub-menu a{font-weight:500;padding:10px 8px}

  .hero{height:auto;min-height:430px;align-items:flex-end}
  .hero-shade{
    background:linear-gradient(0deg,rgba(3,46,76,.82) 0%,rgba(3,46,76,.42) 58%,rgba(3,46,76,.12) 100%)
  }
  .hero-content{padding:105px 0 42px}
  .hero h1{font-size:clamp(2.25rem,12vw,3.4rem);max-width:95%}
  .hero p:not(.eyebrow){font-size:1rem;max-width:95%}
  .button{padding:12px 15px}

  .section{padding:50px 0}
  .intro{text-align:left}
  .intro h2,.quick h2,.info h2,.news h2,.contact-section h2{font-size:2rem}

  .tile-grid{
    display:flex;overflow-x:auto;gap:12px;margin-right:-14px;padding-right:14px;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    scrollbar-width:none
  }
  .tile-grid::-webkit-scrollbar{display:none}
  .person-tile{
    flex:0 0 min(78vw,280px);min-height:205px;scroll-snap-align:start
  }
  .person-tile:last-child{grid-column:auto}

  .info-grid,.contact-grid,.footer-grid{grid-template-columns:1fr;gap:28px}
  .blue-panel{padding:28px 24px}
  .news-grid{grid-template-columns:1fr;gap:16px}
  .news-card{display:grid;grid-template-columns:115px 1fr}
  .news-card img{height:100%;min-height:150px}
  .news-body{padding:15px}
  .news-body h3{font-size:1.08rem}
  .news-body p{display:none}

  .contact-grid>div:last-child{font-size:1rem}
  .site-footer{padding-top:44px}
  .footer-grid{padding-bottom:38px}
  .content-area{padding:45px 0}
}

/* Small phones */
@media (max-width:430px){
  .contactbar-inner a:first-child{max-width:100%;overflow-wrap:anywhere}
  .brand span,.brand strong{font-size:.82rem}
  .brand-logo{width:48px;height:48px}
  .menu-toggle{padding:9px 11px;font-size:.9rem}
  .hero{min-height:390px}
  .hero-content{padding-bottom:34px}
  .hero h1{font-size:2.25rem}
  .person-tile{flex-basis:82vw}
  .news-card{grid-template-columns:96px 1fr}
  .news-body{padding:13px}
}

/* Accessibility / reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
  .hero-video{display:none}
}

.custom-logo-link{display:flex;align-items:center}.custom-logo{width:78px;height:78px;object-fit:contain}@media(max-width:760px){.custom-logo{width:54px;height:54px}}@media(max-width:430px){.custom-logo{width:48px;height:48px}}

/* ICS Calendar / IServ */
.school-calendar .calendar-heading{max-width:820px;margin-bottom:26px}
.calendar-feed{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;overflow:hidden}
.calendar-feed .ics-calendar{margin:0}
.calendar-feed a{color:var(--blue-dark)}
.calendar-feed table{width:100%;max-width:100%}
.calendar-notice{margin:0;padding:16px;background:var(--blue-soft);border-radius:8px}
@media(max-width:760px){
 .calendar-feed{padding:16px 14px;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .calendar-feed .ics-calendar{min-width:0;max-width:100%}
 .calendar-feed table{font-size:.9rem}
}

.brand-name{text-decoration:none;color:inherit}.calendar-feed .ics-calendar{font-family:inherit}.calendar-feed .ics-calendar-list-wrapper{margin-top:20px}.calendar-feed .ics-calendar-list-wrapper h3,.calendar-feed .ics-calendar-list-wrapper h4{color:var(--blue-dark)}@media(max-width:760px){.calendar-feed{overflow-wrap:anywhere}}

/* 1.3 – Startseite näher an der abgestimmten Vorschau */
.hero.hero-photo{height:clamp(420px,43vw,650px);min-height:420px;align-items:flex-end;background:linear-gradient(135deg,var(--blue-dark),var(--blue))}
.hero.hero-photo .hero-shade{background:linear-gradient(0deg,rgba(4,38,61,.62) 0%,rgba(4,38,61,.18) 45%,rgba(4,38,61,.02) 75%)}
.hero.hero-photo .hero-content{padding:0 0 42px}
.hero-copy{display:inline-block;max-width:560px;padding:16px 20px 14px;background:rgba(4,45,72,.62);backdrop-filter:blur(2px);border-radius:6px}
.hero.hero-photo h1{font-size:clamp(2.15rem,3.9vw,3.45rem);line-height:1.06;margin:.02em 0 .02em;max-width:14ch}
.hero.hero-photo p:not(.eyebrow){margin:0;font-size:1.08rem}
.home-quick{padding:18px 0 26px;background:#fff;border-bottom:1px solid var(--line)}
.photo-tile-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.photo-tile{display:block;border:1px solid #d7e5ee;border-radius:7px;overflow:hidden;text-decoration:none;background:#f1f8fd;box-shadow:0 3px 12px rgba(10,64,98,.06);transition:transform .18s,box-shadow .18s}
.photo-tile:hover,.photo-tile:focus{transform:translateY(-3px);box-shadow:0 9px 22px rgba(10,64,98,.13)}
.photo-tile-media{display:block;height:145px;background:linear-gradient(135deg,#d9edf9,#b8ddf4);background-size:cover;background-position:center}
.photo-tile-label{min-height:66px;padding:15px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#064d82}
.photo-tile-label strong{font-size:1.04rem}.photo-tile-label>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-size:1.5rem;line-height:1}
.home-news{padding:42px 0 48px}.section-title-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}.section-title-row h2,.service-band h2{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.1;margin:0;color:#073f70}.section-title-row>a{color:#075da0;text-decoration:none;white-space:nowrap}
.news-card{border-radius:7px;box-shadow:0 2px 10px rgba(10,64,98,.05)}.news-image{display:block;height:205px;background:#e9f3f9 center/cover no-repeat}.news-body{padding:16px 18px 18px}.news-body h3{color:#064d82}.news-body p{margin:.5em 0 .8em}.readmore{color:#075da0;text-decoration:none;font-weight:600}.empty-note{grid-column:1/-1}
.service-band{background:#eaf6fd;padding:36px 0 40px}.service-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:48px}.calendar-column{padding-right:46px;border-right:1px solid #cbdfea}.calendar-feed{border:0;border-radius:0;padding:12px 0 0;background:transparent;min-height:120px}.calendar-feed .ics-calendar{background:transparent}.calendar-feed .ics-calendar-list-wrapper{margin:0}.calendar-feed h3,.calendar-feed h4{font-size:1rem!important;margin:.6em 0!important}.calendar-feed .event{border-bottom:1px solid #cbdfea;padding:.55em 0!important}.service-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:18px}.service-links a{min-height:54px;background:#fff;border-radius:8px;text-decoration:none;color:#075da0;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:8px 13px;box-shadow:0 2px 8px rgba(10,64,98,.04)}.service-links a>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e7f4fc;font-weight:700}.service-links b{font-size:1.45rem;font-weight:400}
.site-footer{background:linear-gradient(135deg,#075d98,#087bc1);padding-top:42px}.footer-grid{padding-bottom:36px}.footer-bottom{background:rgba(0,0,0,.12)}
@media(max-width:1000px){.photo-tile-media{height:120px}.photo-tile-label strong{font-size:.92rem}.service-grid{gap:30px}.calendar-column{padding-right:30px}}
@media(max-width:760px){.hero.hero-photo{min-height:380px;height:58vh}.hero.hero-photo .hero-content{padding-bottom:22px}.hero-copy{padding:15px 17px;max-width:92%}.hero.hero-photo h1{font-size:2.2rem}.home-quick{padding:14px 0 20px}.photo-tile-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:4px}.photo-tile{flex:0 0 72vw;scroll-snap-align:start}.photo-tile-media{height:150px}.section-title-row{align-items:start}.section-title-row h2{font-size:1.75rem}.section-title-row>a{font-size:.9rem}.home-news{padding:34px 0}.news-card{display:block}.news-image{height:190px}.news-body p{display:block}.service-grid{grid-template-columns:1fr;gap:32px}.calendar-column{padding-right:0;border-right:0;border-bottom:1px solid #cbdfea;padding-bottom:28px}.service-links{grid-template-columns:1fr}.service-band{padding:32px 0}}
@media(max-width:430px){.hero.hero-photo{min-height:340px}.hero.hero-photo h1{font-size:1.9rem}.photo-tile{flex-basis:80vw}.section-title-row{display:block}.section-title-row>a{display:inline-block;margin-top:8px}.news-image{height:170px}}


/* 2.1/2.2 – abgestimmte Detailänderungen */
.contact-link{display:inline-flex;align-items:center;gap:7px}.contact-link svg,.footer-contact svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.primary-nav .sub-menu{left:0;min-width:max-content}.primary-nav .sub-menu li,.primary-nav .sub-menu a{text-align:left}.primary-nav .sub-menu a{white-space:nowrap}
.hero.hero-photo .hero-copy{padding-bottom:20px}.hero.hero-photo .hero-copy h1{margin-bottom:0}
.photo-tile-media--social{background-position:center!important;background-size:contain!important;background-repeat:no-repeat;background-color:#f4f9fc}
.photo-tile-media--team{background-position:center}
.service-links a>span svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer-contact{display:flex;flex-direction:column;gap:7px}.footer-contact a{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
@media(max-width:760px){.primary-nav .sub-menu a{white-space:normal}.contact-link{gap:5px}.contact-link svg{width:15px;height:15px}}


/* 2.2 – sichtbare, tatsächlich umgesetzte Startseitenänderungen */
.photo-tile-media--childcare{
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#fff!important;
}
.photo-tile-media--mosaic{
  display:grid!important;
  grid-template-columns:repeat(5,1fr);
  grid-template-rows:repeat(3,1fr);
  gap:1px;
  background:#dcecf6;
  overflow:hidden;
}
.team-mosaic-cell{
  min-width:0;min-height:0;
  background-size:cover;
  background-position:center 24%;
  background-repeat:no-repeat;
}
/* Bei mehr als 15 Bildern bleibt die Kachel bewusst bei 15 gleich großen Ausschnitten. */
.service-links a{transition:transform .15s ease,box-shadow .15s ease}
.service-links a:hover,.service-links a:focus{transform:translateY(-2px);box-shadow:0 7px 18px rgba(10,64,98,.10)}
@media(max-width:760px){
 .photo-tile-media--mosaic{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(3,1fr)}
}

/* 2.4 – abgestimmte Startseiten-Kacheln + mobile Feinschliff */
.photo-tile-media--leadership{background-position:center!important;background-size:cover!important}
.photo-tile-media--office{background-position:center!important;background-size:cover!important}
.photo-tile-media--childcare{background-size:96% auto!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#f5f2e7!important}
.photo-tile-media--social{background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;background-color:#f5f9fc!important}
.photo-tile-media--mosaic{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2px;background:#fff}
.team-mosaic-cell{display:block;width:100%;height:100%;background-size:cover;background-position:center 22%}
.photo-tile-media--mosaic .team-mosaic-cell:nth-child(n+16){display:none}
@media(max-width:760px){
 .photo-tile-grid{scroll-padding-inline:0}
 .photo-tile{flex-basis:min(78vw,330px)}
 .photo-tile-media{height:160px}
 .photo-tile-media--mosaic{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
 .photo-tile-label{min-height:60px;padding:13px 14px}
 .photo-tile-label strong{font-size:.98rem}
 .service-links a{min-height:58px}
}
@media(max-width:430px){
 .hero-copy{max-width:94%;padding:14px 15px}
 .hero.hero-photo h1{font-size:1.82rem;line-height:1.08;max-width:16ch}
 .photo-tile{flex-basis:84vw}
 .photo-tile-media{height:154px}
 .service-links a{grid-template-columns:32px minmax(0,1fr) auto;padding:9px 11px}
}


/* 2.5 – Hero, Schulleitung und Navigation präzisiert */
@media (min-width:761px){
  .primary-nav > ul{align-items:center}
  .primary-nav > ul > li{position:relative;text-align:left}
  .primary-nav > ul > li > .sub-menu{
    left:0!important;right:auto!important;top:100%;
    align-items:stretch!important;
    text-align:left!important;
    width:max-content;min-width:220px;max-width:min(420px,80vw);
    padding:8px 0;
    border-radius:4px;
  }
  .primary-nav > ul > li > .sub-menu > li{width:100%;text-align:left!important}
  .primary-nav > ul > li > .sub-menu > li > a{
    display:block;width:100%;text-align:left!important;
    white-space:nowrap!important;padding:9px 14px;
  }
  .primary-nav > ul > li > .sub-menu > li + li > a{border-top:1px solid #edf2f5}
}
.hero.hero-photo .hero-copy{
  max-width:790px;
  padding:16px 20px 17px;
  background:rgba(4,45,72,.60);
}
.hero.hero-photo h1{
  max-width:none;
  font-size:clamp(2.25rem,3.25vw,3.15rem);
  line-height:1.07;
  letter-spacing:-.028em;
}
.photo-tile-media--leadership{
  background-position:center center!important;
  background-size:cover!important;
}
@media(max-width:760px){
  .primary-nav .sub-menu{
    align-items:stretch!important;
    text-align:left!important;
    padding-left:16px;
  }
  .primary-nav .sub-menu li,
  .primary-nav .sub-menu a{width:100%;text-align:left!important}
  .hero.hero-photo .hero-copy{max-width:94%;padding:14px 16px 15px}
  .hero.hero-photo h1{font-size:clamp(1.9rem,8.5vw,2.35rem);line-height:1.08;max-width:none}
  .photo-tile-media--leadership{background-position:center center!important}
}

/* 2.7 – Unterseiten: derselbe „Zum Weiterlesen“-Baustein wie auf der Startseite */
.page-readmore{margin-top:0}
.page-readmore .service-column{max-width:none}
.page-readmore .service-links{margin-top:18px}
@media(max-width:760px){
  .page-readmore{padding:32px 0}
  .page-readmore .service-links{grid-template-columns:1fr}
}


/* 2.9 – Hero sauber proportioniert: 2 Zeilen, Box folgt dem Text */
.hero.hero-photo .hero-content{
  padding:0 0 34px;
}
.hero.hero-photo .hero-copy{
  display:inline-block;
  width:max-content;
  max-width:calc(100% - 24px);
  padding:14px 20px 15px;
  background:rgba(4,45,72,.57);
  border-radius:5px;
  box-sizing:border-box;
}
.hero.hero-photo h1{
  margin:0;
  max-width:none;
  font-size:clamp(2.05rem,2.65vw,2.7rem);
  line-height:1.08;
  letter-spacing:-.025em;
  overflow:visible;
  word-break:normal;
  overflow-wrap:normal;
}
.hero.hero-photo h1 .hero-line{
  display:block;
  white-space:nowrap;
}
@media(max-width:1000px){
  .hero.hero-photo h1{font-size:clamp(1.95rem,3.1vw,2.45rem)}
  .hero.hero-photo .hero-copy{padding:13px 18px 14px}
}
@media(max-width:760px){
  .hero.hero-photo .hero-content{padding-bottom:22px}
  .hero.hero-photo .hero-copy{
    width:auto;
    max-width:94%;
    padding:12px 15px 13px;
  }
  .hero.hero-photo h1{
    font-size:clamp(1.65rem,7.1vw,2.05rem);
    line-height:1.1;
  }
  .hero.hero-photo h1 .hero-line{white-space:normal}
}
@media(max-width:430px){
  .hero.hero-photo .hero-copy{max-width:96%;padding:11px 14px 12px}
  .hero.hero-photo h1{font-size:clamp(1.5rem,7.4vw,1.85rem)}
}
