.servicebar .barinner {min-height:38px;flex-direction:row;align-items:center;padding-block:4px;gap:8px}
.barinner .sec-link {margin:0}
.barinner a {min-height:30px;font-size:14px;line-height:20px;padding:4px 10px}
.quick {padding:0;gap:8px}
.quick .social {width:30px}
header .mast {display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,4vw,70px);min-height:76px}
.mast .brand {height:auto;padding:0;flex:0 0 auto}
.mast .brand img {height:auto;width:clamp(180px,16vw,238px)}
.desktopnav {height:auto;flex:1;gap:24px;min-width:0}
.desktopnav>nav {column-gap:clamp(20px,2.4vw,40px);row-gap:5px}
.desktopnav>nav>a,.desktopnav>nav>.dropdown>summary {display:flex;align-items:center;min-height:44px;font-size:15px;color:#154159}
.desktopnav .search {width:clamp(138px,16vw,225px);flex-shrink:1;gap:4px}
.search input {padding:7px 0}
.search button {height:44px;min-width:40px}
main:has(.hero-stage) .crumb {display:none}
.hero {padding:0;background:#133e54}
.hero-stage {position:relative;isolation:isolate;overflow:hidden}
.hero-stage:before {content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:67%;background-image:linear-gradient(90deg,#133e54 0%,rgba(19,62,84,.75) 9%,rgba(19,62,84,.08) 32%,rgba(19,62,84,.01) 82%),var(--gruppenfoto);background-size:cover;background-position:center 21%;background-repeat:no-repeat}
.hero-stage .container {display:flex;align-items:center;min-height:clamp(260px,21vw,320px);padding-block:26px}
.hero .lead {width:45%;margin:0}
.lead h1 {font-size:clamp(30px,3vw,46px);line-height:1.13;text-wrap:balance;margin:0 0 18px;font-weight:600;letter-spacing:-.02em}
.hero .lead .cta {display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;font-size:17px;line-height:1.3;border-radius:5px;color:#123445}
.hero .lead .cta:hover {background:#c0d822}
.hero .hinweise {background:linear-gradient(100deg,#e1ecac 0%,#f3f7de 32%,#f5f8f6 50%,#e4f3fa 69%,#c9e8f4 100%);border-bottom:1px solid #ccdcdf;color:var(--dark)}
.hinweise .container {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;padding:0}
.hinweis {display:flex;align-items:center;justify-content:center;position:relative;gap:12px;padding:6px clamp(14px,2vw,40px);min-height:46px;color:var(--dark);text-decoration:none}
.hinweis-aktuelles::before {content:"";position:absolute;inset-block:21%;inset-inline-start:0;border-inline-start:1px solid #9db8bd}
.hinweis-icon,.hinweis-pfeil {display:grid;place-items:center;flex:none}
.hinweis-icon {width:23px;font-size:17px}
.hinweis-anmeldung .hinweis-icon {color:#516900}
.hinweis-aktuelles .hinweis-icon {color:#006d99}
.hinweis .info {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 10px;min-width:0}
.hinweis strong {font:600 17px/1.3 Demi,Arial,sans-serif}
.hinweis .ziel {color:#335361;font:400 15px/1.35 Avenir,Arial,sans-serif}
.hinweis-pfeil {width:20px;height:20px;font-size:14px}
main .hinweis-pfeil .extern-zeichen {width:1.12em;height:1.12em;background:transparent;color:inherit;font-size:1.15em}
.hinweise .hinweis:hover {text-decoration:none}
main .bg-reiter a:hover {text-decoration:none}
@media (hover:hover) {
 .hinweis-anmeldung[href]:hover {background:linear-gradient(100deg,#d7e79a,#eaf1ca)}
 .hinweis-aktuelles[href]:hover {background:linear-gradient(100deg,#e1f1f8,#b8dfef)}
}
.hero .hinweis:focus-visible {outline:2px solid #154159;outline-offset:-3px}
.news {padding-top:36px}
.news .sectiontitle {font-size:34px;margin-bottom:26px}
#aktuelles .newsgrid {
    align-items:stretch;
}
#aktuelles .newsgrid > .story {
    display:flex;
    flex-direction:column;
    min-width:0;
}
#aktuelles .newsgrid > .story > div {
    flex:1;
    background:linear-gradient(180deg,#e4f3fa 0%,#f1f8fb 52%,#fff 100%);
}
#aktuelles .newsgrid > .story small {
    background:#d7eaf3;
    color:#345b74;
}
@media (min-width:768px) {
    #aktuelles .newsgrid {grid-auto-rows:1fr}
}
.partners {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-items:center;justify-items:center;gap:18px;padding-block:16px}
.partners img,.partners img:first-child {height:34px;max-width:100%;width:auto;object-fit:contain}
.footmain {padding:24px 0}
.footgrid {grid-template-columns:1.12fr 1fr 1fr 1.45fr;gap:clamp(14px,3vw,42px)}
.footgrid h2 {margin:0 0 7px;font-size:20px;line-height:1.25;color:#79dafa}
.footgrid>div>a {margin:0;min-height:26px;line-height:1.3;display:flex;align-items:center}
.footicons {gap:6px;margin:0;flex-wrap:wrap}
.footicons a {padding:4px 7px;min-height:31px;min-width:32px;line-height:1.15}
.footicons a img {width:40px;height:auto}
.footgrid .small-brand {margin-top:11px}
.footlogo {width:150px;height:auto;max-height:40px}
.footend {padding:9px 0}
.footend .container {gap:8px}
.footend a,.footend span {font-size:14px}
/* Pro Hälfte liegen die Inhalte mittig in den inneren 624 px.
   Der übrige Raum liegt außen und gehört weiterhin zur Linkfläche. */
@media (min-width:1248px) {
 .hinweis {--band-innenabstand:24px;--band-aussenabstand:calc(100% - 624px + var(--band-innenabstand))}
 .hinweis-anmeldung:not(:only-child) {padding-inline:var(--band-aussenabstand) var(--band-innenabstand)}
 .hinweis-aktuelles:not(:only-child) {padding-inline:var(--band-innenabstand) var(--band-aussenabstand)}
}
@media(min-width:1650px){.hero-stage:before {width:calc(50% + 235px)}}
@media(max-width:991px){
 header .mast {min-height:64px;gap:16px}
 .mast .brand img {width:172px}
 .mobilemenu>summary {min-width:46px;min-height:44px;align-content:center;justify-content:center;gap:5px}
 .mobilemenu .mobpanel {z-index:5;max-height:65vh;overflow:auto}
 .hero-stage:before {width:63%}
 .hero .lead {width:49%}
 .footgrid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
 /* Weniger Freiraum im Fotobanner. Mehrzeilige Seitentitel dürfen mitwachsen. */
 .subhero {padding-block:54px 66px}
 .subhero h1 {max-width:100%;overflow-wrap:anywhere}
 .quick .social {display:none}
 .barinner a,.quick .dark {min-height:44px;line-height:20px;padding:5px 8px}
 .servicebar .barinner {padding-block:0;gap:6px}
 .quick {gap:6px}
 .quick .iserv img {width:37px}
 header .mast {min-height:60px}
 .hero-stage {display:flex;flex-direction:column}
 .hero-stage:before {position:static;width:100%;height:clamp(135px,40vw,215px);background-image:var(--gruppenfoto);background-size:cover;flex:none}
 .hero-stage .container {min-height:0;padding-block:18px 20px}
 .hero .lead {width:100%}
 .lead h1 {max-width:27ch;font-size:clamp(25px,5.3vw,31px);line-height:1.15;margin-bottom:12px;text-wrap:initial}
 .hero .lead .cta {font-size:16px;min-height:44px}
 .hero .hinweise {background:#f5f8f6}
 .hinweise .container {grid-template-columns:1fr}
 .hinweis {justify-content:flex-start;gap:10px;padding:6px 15px;min-height:46px}
 .hinweis-anmeldung {background:linear-gradient(100deg,#e1ecac,#f7f9e9)}
 .hinweis-aktuelles {background:linear-gradient(100deg,#c9e8f4,#edf7fb)}
 .hinweis-aktuelles::before {content:none}
 .hinweis .info {flex:1}
 .news {padding-top:25px}
 .news .sectiontitle {font-size:28px;margin-bottom:18px}
 .partners {grid-template-columns:repeat(4,minmax(0,1fr));padding-block:12px;gap:10px}
 .partners img,.partners img:first-child {height:28px;width:100%;max-width:100%}
 .footmain {padding:16px 0}
 .footgrid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .footgrid h2 {font-size:18px;margin-bottom:4px}
 .footgrid>div>a,.footicons a,.footend a {min-height:44px}
 .footicons a {min-width:44px}
 .footicons {gap:5px}
 .footicons a img {width:32px}
 .footgrid .linkgroup-schulleben {grid-column:2;grid-row:1}
 .footgrid .linkgroup-tools {grid-column:1/-1}
 .footgrid .small-brand {display:none}
 .footend .container,.footend .container>div {gap:4px 12px}
 .footend a {display:inline-flex;align-items:center}
}
@media(max-width:480px){
 .hinweis .info {display:grid}
 .hinweis strong {font-size:16px}
 .hinweis .ziel {font-size:14px}
}

:root {--gruppenfoto:url("/assets/gruppe.jpg")}

/* Ein ausgeblendetes internes Ziel gibt die gesamte Bandbreite frei. */
.hinweis:only-child {grid-column:1/-1}
.hinweis-aktuelles:only-child::before {content:none}
.hinweis:not([href]) {cursor:default}
@media (max-width:575px) {
 .footgrid > div {min-width:0}
 .footgrid h2,.footgrid > div > a {max-width:100%;overflow-wrap:anywhere}
}
