/* Gemeinde Hähnichen: bewusst an den Firmenverzeichnisstil angelehnt. */
.hap-plan,.hap-plan *{box-sizing:border-box}
.hap-plan{--hap-primary:#525E48;--hap-primary-dark:#404A38;--hap-light:#E7E7E7;--hap-soft:#F4F5F2;--hap-text:#2F332D;--hap-muted:#697067;--hap-shadow:0 10px 28px rgba(44,51,40,.08);width:100%;max-width:100%;container-type:inline-size;font-family:inherit;font-size:16px;line-height:1.55;color:inherit}
.hap-plan .hap-section-heading{margin:0 0 26px!important}
.hap-plan .hap-section-heading>span{display:block;margin:0 0 5px!important;color:var(--hap-primary);font-weight:700;font-size:12px;letter-spacing:.09em}
.hap-plan .hap-section-heading h2{margin:0!important;padding:0!important;color:inherit;font:inherit;font-weight:700!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.2!important}
.hap-plan .hap-toolbar{display:flex!important;align-items:center!important;width:100%!important;margin:0 0 26px!important;padding:14px 15px!important;background:var(--hap-soft)!important;border:1px solid var(--hap-light)!important;border-left:4px solid var(--hap-primary)!important;border-radius:0!important}
.hap-plan .hap-toolbar__filter{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important}
.hap-plan .hap-filter{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:0!important;padding:10px 15px!important;appearance:none!important;-webkit-appearance:none!important;border:1px solid var(--hap-primary)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;color:var(--hap-primary)!important;font-family:inherit!important;font-size:13.5px!important;font-weight:650!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;text-decoration:none!important;cursor:pointer!important;transition:background-color .18s,color .18s,border-color .18s!important}
.hap-plan .hap-filter:hover,.hap-plan .hap-filter:focus-visible,.hap-plan .hap-filter.is-active{background:var(--hap-primary)!important;color:#fff!important;border-color:var(--hap-primary)!important}
.hap-plan .hap-filter:focus-visible,.hap-plan .hap-card__ics:focus-visible{outline:2px solid var(--hap-primary)!important;outline-offset:3px!important}
.hap-plan .hap-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;width:100%!important;margin:0!important;padding:0!important}
.hap-plan .hap-card{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;align-items:stretch!important;min-height:222px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(82,94,72,.2)!important;border-top:4px solid var(--hap-primary)!important;border-radius:0!important;background:#fff!important;box-shadow:var(--hap-shadow)!important;color:inherit!important;text-align:left!important}
.hap-plan .hap-card[hidden],.hap-plan .hap-filter-empty[hidden]{display:none!important}
.hap-plan .hap-card__date{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;gap:2px!important;padding:18px 7px!important;background:var(--hap-soft)!important;border-right:1px solid var(--hap-light)!important;color:var(--hap-primary)!important;text-align:center!important}
.hap-plan .hap-card__weekday{display:block!important;font-size:11px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:.02em!important;max-width:100%;overflow-wrap:anywhere}
.hap-plan .hap-card__day{display:block!important;margin:4px 0 0!important;font-size:44px!important;line-height:1!important;font-weight:750!important;letter-spacing:-.055em!important;font-variant-numeric:tabular-nums!important}
.hap-plan .hap-card__month{display:block!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.055em!important}
.hap-plan .hap-card__content{display:flex!important;flex-direction:column!important;min-width:0!important;padding:21px 22px 18px!important}
.hap-plan .hap-card__top{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 12px!important;margin:0 0 10px!important}
.hap-plan .hap-card__brigade{font-size:12px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.065em!important;text-transform:uppercase!important;color:var(--hap-primary)!important}
.hap-plan .hap-card__next{display:inline-flex!important;align-items:center!important;margin-left:auto!important;padding:4px 7px!important;background:var(--hap-soft)!important;color:var(--hap-primary-dark)!important;font-size:10.5px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important}
.hap-plan .hap-card__title{margin:0 0 11px!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-family:inherit!important;font-size:19px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important;text-transform:none!important;overflow-wrap:anywhere!important}
.hap-plan .hap-card__note{margin:0 0 13px!important;padding:0!important;color:var(--hap-muted)!important;font-family:inherit!important;font-size:13.5px!important;line-height:1.55!important;overflow-wrap:anywhere}
.hap-plan .hap-card__footer{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin:auto 0 0!important;padding:13px 0 0!important;border-top:1px solid var(--hap-light)!important}
.hap-plan .hap-card__meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 17px!important;min-width:0!important}
.hap-plan .hap-card__meta-item{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;color:var(--hap-text)!important;overflow-wrap:anywhere!important}
.hap-plan .hap-card__meta-item svg,.hap-plan .hap-card__ics svg{display:block!important;width:17px!important;height:17px!important;min-width:17px!important;flex-shrink:0!important;color:var(--hap-primary)!important}
.hap-plan .hap-card__ics,.hap-plan .hap-card__ics:link,.hap-plan .hap-card__ics:visited{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--hap-primary)!important;font-family:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:650!important;text-decoration:none!important;white-space:nowrap!important}
.hap-plan .hap-card__ics:hover,.hap-plan .hap-card__ics:focus-visible{color:var(--hap-primary-dark)!important;text-decoration:underline!important;text-underline-offset:3px!important}
.hap-plan .hap-card__ics svg{width:15px!important;height:15px!important;min-width:15px!important}
.hap-plan .hap-all-empty,.hap-plan .hap-filter-empty{width:100%!important;margin:0!important;padding:24px!important;border:1px solid var(--hap-light)!important;border-left:4px solid var(--hap-primary)!important;border-radius:0!important;background:var(--hap-soft)!important;color:inherit!important;font:inherit!important}
.hap-plan .hap-all-empty{display:flex!important;align-items:flex-start!important;gap:16px!important}
.hap-plan .hap-all-empty__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;background:#fff;color:var(--hap-primary);border:1px solid var(--hap-light)}
.hap-plan .hap-all-empty__icon svg{width:22px;height:22px}
.hap-plan .hap-all-empty strong{display:block;font-size:16px;margin:0 0 3px}
.hap-plan .hap-all-empty p{margin:0!important;font-size:14px!important;line-height:1.5!important}
.hap-plan .hap-screen-reader{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1040px){.hap-plan .hap-grid{gap:16px!important}.hap-plan .hap-card{grid-template-columns:82px minmax(0,1fr)!important}.hap-plan .hap-card__date{padding:14px 5px!important}.hap-plan .hap-card__day{font-size:37px!important}.hap-plan .hap-card__content{padding:18px 17px 16px!important}.hap-plan .hap-card__title{font-size:17px!important}}
@media(max-width:760px){.hap-plan .hap-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}.hap-plan .hap-card{grid-template-columns:90px minmax(0,1fr)!important;min-height:185px!important}.hap-plan .hap-card__content{padding:20px!important}.hap-plan .hap-card__day{font-size:42px!important}.hap-plan .hap-card__title{font-size:18px!important}.hap-plan .hap-toolbar{margin-bottom:20px!important;padding:12px!important}}
@media(max-width:410px){.hap-plan .hap-toolbar__filter{gap:7px!important}.hap-plan .hap-filter{padding:9px 11px!important;min-height:40px!important;font-size:12.5px!important}.hap-plan .hap-card{grid-template-columns:72px minmax(0,1fr)!important}.hap-plan .hap-card__date{padding:13px 3px!important}.hap-plan .hap-card__day{font-size:35px!important}.hap-plan .hap-card__weekday{font-size:10px!important}.hap-plan .hap-card__month{font-size:12px!important}.hap-plan .hap-card__content{padding:16px 14px!important}.hap-plan .hap-card__title{font-size:16px!important}.hap-plan .hap-card__footer{gap:8px!important}.hap-plan .hap-card__meta-item{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.hap-plan .hap-filter{transition:none!important}}

.hap-plan .hap-card.is-next{box-shadow:0 12px 30px rgba(44,51,40,.13)!important}
.hap-plan .hap-card.is-next .hap-card__date{background:#EDF1E9!important}
@container (max-width:760px){.hap-plan .hap-grid{grid-template-columns:minmax(0,1fr)!important}.hap-plan .hap-card{grid-template-columns:90px minmax(0,1fr)!important}}
@container (max-width:420px){.hap-plan .hap-card{grid-template-columns:72px minmax(0,1fr)!important}.hap-plan .hap-card__content{padding:16px 14px!important}.hap-plan .hap-card__day{font-size:35px!important}.hap-plan .hap-card__title{font-size:16px!important}}

/* 1.0.8: Eigenständige Kartenhöhe. Keine globalen :has-Regeln für fremde
   Elementor-Abschnitte. Der echte Layoutfehler wird im Frontend gemessen. */
.hap-plan,
.elementor-widget-haehnichen_ausbildungsplan > .elementor-widget-container {
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
.hap-plan .hap-grid {
  align-content:start!important;
  grid-auto-rows:max-content!important;
}
@media(max-width:760px) {
  .hap-plan .hap-grid {
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:16px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .hap-plan .hap-grid > .hap-card:not([hidden]) {
    display:flex!important;
    flex-direction:row!important;
    flex:0 0 auto!important;
    align-items:stretch!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
  }
  .hap-plan .hap-card__date {
    display:flex!important;
    flex:0 0 90px!important;
    width:90px!important;
    height:auto!important;
    min-height:0!important;
  }
  .hap-plan .hap-card__content {
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    width:0!important;
    height:auto!important;
    min-height:0!important;
  }
  .hap-plan .hap-card__footer {margin:14px 0 0!important;}
  .elementor-widget-haehnichen_ausbildungsplan {
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex-grow:0!important;
    flex-shrink:0!important;
    align-self:stretch!important;
  }
}
@media(max-width:410px) {
  .hap-plan .hap-card__date{flex-basis:72px!important;width:72px!important;}
}
@container(max-width:760px) {
  .hap-plan .hap-grid {
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:16px!important;
    height:auto!important;
    min-height:0!important;
  }
  .hap-plan .hap-grid > .hap-card:not([hidden]) {
    display:flex!important;
    flex-direction:row!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
  }
  .hap-plan .hap-card__content{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    width:0!important;
    min-height:0!important;
    height:auto!important;
  }
  .hap-plan .hap-card__footer{margin:14px 0 0!important;}
}
@container(max-width:410px) {
  .hap-plan .hap-card__date{flex:0 0 72px!important;width:72px!important;}
}
