
/* Stedinger Archiv v05.65.04
   Frontend-Header und Navigation.
   Eigene Datei absichtlich zur sicheren Cache-Aktualisierung. */

.public-header-v056504{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
  background:#fbfaf6!important;
  border:0!important;
  box-shadow:none!important;
}
.public-header-row-v056504{
  width:min(1460px,calc(100% - 32px));
  margin:0 auto;
  padding:12px 0 10px;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:32px!important;
}
.public-brand-v056504{
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  text-decoration:none!important;
}
.public-brand-copy-v056504{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.public-brand-copy-v056504 b{
  margin:0!important;
  color:var(--accent,#244f59)!important;
  font-family:var(--front-heading-font,Georgia,serif)!important;
  font-size:clamp(1.65rem,2.1vw,2.25rem)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.public-brand-copy-v056504 small{
  color:#68756f!important;
  font-size:.76rem!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.public-tools-v056504{
  justify-self:end!important;
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.public-tool-v056504,
.public-mobile-toggle-v056504{
  min-height:38px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(36,79,89,.24)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#244f59!important;
  text-decoration:none!important;
  font-size:.88rem!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:0 1px 2px rgba(0,0,0,.025)!important;
}
.public-tool-v056504:hover,
.public-mobile-toggle-v056504:hover{
  background:#f1f6f5!important;
  border-color:rgba(36,79,89,.42)!important;
}
.public-tool-backend-v056504{
  background:#244f59!important;
  border-color:#244f59!important;
  color:#fff!important;
}
.public-tool-backend-v056504:hover{
  background:#1d434c!important;
  color:#fff!important;
}
.public-tool-icon-v056504{
  display:inline-grid!important;
  place-items:center!important;
  width:16px!important;
  height:16px!important;
  font-size:.8rem!important;
}
.public-mobile-toggle-v056504{display:none!important}

/* Logo: the configured value must win over all historic fixed-size rules. */
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.public-header-v056504 .public-logo-v056504{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}

/* Navigation is a separate, calm row. */
.public-mainnav-v056504{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border-top:1px solid rgba(36,79,89,.12)!important;
  border-bottom:1px solid rgba(36,79,89,.16)!important;
  box-shadow:0 2px 8px rgba(30,55,48,.035)!important;
  overflow:visible!important;
  position:relative!important;
  z-index:60!important;
}
.public-mainnav-inner-v056504{
  width:min(1460px,calc(100% - 32px));
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:2px!important;
  overflow:visible!important;
}
.public-mainnav-link-v056504{
  position:relative!important;
  min-height:48px!important;
  padding:0 15px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#365e66!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  text-decoration:none!important;
  font-size:.89rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.public-mainnav-link-v056504:hover,
.public-mainnav-link-v056504.active,
.public-nav-group-v056504.open>.public-mainnav-link-v056504{
  background:#f1f6f5!important;
  color:#123f49!important;
}
.public-mainnav-link-v056504.active::after,
.public-nav-group-v056504.open>.public-mainnav-link-v056504::after{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  bottom:0!important;
  height:3px!important;
  background:#244f59!important;
  border-radius:3px 3px 0 0!important;
}
.public-nav-group-v056504{position:relative!important}
.public-nav-arrow-v056504{
  font-size:.68rem!important;
  opacity:.6!important;
  transition:transform .15s ease!important;
}
.public-nav-group-v056504.open .public-nav-arrow-v056504{transform:rotate(180deg)!important}
.public-dropdown-v056504{
  display:none!important;
  position:absolute!important;
  top:calc(100% + 7px)!important;
  left:0!important;
  min-width:300px!important;
  width:max-content!important;
  max-width:min(580px,90vw)!important;
  padding:10px!important;
  background:#fff!important;
  border:1px solid rgba(36,79,89,.2)!important;
  border-radius:10px!important;
  box-shadow:0 14px 34px rgba(28,50,40,.15)!important;
  z-index:200!important;
}
.public-nav-group-v056504.open>.public-dropdown-v056504{display:block!important}
.public-nav-group-v056504:nth-last-child(-n+2)>.public-dropdown-v056504{left:auto!important;right:0!important}
.public-dropdown-heading-v056504{
  padding:3px 7px 9px!important;
  margin-bottom:5px!important;
  border-bottom:1px solid rgba(36,79,89,.11)!important;
  color:#244f59!important;
  font-size:.75rem!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
.public-dropdown-grid-v056504{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(145px,1fr))!important;
  gap:3px 7px!important;
}
.public-dropdown-grid-v056504 a{
  min-height:36px!important;
  padding:7px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  color:#2c4741!important;
  text-decoration:none!important;
  font-size:.84rem!important;
}
.public-dropdown-grid-v056504 a:hover,
.public-dropdown-grid-v056504 a.active{
  background:#f1f6f5!important;
  border-color:rgba(36,79,89,.1)!important;
  color:#123f49!important;
}

/* Tablet */
@media(max-width:980px){
  .public-header-row-v056504,
  .public-mainnav-inner-v056504{width:calc(100% - 24px)!important}
  .public-brand-copy-v056504 b{font-size:1.55rem!important}
  .public-mainnav-inner-v056504{overflow-x:auto!important}
  .public-mainnav-link-v056504{padding:0 11px!important;font-size:.84rem!important}
}

/* Mobile */
@media(max-width:820px){
  .public-header-row-v056504{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px!important;
    padding:9px 0!important;
  }
  .public-brand-copy-v056504 small{display:none!important}
  .public-tools-v056504 .public-tool-search-v056504{display:none!important}
  .public-mobile-toggle-v056504{display:inline-flex!important}
  .public-mainnav-v056504{display:none!important}
  .public-mainnav-v056504.mobile-open{display:block!important}
  .public-mainnav-inner-v056504{
    display:grid!important;
    grid-template-columns:1fr!important;
    overflow:visible!important;
    padding:8px 0 10px!important;
  }
  .public-mainnav-link-v056504{
    width:100%!important;
    min-height:44px!important;
    justify-content:space-between!important;
    border:1px solid rgba(36,79,89,.12)!important;
    border-radius:8px!important;
    margin-bottom:4px!important;
  }
  .public-mainnav-link-v056504.active::after,
  .public-nav-group-v056504.open>.public-mainnav-link-v056504::after{display:none!important}
  .public-nav-group-v056504{position:static!important}
  .public-dropdown-v056504,
  .public-nav-group-v056504:nth-last-child(-n+2)>.public-dropdown-v056504{
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:-1px 0 7px!important;
    box-shadow:none!important;
  }
}
@media(max-width:560px){
  .public-header-row-v056504{grid-template-columns:1fr!important}
  .public-tools-v056504{justify-self:start!important;margin-left:0!important}
  .public-brand-copy-v056504 b{white-space:normal!important;font-size:1.3rem!important}
  .public-dropdown-grid-v056504{grid-template-columns:1fr!important}
}


/* v05.65.05 – dynamische Logo-Maße über CSS-Variablen aus dem HTML-Template.
   Wichtig: statische CSS-Dateien können keine Jinja-Variablen auswerten. */
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  flex-basis:var(--sa-front-logo-w,184px)!important;
  overflow:visible!important;
}
.public-header-v056504 .public-logo-v056504,
.public-header-v056504 .brand-logo.public-logo-v056504,
.public-header-v056504 .brand-logo-clean.public-logo-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  object-fit:contain!important;
  transform:none!important;
}
.public-header-v056504 .public-header-row-v056504{
  min-height:calc(var(--sa-front-logo-h,116px) + 20px)!important;
}

/* Backend ebenfalls ohne Jinja in statischer CSS-Datei */
.backend-topbar .brand-logo-frame{
  width:var(--sa-back-logo-w,184px)!important;
  height:var(--sa-back-logo-h,116px)!important;
  min-width:var(--sa-back-logo-w,184px)!important;
  min-height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
  flex:0 0 var(--sa-back-logo-w,184px)!important;
}
.backend-topbar .brand-logo,
.backend-topbar .brand-logo-clean{
  width:auto!important;
  height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
}


/* v05.65.06 – Frontend Kopf-/Menübereich ca. 10 % höher und lesbarer */

/* Kopfzeile: etwa 10 % mehr vertikaler Raum ohne unnötige Leerräume. */
.public-header-v056504 .public-header-row-v056504{
  padding-top:14px!important;
  padding-bottom:12px!important;
  min-height:calc(var(--sa-front-logo-h,116px) + 30px)!important;
}

/* Branding etwas ruhiger und besser lesbar. */
.public-header-v056504 .public-brand-copy-v056504{
  gap:4px!important;
}
.public-header-v056504 .public-brand-copy-v056504 b{
  font-size:clamp(1.78rem,2.25vw,2.38rem)!important;
  line-height:1.03!important;
  letter-spacing:-.01em!important;
}
.public-header-v056504 .public-brand-copy-v056504 small{
  font-size:.80rem!important;
  line-height:1.2!important;
}

/* Suche / Backend geringfügig größer, passend zur höheren Kopfzeile. */
.public-header-v056504 .public-tool-v056504,
.public-header-v056504 .public-mobile-toggle-v056504{
  min-height:41px!important;
  padding-left:13px!important;
  padding-right:13px!important;
  font-size:.92rem!important;
  border-radius:9px!important;
}

/* Hauptnavigation: ca. 10 % höher und Schrift etwas größer. */
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:53px!important;
  padding-left:17px!important;
  padding-right:17px!important;
  font-size:.96rem!important;
  line-height:1.1!important;
  letter-spacing:.002em!important;
}
.public-header-v056504 .public-nav-arrow-v056504{
  font-size:.74rem!important;
  margin-left:2px!important;
}

/* Aktive Markierung proportional mitwachsen lassen. */
.public-header-v056504 .public-mainnav-link-v056504.active::after,
.public-header-v056504 .public-nav-group-v056504.open>.public-mainnav-link-v056504::after{
  left:14px!important;
  right:14px!important;
  height:3px!important;
}

/* Dropdowns an die etwas größere Navigation angleichen. */
.public-header-v056504 .public-dropdown-v056504{
  padding:12px!important;
  border-radius:11px!important;
}
.public-header-v056504 .public-dropdown-heading-v056504{
  font-size:.79rem!important;
  padding-bottom:10px!important;
}
.public-header-v056504 .public-dropdown-grid-v056504{
  gap:4px 9px!important;
}
.public-header-v056504 .public-dropdown-grid-v056504 a{
  min-height:39px!important;
  padding:8px 9px!important;
  font-size:.90rem!important;
  line-height:1.25!important;
}

/* Desktop: Navigation bleibt luftig, aber kompakt. */
@media(min-width:981px){
  .public-header-v056504 .public-mainnav-inner-v056504{
    gap:3px!important;
  }
}

/* Tablet: Vergrößerung etwas zurücknehmen, damit nichts gequetscht wirkt. */
@media(max-width:980px){
  .public-header-v056504 .public-header-row-v056504{
    padding-top:12px!important;
    padding-bottom:10px!important;
  }
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:50px!important;
    padding-left:13px!important;
    padding-right:13px!important;
    font-size:.90rem!important;
  }
  .public-header-v056504 .public-brand-copy-v056504 b{
    font-size:1.62rem!important;
  }
}

/* Mobil: Touch-Flächen größer, ohne unnötige Höhe. */
@media(max-width:820px){
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:48px!important;
    font-size:.94rem!important;
  }
  .public-header-v056504 .public-dropdown-grid-v056504 a{
    min-height:42px!important;
    font-size:.91rem!important;
  }
}


/* v05.65.07 – Headerhöhe folgt Logo; Navigation größer und kräftiger */

/* FRONTEND: Header grows and shrinks with configured logo height. */
.public-header-v056504 .public-header-row-v056504{
  height:auto!important;
  min-height:calc(var(--sa-front-logo-h,116px) + 28px)!important;
  padding:14px 0!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.public-header-v056504 .public-brand-v056504{
  min-height:var(--sa-front-logo-h,116px)!important;
}
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
}
.public-header-v056504 .public-logo-v056504{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* BACKEND: topbar grows and shrinks with its separately configured logo height. */
.backend-topbar{
  height:auto!important;
  min-height:calc(var(--sa-back-logo-h,116px) + 28px)!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.backend-topbar .brand,
.backend-topbar .backend-brand{
  min-height:var(--sa-back-logo-h,116px)!important;
  align-items:center!important;
}
.backend-topbar .brand-logo-frame{
  width:var(--sa-back-logo-w,184px)!important;
  height:var(--sa-back-logo-h,116px)!important;
  min-width:var(--sa-back-logo-w,184px)!important;
  min-height:var(--sa-back-logo-h,116px)!important;
  max-width:var(--sa-back-logo-w,184px)!important;
  max-height:var(--sa-back-logo-h,116px)!important;
  flex:0 0 var(--sa-back-logo-w,184px)!important;
}
.backend-topbar .brand-logo,
.backend-topbar .brand-logo-clean{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* FRONTEND navigation: larger, bolder and easier to scan. */
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:56px!important;
  padding-left:19px!important;
  padding-right:19px!important;
  font-size:1rem!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.public-header-v056504 .public-nav-arrow-v056504{
  font-size:.78rem!important;
  font-weight:800!important;
}
.public-header-v056504 .public-dropdown-heading-v056504{
  font-size:.82rem!important;
  font-weight:850!important;
}
.public-header-v056504 .public-dropdown-grid-v056504 a{
  min-height:41px!important;
  font-size:.93rem!important;
  font-weight:700!important;
}

/* Backend two-row navigation: larger and bolder as well. */
.backend-quicknav .backend-nav-label,
.backend-quicknav .nav-label,
.backend-quicknav a,
.backend-quicknav button{
  font-size:.95rem!important;
  font-weight:750!important;
}
.backend-quicknav .backend-nav-item,
.backend-quicknav .nav-item,
.backend-quicknav>a,
.backend-quicknav>button{
  min-height:52px!important;
}

/* Header action controls scale gently with the larger header. */
.public-header-v056504 .public-tool-v056504,
.public-header-v056504 .public-mobile-toggle-v056504,
.backend-topbar .backend-actions a,
.backend-topbar .backend-actions button{
  font-weight:750!important;
}

/* Tablet/mobile: keep dynamic header but limit extra padding. */
@media(max-width:980px){
  .public-header-v056504 .public-header-row-v056504{
    min-height:calc(var(--sa-front-logo-h,100px) + 20px)!important;
    padding:10px 0!important;
  }
  .backend-topbar{
    min-height:calc(var(--sa-back-logo-h,100px) + 20px)!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:52px!important;
    padding-left:14px!important;
    padding-right:14px!important;
    font-size:.94rem!important;
    font-weight:800!important;
  }
}
@media(max-width:820px){
  .public-header-v056504 .public-mainnav-link-v056504{
    min-height:49px!important;
    font-size:.96rem!important;
  }
}


/* v05.65.08 – Frontend-Header folgt derselben Größenlogik wie Backend.
   Die Headerhöhe wird direkt aus der konfigurierten Logo-Höhe abgeleitet. */

/* FRONTEND TOPBAR */
.public-header-v056504{
  height:auto!important;
  min-height:var(--sa-front-header-h,156px)!important;
  overflow:visible!important;
}
.public-header-v056504 .public-header-row-v056504{
  height:var(--sa-front-header-h,156px)!important;
  min-height:var(--sa-front-header-h,156px)!important;
  max-height:none!important;
  padding:20px 0!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.public-header-v056504 .public-brand-v056504{
  height:var(--sa-front-logo-h,116px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-height:none!important;
  align-items:center!important;
}
.public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  flex:0 0 var(--sa-front-logo-w,184px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.public-header-v056504 .public-logo-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
  object-fit:contain!important;
  display:block!important;
}

/* BACKEND: same 40px safety margin, so both headers behave identically. */
.backend-topbar{
  height:var(--sa-back-header-h,156px)!important;
  min-height:var(--sa-back-header-h,156px)!important;
  max-height:none!important;
  padding-top:20px!important;
  padding-bottom:20px!important;
  box-sizing:border-box!important;
}

/* Frontend menu remains below the logo topbar and is visibly stronger. */
.public-header-v056504 .public-mainnav-v056504{
  min-height:58px!important;
}
.public-header-v056504 .public-mainnav-inner-v056504{
  min-height:58px!important;
}
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:58px!important;
  font-size:1.02rem!important;
  font-weight:800!important;
  padding-left:20px!important;
  padding-right:20px!important;
}

/* On desktop, title may scale a little with the larger header without competing with logo. */
@media(min-width:981px){
  .public-header-v056504 .public-brand-copy-v056504 b{
    font-size:clamp(1.9rem,2.35vw,2.5rem)!important;
    font-weight:700!important;
  }
  .public-header-v056504 .public-brand-copy-v056504 small{
    font-size:.84rem!important;
  }
}

/* Mobile/tablet: still follows logo, with a smaller safety margin. */
@media(max-width:980px){
  .public-header-v056504{
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
  }
  .public-header-v056504 .public-header-row-v056504{
    height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    padding:12px 0!important;
  }
  .backend-topbar{
    height:calc(var(--sa-back-logo-h,100px) + 24px)!important;
    min-height:calc(var(--sa-back-logo-h,100px) + 24px)!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
}


/* =====================================================================
   v05.66.00 – Frontend-Gesamtoptimierung
   Ziel: ruhiger, klarer, hochwertiger, lesbarer und mobil konsistenter.
   ===================================================================== */

body:not(.admin-body){
  background:#f6f4ee!important;
  color:#24342e!important;
}

/* Öffentlicher Inhaltsbereich */
body:not(.admin-body) main,
body:not(.admin-body) .container,
body:not(.admin-body) .page{
  max-width:1460px;
}
body:not(.admin-body) main{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Einheitliche Inhaltsabstände */
body:not(.admin-body) .content,
body:not(.admin-body) .page-content,
body:not(.admin-body) .public-content{
  padding-top:22px!important;
  padding-bottom:34px!important;
}

/* Überschriften und Seitenköpfe */
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3{
  color:#244f59;
}
body:not(.admin-body) h1{
  font-size:clamp(1.85rem,2.6vw,2.65rem);
  line-height:1.08;
  letter-spacing:-.02em;
}
body:not(.admin-body) h2{
  font-size:clamp(1.35rem,2vw,1.85rem);
  line-height:1.15;
}
body:not(.admin-body) .pagehead,
body:not(.admin-body) .page-head{
  margin:0 0 20px!important;
  padding:18px 20px!important;
  background:#fff!important;
  border:1px solid rgba(36,79,89,.12)!important;
  border-radius:14px!important;
  box-shadow:0 5px 18px rgba(31,53,46,.045)!important;
}
body:not(.admin-body) .pagehead p,
body:not(.admin-body) .page-head p{
  max-width:850px;
  color:#64736d!important;
  line-height:1.55;
}

/* Karten / Panels */
body:not(.admin-body) .panel,
body:not(.admin-body) .card,
body:not(.admin-body) .sa-card,
body:not(.admin-body) .sa-mini-card,
body:not(.admin-body) .record-card,
body:not(.admin-body) .archive-card{
  background:#fff!important;
  border:1px solid rgba(36,79,89,.12)!important;
  border-radius:14px!important;
  box-shadow:0 5px 18px rgba(31,53,46,.05)!important;
}
body:not(.admin-body) .sa-card,
body:not(.admin-body) .sa-mini-card,
body:not(.admin-body) .record-card,
body:not(.admin-body) .archive-card{
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
body:not(.admin-body) .sa-card:hover,
body:not(.admin-body) .sa-mini-card:hover,
body:not(.admin-body) .record-card:hover,
body:not(.admin-body) .archive-card:hover{
  transform:translateY(-2px);
  border-color:rgba(36,79,89,.23)!important;
  box-shadow:0 9px 24px rgba(31,53,46,.08)!important;
}

/* Startseiten-Kacheln */
body:not(.admin-body) .sa-grid,
body:not(.admin-body) .card-grid,
body:not(.admin-body) .tile-grid{
  gap:16px!important;
}
body:not(.admin-body) .sa-card{
  padding:18px!important;
}
body:not(.admin-body) .sa-card h2,
body:not(.admin-body) .sa-card h3{
  margin-top:0!important;
  margin-bottom:7px!important;
}
body:not(.admin-body) .sa-card p{
  color:#65746e!important;
  line-height:1.5!important;
}

/* Buttons */
body:not(.admin-body) button,
body:not(.admin-body) .button,
body:not(.admin-body) .btn{
  min-height:40px;
  border-radius:9px!important;
  font-weight:700!important;
}
body:not(.admin-body) .button.primary,
body:not(.admin-body) .btn-primary,
body:not(.admin-body) button[type="submit"]{
  box-shadow:0 2px 5px rgba(36,79,89,.12);
}

/* Formulare */
body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea{
  min-height:42px!important;
  border:1px solid rgba(36,79,89,.22)!important;
  border-radius:9px!important;
  background:#fff!important;
}
body:not(.admin-body) textarea{min-height:110px!important}
body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus{
  outline:2px solid rgba(36,79,89,.16)!important;
  border-color:#5e848b!important;
  box-shadow:0 0 0 3px rgba(36,79,89,.05)!important;
}
body:not(.admin-body) label{
  font-weight:700!important;
  color:#365149!important;
}

/* Suchbereiche */
body:not(.admin-body) .search-box,
body:not(.admin-body) .search-panel,
body:not(.admin-body) form.search{
  background:#fff!important;
  border:1px solid rgba(36,79,89,.12)!important;
  border-radius:13px!important;
  padding:14px!important;
}

/* Tabellen */
body:not(.admin-body) .table-wrap{
  border:1px solid rgba(36,79,89,.12)!important;
  border-radius:12px!important;
  overflow:auto!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(31,53,46,.035)!important;
}
body:not(.admin-body) table{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body:not(.admin-body) th{
  background:#f2f5f2!important;
  color:#27473f!important;
  font-size:.82rem!important;
  letter-spacing:.025em;
  text-transform:none!important;
}
body:not(.admin-body) th,
body:not(.admin-body) td{
  padding:11px 12px!important;
}
body:not(.admin-body) tbody tr:hover{
  background:#f8faf8!important;
}

/* Listen */
body:not(.admin-body) .list,
body:not(.admin-body) .result-list{
  gap:10px!important;
}
body:not(.admin-body) .list-item,
body:not(.admin-body) .result-item{
  background:#fff!important;
  border:1px solid rgba(36,79,89,.11)!important;
  border-radius:10px!important;
  padding:12px 14px!important;
}

/* Badges / Meta */
body:not(.admin-body) .badge,
body:not(.admin-body) .pill,
body:not(.admin-body) .tag{
  border-radius:999px!important;
  font-weight:700!important;
  padding:.28rem .55rem!important;
}

/* Bilder */
body:not(.admin-body) img{
  max-width:100%;
}
body:not(.admin-body) .hero img,
body:not(.admin-body) .card img,
body:not(.admin-body) .sa-card img{
  border-radius:10px;
}

/* Breadcrumbs / sekundäre Navigation */
body:not(.admin-body) .breadcrumbs,
body:not(.admin-body) .breadcrumb{
  font-size:.84rem!important;
  color:#6c7974!important;
  margin-bottom:12px!important;
}
body:not(.admin-body) .breadcrumbs a,
body:not(.admin-body) .breadcrumb a{
  color:#456b72!important;
}

/* Footer */
body:not(.admin-body) footer,
body:not(.admin-body) .footer{
  margin-top:32px!important;
  border-top:1px solid rgba(36,79,89,.12)!important;
  background:#f1efe9!important;
}

/* Frontend Header weiter harmonisieren */
.public-header-v056504{
  background:#faf8f2!important;
}
.public-header-v056504 .public-header-row-v056504{
  width:min(1460px,calc(100% - 40px))!important;
}
.public-header-v056504 .public-mainnav-inner-v056504{
  width:min(1460px,calc(100% - 40px))!important;
}
.public-header-v056504 .public-mainnav-v056504{
  background:#fff!important;
  border-top:1px solid rgba(36,79,89,.11)!important;
  border-bottom:1px solid rgba(36,79,89,.16)!important;
}
.public-header-v056504 .public-mainnav-link-v056504{
  border-radius:8px!important;
  margin:5px 1px!important;
  min-height:48px!important;
}
.public-header-v056504 .public-mainnav-link-v056504.active,
.public-header-v056504 .public-nav-group-v056504.open>.public-mainnav-link-v056504{
  background:#edf4f2!important;
}

/* Öffentliche Tool-Buttons oben rechts */
.public-header-v056504 .public-tool-v056504{
  min-height:40px!important;
  font-weight:750!important;
  border-radius:9px!important;
}
.public-header-v056504 .public-tool-search-v056504{
  background:#fff!important;
}
.public-header-v056504 .public-tool-backend-v056504{
  background:#244f59!important;
  color:#fff!important;
}

/* Zugänglichkeit */
body:not(.admin-body) a:focus-visible,
body:not(.admin-body) button:focus-visible,
body:not(.admin-body) input:focus-visible,
body:not(.admin-body) select:focus-visible,
body:not(.admin-body) textarea:focus-visible{
  outline:3px solid rgba(36,79,89,.28)!important;
  outline-offset:2px!important;
}

/* Responsive */
@media(max-width:980px){
  body:not(.admin-body) .pagehead,
  body:not(.admin-body) .page-head{
    padding:15px 16px!important;
  }
  body:not(.admin-body) .sa-grid,
  body:not(.admin-body) .card-grid,
  body:not(.admin-body) .tile-grid{
    gap:12px!important;
  }
}
@media(max-width:700px){
  body:not(.admin-body) .content,
  body:not(.admin-body) .page-content,
  body:not(.admin-body) .public-content{
    padding-top:14px!important;
    padding-bottom:24px!important;
  }
  body:not(.admin-body) h1{font-size:1.75rem!important}
  body:not(.admin-body) h2{font-size:1.35rem!important}
  body:not(.admin-body) .panel,
  body:not(.admin-body) .card,
  body:not(.admin-body) .sa-card{
    border-radius:11px!important;
  }
  body:not(.admin-body) th,
  body:not(.admin-body) td{
    padding:9px 10px!important;
  }
}


/* v05.66.01 – Header-Autorität:
   öffentliche Einzelseiten dürfen die dynamische Logo-/Headergröße nicht mehr verkleinern. */
html body .public-header-v056504.public-top{
  height:auto!important;
  min-height:var(--sa-front-header-h,156px)!important;
  padding:0!important;
}
html body .public-header-v056504 .public-header-row-v056504{
  height:var(--sa-front-header-h,156px)!important;
  min-height:var(--sa-front-header-h,156px)!important;
  padding:20px 0!important;
}
html body .public-header-v056504 .public-brand-v056504{
  min-width:0!important;
  min-height:var(--sa-front-logo-h,116px)!important;
}
html body .public-header-v056504 .public-logo-frame-v056504{
  width:var(--sa-front-logo-w,184px)!important;
  height:var(--sa-front-logo-h,116px)!important;
  min-width:var(--sa-front-logo-w,184px)!important;
  min-height:var(--sa-front-logo-h,116px)!important;
  max-width:var(--sa-front-logo-w,184px)!important;
  max-height:var(--sa-front-logo-h,116px)!important;
}
html body .public-header-v056504 .public-logo-v056504,
html body .public-header-v056504 .brand-logo.public-logo-v056504{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
}
html body .public-header-v056504 .public-mainnav-v056504{
  min-height:58px!important;
}
html body .public-header-v056504 .public-mainnav-link-v056504{
  min-height:58px!important;
  font-size:1.02rem!important;
  font-weight:800!important;
}

@media(max-width:980px){
  html body .public-header-v056504.public-top{
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
  }
  html body .public-header-v056504 .public-header-row-v056504{
    height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    min-height:calc(var(--sa-front-logo-h,100px) + 24px)!important;
    padding:12px 0!important;
  }
}


/* v05.66.02 – Frontend Navigation & Inhaltsdarstellung */
.public-header-v056504 .public-mainnav-inner-v056504{display:flex!important;align-items:stretch!important;gap:6px!important}
.public-header-v056504 .public-mainnav-link-v056504{
  min-height:60px!important;padding:0 21px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;font-size:1.03rem!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap!important
}
.public-header-v056504 .public-mainnav-link-v056504:hover{background:#f0f5f3!important}
.public-header-v056504 .public-mainnav-link-v056504.active{background:#e7f0ed!important}
.public-header-v056504 .public-nav-arrow-v056504{margin-left:5px!important;opacity:.72}
.public-header-v056504 .public-dropdown-v056504{
  min-width:330px!important;max-width:620px!important;padding:14px!important;border-radius:12px!important;
  border:1px solid rgba(36,79,89,.15)!important;box-shadow:0 16px 38px rgba(31,53,46,.14)!important
}
.public-header-v056504 .public-dropdown-heading-v056504{margin-bottom:8px!important;padding:0 4px 10px!important;font-size:.81rem!important;font-weight:800!important}
.public-header-v056504 .public-dropdown-grid-v056504{gap:6px 10px!important}
.public-header-v056504 .public-dropdown-grid-v056504 a{
  min-height:43px!important;padding:9px 10px!important;font-size:.94rem!important;font-weight:700!important;line-height:1.25!important;border-radius:8px!important
}
.public-header-v056504 .public-dropdown-grid-v056504 a:hover{background:#edf4f2!important}

body:not(.admin-body) main,
body:not(.admin-body) .main,
body:not(.admin-body) .content-wrap{
  width:min(1460px,calc(100% - 40px))!important;margin-left:auto!important;margin-right:auto!important
}
body:not(.admin-body) main > * + *,
body:not(.admin-body) .public-content > * + *{margin-top:18px}
body:not(.admin-body) .section,
body:not(.admin-body) .content-section{margin-bottom:22px!important}
body:not(.admin-body) .archive-item,
body:not(.admin-body) .person-card,
body:not(.admin-body) .place-card,
body:not(.admin-body) .building-card,
body:not(.admin-body) .subject-card{
  background:#fff!important;border:1px solid rgba(36,79,89,.12)!important;border-radius:12px!important;
  padding:15px!important;box-shadow:0 4px 14px rgba(31,53,46,.045)!important
}
body:not(.admin-body) .detail-grid,
body:not(.admin-body) .info-grid,
body:not(.admin-body) .facts-grid{gap:14px!important}
body:not(.admin-body) .detail-box,
body:not(.admin-body) .info-box,
body:not(.admin-body) .fact-box{
  background:#fff!important;border:1px solid rgba(36,79,89,.11)!important;border-radius:11px!important;padding:14px!important
}
body:not(.admin-body) dt{font-weight:800!important;color:#365149!important}
body:not(.admin-body) dd{margin-bottom:9px!important;color:#33433d!important}
body:not(.admin-body) .empty-state,
body:not(.admin-body) .empty{
  background:#f7f8f5!important;border:1px dashed rgba(36,79,89,.19)!important;border-radius:10px!important;
  padding:13px 14px!important;color:#65736e!important
}
body:not(.admin-body) .pagination{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;margin-top:18px!important}
body:not(.admin-body) .pagination a,
body:not(.admin-body) .pagination span{
  min-width:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;border-radius:8px!important;font-weight:700!important
}
@media(max-width:1180px){
  .public-header-v056504 .public-mainnav-link-v056504{padding:0 15px!important;font-size:.96rem!important}
}
@media(max-width:820px){
  .public-header-v056504 .public-mainnav-inner-v056504{gap:0!important}
  .public-header-v056504 .public-mainnav-link-v056504{min-height:52px!important;justify-content:flex-start!important;padding:0 14px!important;font-size:.97rem!important}
  .public-header-v056504 .public-dropdown-v056504{min-width:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;border-radius:0!important}
}
@media(max-width:600px){
  body:not(.admin-body) main,body:not(.admin-body) .main,body:not(.admin-body) .content-wrap{width:min(100% - 20px,1460px)!important}
}
