
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#ffffff;color:#142b40;font:1rem/1.5 system-ui,sans-serif}
.wrap{width:min(69rem,calc(100% - 2rem));margin:auto}header{background:#f8fafc;padding:1rem 0;font:1.3rem Georgia,serif}
header span{color:#0879bc}.hero{background:#fff url("header-desktop.webp") center/cover no-repeat;border-bottom:1px solid #d9e5ee;padding:clamp(3.5rem,9vw,7.5rem) 1rem}.hero-inner{width:fit-content;max-width:100%;margin:auto;text-align:center;padding:.65rem}.wordmark{display:flex;align-items:center;gap:.15rem;text-align:left;text-transform:uppercase;font:650 clamp(1.15rem,5.2vw,3.85rem)/1.12 system-ui,sans-serif;letter-spacing:.025em}.wordmark svg{width:clamp(2.8rem,9.5vw,7rem);flex:none}.wordmark span,.wordmark strong{display:block}.wordmark span{color:#4f697f;border-bottom:1px solid #85adc7;padding:0 .25em .1em}.wordmark strong{padding:.1em .25em 0;color:#142b40}
main{padding-block:2rem 3rem}h1,h2{font-family:Georgia,serif;margin:0}h1{font-size:clamp(2rem,5vw,2.8rem)}.intro{color:#50657a;margin:.35rem 0 1.5rem}
.regions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem;align-items:start}.region{background:#f8fbfe;border:1px solid #d9e5ee;border-radius:.5rem;padding:1rem}
.region{grid-column:span 2}.region:nth-child(-n+2){grid-column:span 3}.wide{grid-column:1/-1}.wide ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.5rem}
h2{display:flex;align-items:center;gap:.55rem}h2 img{width:2rem;height:2.05rem;object-fit:contain}h2{font-size:1.35rem;color:#0879bc}ul{list-style:none;margin:.5rem 0 0;padding:0}li{border-top:1px solid #d9e5ee;padding:.45rem 0}li span{display:block;color:#50657a;font-size:.9rem}
@media(max-width:50rem){.regions,.wide ul{grid-template-columns:repeat(2,minmax(0,1fr))}.region:not(.wide){grid-column:auto}}
@media(max-width:32rem){.regions,.wide ul{grid-template-columns:1fr}}

.hero{padding:2rem 1rem 0;overflow:hidden}
.hero-composition{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,3vw,3rem);max-width:63rem;margin:auto}
.hero-portrait{width:clamp(14rem,39vw,28rem);height:auto;display:block;flex:none;align-self:flex-end}
.hero-inner{margin:0 0 2rem}
.wordmark{font-size:clamp(1.1rem,4vw,3.6rem)}
.wordmark svg{width:clamp(2.5rem,7vw,6.4rem)}
h2 img{width:2.25rem;height:2.25rem}
@media(max-width:43rem){.hero-composition{flex-direction:column;gap:.3rem}.hero-portrait{width:clamp(14rem,68vw,19.5rem);align-self:center;order:2}.hero-inner{margin-bottom:.5rem}.wordmark{font-size:clamp(1.3rem,6vw,2rem)}}
 .regions{align-items:stretch}.region{min-height:9rem;padding:1rem 1.2rem}
.event-line{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.15rem .65rem}
li .event-time{white-space:nowrap;color:#315e85;font-variant-numeric:tabular-nums}
li{padding:.55rem 0}
@media(max-width:32rem){.region{min-height:auto}}
.hero{position:relative}
.hero .fpoe-logo{position:absolute;z-index:1;top:clamp(.9rem,2.2vw,1.8rem);right:clamp(1rem,4.2vw,3.75rem);width:clamp(6rem,14vw,10.5rem);height:auto;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 2px #fff)}
@media(max-width:43rem){.hero{padding-top:4.85rem}.hero .fpoe-logo{width:6.25rem}}
.hero-inner{margin-bottom:1rem}
@media(max-width:43rem){.hero-inner{margin-top:.5rem;margin-bottom:.5rem}}

.custom-font{font-family:var(--site-font),system-ui,sans-serif}.custom-font header,.custom-font h1,.custom-font h2,.custom-font .wordmark{font-family:inherit}
.intro,.event-note{white-space:pre-line}.event-flyer{margin:.4rem 0 0}.event-flyer a{color:#075f96}.event-flyer img{display:block;width:min(100%,22rem)}.event-flyer iframe{display:block;width:100%;max-width:25rem;aspect-ratio:210/297;border:1px solid #d9e5ee;margin-top:.6rem}
.hero-composite .hero-composition{min-height:clamp(18rem,32vw,25rem);justify-content:flex-end;padding-right:2rem}
.hero-composite .hero-inner{max-width:62%}
@media(max-width:43rem){
  .hero-composite{aspect-ratio:4/5}
  .hero-composite .hero-composition{min-height:0;justify-content:flex-start;padding-right:0}
  .hero-composite .hero-inner{max-width:100%;background:#ffffffb8;border-radius:.4rem}
}
@media(min-width:50.01rem){.region.wide:nth-child(-n+2){grid-column:1/-1}}
.wordmark>div{min-width:0;overflow-wrap:anywhere}
.region,.event-line>strong,h1,.intro{overflow-wrap:anywhere}
@media(min-width:43.01rem){.hero-inner{min-width:0}}
.event-image-link{color:#075f96;text-underline-offset:.17em}
.event-image-link:focus-visible,.event-lightbox button:focus-visible{outline:2px solid #0879bc;outline-offset:3px}
.event-lightbox{border:0;border-radius:.6rem;background:white;color:#142b40;padding:0;max-width:94vw;max-height:94vh}
.event-lightbox::backdrop{background:rgb(8 24 39 / 84%)}
.event-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem .8rem}
.event-lightbox-toolbar form{margin:0}
.event-lightbox button{padding:.4rem .7rem;border:1px solid #075f96;border-radius:.3rem;background:#075f96;color:white;font:inherit;cursor:pointer}
.event-lightbox img{display:block;max-width:94vw;max-height:calc(94vh - 4rem);max-height:calc(94dvh - 4rem);width:auto;height:auto;object-fit:contain;margin-inline:auto}

.hero .wordmark {
  font-size: clamp(1.1rem, 3vw, 2.6rem);
}

.hero .wordmark > div {
  overflow-wrap: normal;
}

@media (max-width: 43rem) {
  .hero .wordmark {
    font-size: clamp(1.1rem, 5vw, 1.65rem);
  }
}


/* Trennlinien in den Zwischenräumen der mehrspaltigen Terminliste. */
@media (min-width: 32.01rem) {
  .wide ul {
    --event-column-divider: linear-gradient(#c1d3e1, #c1d3e1);
    background-image: var(--event-column-divider);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 1px 100%;
  }
}

@media (min-width: 50.01rem) {
  .wide ul {
    background-image: var(--event-column-divider), var(--event-column-divider);
    background-position: calc(100% / 3 - .25rem) top, calc(200% / 3 + .25rem) top;
  }
}

.hero-composite .hero-inner,
.hero-composite .fpoe-logo {
  display: none;
}

/* Fertige Headergrafik vollständig und ohne zusätzliche Einblendungen zeigen. */
.hero.hero-composite {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 2400 / 840;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-composite .hero-composition,
.hero-composite .fpoe-logo {
  display: none;
}

@media (max-width: 43rem) {
  .hero.hero-composite {
    aspect-ratio: 1080 / 1350;
  }
}



/* Breite Bundeslandkarten bleiben in der vorgesehenen Rasterzeile. */
.regions > .region.wide {
  grid-column: 1 / -1;
}

@media (max-width: 32rem) {
  .regions > .region {
    grid-column: 1 / -1;
    min-width: 0;
  }
}
